:root {
  --ink: #14233c;
  --muted: #637086;
  --paper: #fffdf9;
  --line: #e5e8ee;
  --navy: #112a46;
  --teal: #7b1f3a;
  --coral: #d96b5f;
  --gold: #e9b96e;
  --cloud: #f3f6f8;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(17, 42, 70, .10);
}

/* Shared publishing layout */
[hidden] { display:none !important; }
.brand-logo { width:44px; height:44px; object-fit:contain; border-radius:12px; flex:none; }
.search-shortcut { display:grid; place-items:center; width:42px; height:42px; background:var(--cloud); border-radius:50%; text-decoration:none; font-size:27px; flex:none; }
.hero-grid > * { min-width:0; }
.hero-visual img { width:100%; height:auto; }
.news-search { display:grid; gap:7px; min-width:260px; font-size:13px; font-weight:700; }
.news-search input { padding:13px 16px; border:1px solid #d4d7df; border-radius:12px; font:inherit; background:#fff; color:var(--ink); }
#result-count { color:var(--muted); font-size:13px; }
.more-wrap { text-align:center; margin-top:32px; }
.button { font:inherit; font-weight:750; cursor:pointer; }
.article-cover { margin:30px 0 40px; }
.article-cover .article-hero { margin:0; height:auto; aspect-ratio:auto; max-height:660px; object-fit:contain; background:#f5f1ed; }
.article-cover figcaption { color:var(--muted); font-size:13px; margin-top:8px; }
.article-layout > *, .article-content { min-width:0; overflow-wrap:anywhere; }
.article-content img { height:auto; max-width:100%; margin:24px auto; border-radius:14px; }
.article-content a { color:var(--teal); text-underline-offset:3px; }
.article-content table { display:block; max-width:100%; overflow:auto; border-collapse:collapse; font-size:15px; }
.article-content td, .article-content th { border:1px solid var(--line); padding:10px; }
.article-content h2 { scroll-margin-top:90px; }
.article-content p { margin:0 0 1.25em; }
.article-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:40px; font-family:system-ui,sans-serif; }
.updated-date { flex-basis:100%; font-size:12px; }
.related-link { display:block; margin:12px 0; padding:10px 0; border-bottom:1px solid var(--line); font-size:14px; text-decoration:none; }
.comment-section { max-width:760px; margin-top:55px; }
.comment-section form { display:grid; gap:16px; }
.comment-section label { display:grid; gap:5px; }
.comment-section input,.comment-section textarea { padding:12px; border:1px solid var(--line); border-radius:9px; font:inherit; }
.comment-section textarea { min-height:110px; }
.comment { padding:18px 0; border-bottom:1px solid var(--line); }
.comment p { white-space:pre-wrap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: #fff; border-radius: 10px; }
.skip:focus { top: 16px; }

.demo-bar {
  padding: 8px 20px;
  color: #fff;
  background: var(--teal);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,253,249,.94); border-bottom: 1px solid rgba(20,35,60,.08); backdrop-filter: blur(14px); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--navy); border-radius: 13px; font-weight: 900; box-shadow: 4px 4px 0 var(--coral); }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { color: var(--navy); font-size: 21px; letter-spacing: -.04em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 18px; }
.menu a { text-decoration: none; color: #35445b; font-size: 14px; font-weight: 750; }
.menu a:hover { color: var(--teal); }
.demo-bar a { text-decoration:none; }
.demo-bar a:hover strong { text-decoration:underline; text-underline-offset:3px; }
.demo-bar strong { white-space:nowrap; }
.menu a.app-discover { padding:10px 14px; color:#fff; background:var(--teal); border-radius:11px; white-space:nowrap; }
.menu a.app-discover:hover { background:#700930; }

.app-page { padding:60px 0 76px; }
.app-intro { display:grid; grid-template-columns:1.25fr .75fr; gap:60px; align-items:center; }
.app-intro h1 { max-width:720px; margin:0; font-size:clamp(36px,5vw,62px); line-height:1.12; }
.app-description { max-width:630px; margin:25px 0; font-size:19px; color:var(--muted); }
.app-intro .app-exams { display:block; margin:20px 0 0; color:var(--navy); }
.app-web { background:var(--teal); color:#fff; border-color:var(--teal); }
.app-brand-art { position:relative; display:grid; place-items:center; gap:23px; padding:48px 25px; isolation:isolate; }
.app-brand-art img { width:190px; height:190px; border-radius:44px; box-shadow:0 25px 60px #900b4030; transform:rotate(-6deg); }
.app-orbit { position:absolute; z-index:-1; inset:8px; border:1px solid #edd2db; border-radius:50%; background:radial-gradient(ellipse,#f7e6ed 0%,#fffdf9 70%); }
.app-brand-caption { color:var(--teal); font-weight:750; font-size:14px; }
.app-downloads { margin-top:64px; padding:32px; border-radius:24px; border:1px solid #e9dce1; background:#fff; display:flex; justify-content:space-between; align-items:center; gap:28px; }
.app-downloads h2 { margin:0; font-size:27px; }
.app-downloads p { margin:7px 0 0; color:var(--muted); }
.app-downloads .eyebrow { margin:0 0 8px; color:var(--teal); }
.store-buttons { display:flex; flex-wrap:wrap; gap:12px; }
.store-button { display:flex; align-items:center; gap:14px; min-width:220px; padding:15px 18px; border-radius:14px; text-decoration:none; color:#fff; background:var(--ink); }
.store-button small,.store-button strong { display:block; }
.store-button small { font-size:11px; opacity:.8; }
.store-button strong { font-size:18px; line-height:1.4; }
.store-icon { font-size:23px; }
.store-pending { background:#f2f0f2; color:#50505c; border:1px solid #e4dfe5; }
.soon { margin-left:auto; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.app-features { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; margin-top:44px; }
.app-features article { padding:24px 0; border-top:2px solid #e8d2da; }
.feature-number { color:var(--coral); font-size:13px; font-weight:900; }
.app-features h2 { margin:12px 0 8px; font-size:21px; }
.app-features p { color:var(--muted); margin:0; }
.app-screens { margin-top:45px; }
.app-screen-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.app-screen-grid img { width:100%; height:auto; border:1px solid #eed9e2; border-radius:22px; }
@media (max-width:620px) { .app-screen-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:16px; padding-bottom:14px; } .app-screen-grid img { flex:0 0 75%; width:75%; scroll-snap-align:start; } }
@media (max-width:1100px) and (min-width:901px) { .nav { gap:16px; } .menu { gap:12px; } .menu a { font-size:12px; } .brand-copy strong { font-size:19px; } }
@media (max-width:1000px) { .app-downloads { flex-direction:column; align-items:flex-start; } }
@media (max-width:620px) { .app-page { padding:36px 0 48px; } .app-intro { grid-template-columns:1fr; gap:16px; } .app-description { font-size:17px; } .app-brand-art { padding:24px; } .app-brand-art img { width:135px; height:135px; border-radius:30px; } .app-downloads { margin-top:28px; padding:23px; } .store-buttons,.store-button { width:100%; } .app-features { grid-template-columns:1fr; gap:0; margin-top:26px; } }
.nav-search { display: flex; align-items: center; gap: 8px; width: 230px; padding: 8px 12px; background: var(--cloud); border: 1px solid transparent; border-radius: 999px; }
.nav-search:focus-within { border-color: var(--teal); background: #fff; }
.nav-search svg { width: 17px; flex: 0 0 auto; color: var(--muted); }
.nav-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 13px; }
.nav-toggle { display: none; width: 43px; height: 43px; border: 0; border-radius: 12px; background: var(--cloud); color: var(--ink); font-size: 22px; }

.hero { padding: 70px 0 55px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 54px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--coral); border-radius: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
.hero h1 { max-width: 740px; margin: 0; font-size: clamp(39px, 5vw, 67px); }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-intro { max-width: 620px; margin: 23px 0 30px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 0 19px; border: 1px solid var(--navy); border-radius: 13px; text-decoration: none; font-weight: 850; }
.button.primary { color: #fff; background: var(--navy); box-shadow: 5px 5px 0 var(--gold); }
.button.secondary { border-color: var(--line); background: #fff; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -18px 35% 35% -25px; z-index: -1; background: var(--gold); border-radius: 50px; transform: rotate(-4deg); opacity: .58; }
.hero-visual img { aspect-ratio: 16 / 10.2; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.hero-badge { position: absolute; right: -18px; bottom: -23px; width: 156px; padding: 15px 17px; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow); font-size: 12px; font-weight: 800; }
.hero-badge strong { display: block; margin-top: 3px; color: var(--teal); font-size: 20px; }

.topic-strip { border-block: 1px solid var(--line); background: #fff; }
.topics { display: flex; align-items: center; gap: 10px; padding: 17px 0; overflow-x: auto; scrollbar-width: none; }
.topics::-webkit-scrollbar { display: none; }
.topic { flex: 0 0 auto; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: #425066; background: #fff; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; }
.topic.active, .topic:hover { color: #fff; background: var(--teal); border-color: var(--teal); }

.news-section { padding: 65px 0 80px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(29px, 4vw, 42px); }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(17,42,70,.045); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #cfe4e5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.025); }
.card-art { display: grid; place-items: center; height: 100%; color: #fff; background: linear-gradient(135deg, var(--navy), #285c75); font-weight: 950; font-size: 56px; letter-spacing: -.06em; }
.card-art.coral { background: linear-gradient(135deg, #d94f3d, #f4a256); }
.card-art.teal { background: linear-gradient(135deg, #056e77, #47b7aa); }
.tag { display: inline-flex; padding: 5px 9px; color: var(--teal); background: #e6f5f3; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.card-body { padding: 21px; }
.card h3 { margin: 12px 0 10px; font-size: 22px; }
.card h3 a { text-decoration: none; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #7b8494; font-size: 12px; font-weight: 700; }
.meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }
.empty { display: none; grid-column: 1/-1; padding: 45px; text-align: center; color: var(--muted); background: var(--cloud); border-radius: var(--radius); }

.trust { padding: 42px 0; background: var(--navy); color: #fff; }
.trust-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .8fr); gap: 32px; align-items: center; }
.trust h2 { margin: 0; font-size: 28px; }
.trust p { margin: 8px 0 0; color: #b9c6d5; font-size: 14px; }
.trust-stat { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.2); }
.trust-stat strong { display: block; color: var(--gold); font-size: 22px; }
.trust-stat span { color: #cad3dd; font-size: 12px; }

.site-footer { padding: 42px 0 22px; background: #0c2036; color: #c7d1dd; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h3 { margin: 0 0 12px; color: #fff; font-size: 15px; letter-spacing: 0; }
.site-footer p, .site-footer a { color: #aebdcd; font-size: 13px; }
.site-footer a { display: block; margin: 7px 0; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

.article-shell { padding: 58px 0 90px; }
.breadcrumbs { margin-bottom: 25px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--teal); text-decoration: none; font-weight: 750; }
.article-header { max-width: 880px; }
.article-header h1 { margin: 10px 0 19px; font-size: clamp(38px, 6vw, 68px); }
.article-deck { margin: 0 0 25px; color: var(--muted); font-size: 20px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.byline strong { color: var(--ink); }
.article-hero { width: 100%; margin: 35px 0 46px; aspect-ratio: 16/8.5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; justify-content: space-between; gap: 60px; }
.article-content { font-family: Georgia, "Times New Roman", serif; font-size: 18px; color: #29374b; }
.article-content > p:first-child { font-size: 21px; }
.article-content h2 { margin: 42px 0 14px; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 29px; }
.article-content li { margin-bottom: 8px; }
.download-box { margin: 28px 0; padding: 23px; background: #e9f5f4; border-left: 5px solid var(--teal); border-radius: 0 17px 17px 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.download-box strong { display: block; margin-bottom: 5px; font-size: 18px; }
.download-box .button { margin-top: 14px; }
.note { padding: 20px; background: #fff7e5; border: 1px solid #f1d49a; border-radius: 15px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 14px; }
.article-side { align-self: start; position: sticky; top: 105px; }
.side-box { margin-bottom: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.side-box h3 { margin: 0 0 9px; font-size: 17px; }
.side-box p { margin: 0; color: var(--muted); font-size: 13px; }
.side-box a { color: var(--teal); font-weight: 800; }

.page { min-height: 68vh; padding: 65px 0 90px; }
.page-narrow { max-width: 780px; }
.page h1 { margin: 0 0 20px; font-size: clamp(38px, 5vw, 58px); }
.page h2 { margin-top: 38px; font-size: 26px; }
.page p, .page li { color: #455368; }

@media (max-width: 900px) {
  .nav { min-height: 66px; }
  .nav-toggle { display: block; }
  .menu { display: none; position: absolute; left: 20px; right: 20px; top: 72px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .menu.open { display: grid; }
  .nav-search { width: min(230px, 38vw); }
  .hero { padding-top: 45px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-visual { max-width: 680px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .demo-bar { padding-inline: 12px; font-size: 11px; }
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: 17px; }
  .nav-search { width: 42px; padding: 10px 11px; }
  .nav-search input { display: none; }
  .hero { padding: 34px 0 42px; }
  .hero-grid { gap: 27px; }
  .hero h1 { font-size: 41px; }
  .hero-intro { margin: 18px 0 23px; font-size: 16px; }
  .hero-visual img { border-radius: 20px; }
  .hero-badge { right: 8px; bottom: -20px; }
  .news-section { padding: 45px 0 60px; }
  .section-head { display: block; }
  .section-head p { margin-top: 8px; }
  .news-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-stat { padding: 11px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .footer-grid { grid-template-columns: 1fr; gap: 23px; }
  .footer-bottom { display: block; }
  .article-shell { padding-top: 38px; }
  .article-header h1 { font-size: 39px; }
  .article-deck { font-size: 18px; }
  .article-hero { margin: 28px 0 32px; border-radius: 18px; aspect-ratio: 4/3; }
  .article-content { font-size: 17px; }
  .article-side { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

:root { --teal:#900b40; }
.card-media { background:#f5e9ef; }
.card-art { display:flex; flex-direction:column; gap:15px; background:linear-gradient(140deg,#4d1330,#921346); font-size:23px; }
.card-art img { width:72px; height:72px; border-radius:18px; }
.tag { background:#f8eaf0; }
.article-layout { margin-top:32px; }
.footer-bottom a { margin:0; }
@media(max-width:900px) { .nav { gap:14px; } }
@media(max-width:620px) {
  .nav { gap:10px; }
  .brand { gap:9px; }
  .brand-logo { width:36px; height:36px; border-radius:9px; }
  .brand-copy strong { font-size:17px; }
  .hero h1 { font-size:clamp(32px,8.6vw,41px); }
  .article-header h1 { font-size:clamp(29px,8.1vw,39px); overflow-wrap:anywhere; }
  .news-search { margin-top:22px; min-width:0; width:100%; }
  .nav-toggle { flex:none; width:38px; }
  .search-shortcut { width:34px; height:34px; }
}

@media (min-width:901px) and (max-width:1270px) {
  .nav { min-height:66px; }
  .nav-toggle { display:block; flex:none; }
  .menu { display:none; position:absolute; left:20px; right:20px; top:72px; padding:16px; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
  .menu.open { display:grid; }
}

.analytics-choice { position:fixed; bottom:18px; left:50%; transform:translateX(-50%); width:min(880px,calc(100% - 32px)); z-index:100; background:#fff; border:1px solid #e1d6da; border-radius:18px; padding:20px 24px; box-shadow:0 12px 60px #14233c33; display:flex; align-items:center; gap:24px; }
.analytics-choice strong { font-size:16px; }
.analytics-choice p { margin:6px 0 0; font-size:13px; line-height:1.6; color:var(--muted); }
.analytics-choice a { color:var(--teal); }
.analytics-choice-actions { display:flex; gap:10px; flex:none; }
.analytics-choice button { border:1px solid var(--teal); background:#fff; color:var(--teal); padding:10px 14px; border-radius:10px; font:inherit; font-size:14px; font-weight:750; cursor:pointer; }
.analytics-choice button[data-choice="granted"] { color:#fff; background:var(--teal); }
.analytics-preferences { background:none; border:0; padding:0; color:inherit; font:inherit; text-decoration:underline; cursor:pointer; }
@media(max-width:620px) { .analytics-choice { padding:17px; gap:14px; flex-direction:column; align-items:stretch; max-height:75vh; overflow:auto; } .analytics-choice-actions button { flex:1; } }
