@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/cinzel-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/oswald-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/oswald-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #070d1b;
  --panel: #101b31;
  --text: #f2f4fb;
  --muted: #b3bfd2;
  --line: #33415a;
  --blue: #80b4ff;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Manrope', Arial, sans-serif;
  --header-height: 72px;
  scrollbar-color: #586a87 var(--bg);
}
* {box-sizing: border-box}
html {scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height) + 16px);scrollbar-gutter:stable}
body {background:var(--bg);color:var(--text);margin:0;font:400 16px/1.55 var(--body);overflow-wrap:break-word}
a {color:inherit;text-decoration:none;text-underline-offset:.2em}
button,summary {font:inherit;cursor:pointer}
:focus-visible {outline:3px solid #abd9ff;outline-offset:4px}
::selection {background:#355999;color:#fff}
h1,h2,h3,p {margin:0}
.wrap {width:min(1460px, 90%);margin-inline:auto}
.ui-icon {width:18px;height:18px;flex:none}
.skip {position:fixed;left:1rem;top:-100px;padding:.75rem 1rem;background:#fff;color:#000;z-index:50}
.skip:focus {top:.5rem}
.site-header {position:sticky;top:0;z-index:10;background:#080e1b;border-bottom:1px solid #26344b}
.header-inner {height:var(--header-height);display:flex;align-items:center;gap:clamp(18px,3vw,52px)}
.brand {display:inline-flex;align-items:center;gap:10px;width:max-content;font:600 23px 'Cinzel',Georgia,serif;letter-spacing:.055em}
.emblem {width:40px;height:40px;border-radius:50%;flex:none}
.desktop-menu {margin-inline:auto;display:flex;align-items:center;gap:clamp(17px,2.15vw,38px)}
.desktop-menu a {position:relative;padding-block:19px;font-size:14px;font-weight:600;color:#c1cbdb}
.desktop-menu a[aria-current] {color:white}
.desktop-menu a[aria-current]::after {content:'';position:absolute;bottom:11px;left:calc(50% - 8px);width:16px;height:2px;background:#8fbfff}
.desktop-menu a:hover,.footer a:hover {color:#a5ceff}
.header-contact,.drawer-contact {display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:46px;border:1px solid #566784;padding:0 19px;border-radius:4px;font-size:14px;font-weight:700;transition:background .18s,border-color .18s}
.header-contact {min-height:44px}
.header-contact:hover,.drawer-contact:hover {background:#26344d;border-color:#a5b7d1}
#menu-toggle,#mobile-menu {display:none}
.hero {position:relative;width:100%;height:calc(100vh - var(--header-height) - 1px);height:calc(100dvh - var(--header-height) - 1px);background:#0a1121}
.hero video {display:block;width:100%;height:100%;object-fit:cover;object-position:center}
@media (max-width:980px), (orientation:portrait) {
  .hero {height:auto}
  .hero video {height:auto;aspect-ratio:1280/608;object-fit:contain}
}
.pathways {border-block:1px solid #354259;background:#10192b}
.pathways-inner {display:grid;grid-template-columns:1fr 1fr 1.15fr}
.pathway {display:flex;gap:17px;align-items:center;padding:19px clamp(18px,2.6vw,52px);border-inline-start:1px solid #303d54;transition:background .18s}
.pathway:last-child {border-inline-end:1px solid #303d54}
.pathway:hover {background:#182841}
.path-symbol {display:grid;place-items:center;width:44px;height:44px;background:#15243e;border:1px solid #425677;border-radius:4px;color:#b5ccef}
.path-symbol svg {width:26px;height:26px}
.pathway strong,.pathway small {display:block}
.pathway strong {font-size:18px;font-weight:700;line-height:1.28}.pathway small {color:#afbdd2;font-size:12px;margin-top:4px}
.pathway>.ui-icon {margin-left:auto;color:#9cabbe;width:15px}
.footer {background:#060b15;border-top:1px solid var(--line);color:var(--muted)}
.footer-grid {display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;padding-block:48px}
.footer .brand,.footer strong {color:var(--text)}
.footer-grid p {margin-top:15px;font-size:14px;line-height:1.65}
.footer nav {display:flex;align-items:flex-start;flex-direction:column;gap:5px;font-size:14px}
.footer nav strong {margin-bottom:7px}
.footer nav a {min-height:27px}
.footer .ui-icon {width:13px;height:13px}
.footer-link,.footer-end a {display:inline-flex;gap:8px;align-items:center}
.footer-end {border-top:1px solid #2a3548;display:flex;align-items:center;gap:28px;flex-wrap:wrap;padding-block:18px;font-size:13px}
.footer-end a:last-child {margin-left:auto}
@media(max-width:980px) {
  :root {--header-height:64px}
  .desktop-menu {display:none}
  .header-contact {margin-left:auto}
  #menu-toggle {width:44px;height:44px;display:grid;place-content:center;gap:5px;background:none;border:1px solid #53617b;border-radius:4px}
  #menu-toggle span {display:block;width:20px;height:1.5px;background:var(--text);transition:transform .18s,opacity .18s}
  #menu-toggle[aria-expanded=true] span:first-child {transform:translateY(6.5px) rotate(45deg)}
  #menu-toggle[aria-expanded=true] span:nth-child(2) {opacity:0}
  #menu-toggle[aria-expanded=true] span:last-child {transform:translateY(-6.5px) rotate(-45deg)}
  #mobile-menu:not([hidden]) {display:flex;position:fixed;top:var(--header-height);inset-inline:0;height:calc(100dvh - var(--header-height));overflow:auto;overscroll-behavior:contain;background:#0b1526;flex-direction:column;padding:12px 5% max(24px,env(safe-area-inset-bottom))}
  #mobile-menu a {display:flex;align-items:center;min-height:52px;padding-block:10px;border-bottom:1px solid #364257}
  #mobile-menu .drawer-contact {margin-top:16px;background:#1a2b48;border:1px solid #506587}
  .pathway {padding:16px;gap:12px}
  .pathway strong {font-size:16px}
}
@media(max-width:620px) {
  :root {--header-height:59px}
  .wrap {width:calc(100% - 36px)}
  .header-inner {gap:10px}
  .brand {font-size:19px;gap:7px}
  .emblem {width:34px;height:34px}
  .header-contact {padding:0 11px;font-size:12px;gap:6px;min-height:44px}
  #menu-toggle {border:0;flex:0 0 44px}
  .pathways-inner {width:100%;grid-template-columns:.86fr .86fr 1.28fr}
  .pathway {padding:11px 6px;text-align:center;justify-content:center;gap:0;border-inline-start:1px solid #334259}
  .pathway:first-child,.pathway:last-child {border-inline-end:0}
  .pathway:first-child {border-inline-start:0}
  .path-symbol,.pathway>.ui-icon {display:none}
  .pathway strong {font-size:13px}
  .pathway small {font-size:11px;margin-top:3px}
  .footer-grid {grid-template-columns:1fr 1fr;gap:22px;padding-block:32px}
  .footer-grid>div {grid-column:1/-1}
  .footer-end {gap:10px 15px}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  *,*::before,*::after {animation-duration:.01ms!important;transition-duration:.01ms!important}
}

@media (max-width:340px) {
  .header-inner {gap:4px}
  .header-contact {padding-inline:8px}
}

/* The catalogue's narrow rules and etched insignia echo the metalwork of the cover. */
.exam-catalog, .school-section, .experience-section {
  padding-block: clamp(54px, 6.2vw, 94px);
}
.exam-catalog { background: var(--bg); }
.catalog-ege { padding-top: clamp(42px, 4vw, 66px); }
.catalog-oge, .school-section, .experience-section {
  border-top: 1px solid var(--line);
}
.catalog-heading {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: clamp(22px, 2.2vw, 36px);
}
.catalog-heading h2, .school-section h2, .experience-section h2, .reviews-section h2 {
  font-family: var(--display); font-size: clamp(2.4rem, 4.7vw, 4.6rem);
  line-height: 1.04; letter-spacing: -.016em; font-weight: 600; margin: 0; text-wrap: balance;
}
.grade-label { font: 600 .78rem/1.4 var(--body); white-space: nowrap; color: #b9cbed; padding: 5px 10px; border: 1px solid #374965; border-radius: 4px; }
.school-intro > p {
  color: var(--muted); line-height: 1.6; margin: 0;
}
.plan-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 19px); }
.catalog-oge .plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan-card {
  --metal: #becada; --stroke: #42516a; --cap: #1c2639;
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: clamp(14px, 1.65vw, 26px); isolation: isolate;
  border: 1px solid var(--stroke); border-radius: 4px;
  background: linear-gradient(165deg, var(--cap), #0c1221 53%);
  transition: border-color .22s ease-out;
}
.plan-classic { --metal: #c6dced; --stroke: #4b617a; --cap: #263348; }
.plan-royal { --metal: #e6c48b; --stroke: #756345; --cap: #332e29; }
.plan-platinum { --metal: #a1e4ee; --stroke: #426877; --cap: #193546; }
.plan-imperial { --metal: #a7c8ff; --stroke: #4f72b6; --cap: #183d77; background: linear-gradient(150deg, var(--cap), #112244 52%, #101a2e); }
.plan-card::before {
  content: ''; position: absolute; inset: 0 12% auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--metal), transparent);
}
.plan-card:hover, .plan-card:focus-within { border-color: var(--metal); }
.plan-sigil { color: var(--metal, #9fb9df); width: 54px; height: 54px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.plan-art { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 51px; margin-bottom: 9px; }
.plan-art::before, .plan-art::after { content: ''; height: 1px; width: 20%; max-width: 34px; background: linear-gradient(90deg, transparent, var(--stroke)); }
.plan-art::after { transform: rotate(180deg); }
.plan-card h3, .regular-card h3 { font: 600 clamp(1.43rem, 1.72vw, 1.85rem)/1.13 'Cinzel', Georgia, serif; letter-spacing: -.035em; margin: 0; }
.plan-card h3 { min-height: 2.26em; color: var(--metal); }
.plan-identity + .plan-includes { margin-top: 12px; }
.plan-description { text-wrap: pretty; min-height: 3.1em; font: 600 .95rem/1.48 var(--body); margin: 14px 0; }
.plan-includes { padding: 0; margin: 0 0 24px; list-style: none; }
.plan-includes li { display: flex; gap: .65em; align-items: baseline; color: var(--muted); font-size: .91rem; line-height: 1.52; }
.plan-includes li + li { margin-top: .44em; }
.plan-includes li::before { content: ''; flex: 0 0 4px; height: 4px; background: var(--metal, #98add0); transform: translateY(-.18em) rotate(45deg); }
.plan-order { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--stroke); display: grid; gap: 12px; }
.plan-price { font: 650 clamp(1.4rem, 2vw, 1.95rem)/1.2 var(--body); letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.plan-buy, .catalog-text-link, .catalog-outline-link, .catalog-primary-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 44px; text-decoration: none; font: 600 .91rem/1.3 var(--body);
}
.link-arrow { width: 16px; height: 16px; flex: none; stroke: currentColor; stroke-width: 1.6; }
.plan-buy { justify-content: space-between; padding: .65em .85em; color: var(--text); border: 1px solid var(--stroke, var(--line)); background: rgb(170 195 235 / 5%); border-radius: 3px; }
.plan-buy:hover { border-color: var(--metal, #91bfff); background: rgb(180 204 240 / 12%); }
.plan-imperial .plan-buy { color: #edf5ff; background: #234a86; border-color: #5078ae; }
.plan-imperial .plan-buy:hover { background: #2d609f; }
.catalog-text-link { color: #b3d3ff; text-align: start; text-decoration: underline; text-underline-offset: .21em; text-decoration-color: #627a99; }
.catalog-text-link:hover { color: #fff; text-decoration-color: currentColor; }
.catalog-outline-link, .catalog-primary-link { text-align: center; padding: 12px 17px; border: 1px solid #536d95; border-radius: 4px; color: #ecf3ff; }
.catalog-outline-link:hover { background: #243752; border-color: #92afdc; }
.catalog-primary-link { background: #285fd1; border-color: #6499ff; color: white; }
.catalog-primary-link:hover { background: #356edc; }
.school-section { background: #0b1220; }
.school-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(34px, 6vw, 95px); align-items: start; }
.school-layout { grid-template-columns: 1.1fr .9fr; }
.school-intro > p { margin: 18px 0 22px; max-width: 46ch; }
.single-directions { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.single-directions summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .85rem; list-style: none; min-height: 48px; padding: 17px 2px; line-height: 1.4; color: var(--text); }
.single-directions summary { font-weight: 600; }
.single-directions summary::-webkit-details-marker { display: none; }
.single-directions summary:hover { color: #abcfff; }
.toggle-mark { width: 19px; height: 19px; flex: none; stroke: currentColor; stroke-width: 1.6; fill: none; transition: transform .2s ease-out; }
details[open] > summary .toggle-mark { transform: rotate(180deg); }
.single-content { padding-bottom: 15px; }
.single-content > p { font-size: .93rem; line-height: 1.55; color: var(--muted); margin: 0 0 12px; }
.direction-prices { margin: 0 0 8px; }
.direction-prices div { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.direction-prices dt { color: var(--muted); font-size: .94rem; }
.direction-prices dd { margin: 0; font-variant-numeric: tabular-nums; }
.regular-card { --metal: #aacceb; background: linear-gradient(145deg, #202f49, #101b2c 85%); border: 1px solid #495d78; padding: clamp(24px, 3.1vw, 42px); border-radius: 4px; }
.regular-title { display: flex; align-items: center; gap: 11px; color: #e1ebf7; }
.regular-title .plan-sigil { width: 41px; height: 41px; }
.regular-card h3 { font-size: 2.5rem; }
.regular-card .plan-includes { margin-top: 16px; }
.regular-order { border-top: 1px solid #43536c; padding-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.regular-order .plan-buy { min-width: 137px; }
.reviews-section { padding-bottom: clamp(52px, 6vw, 90px); }
.reviews-panel { display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: clamp(14px, 2vw, 30px); padding: clamp(20px, 3vw, 40px); background: linear-gradient(115deg, #162c50, #101b2d 60%); border: 1px solid #374d71; border-radius: 4px; }
.reviews-panel h2 { font-size: clamp(2.1rem, 3.3vw, 3.3rem); }
.reviews-seal { width: clamp(48px, 5vw, 72px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #6681a5; border-radius: 50%; background: #1b355b; }
.reviews-seal svg { width: 54%; stroke: #c5dcf7; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
@media (max-width: 1149px) {
  .plan-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .catalog-ege .plan-card { grid-column: span 2; }
  .catalog-ege .plan-card:nth-last-child(-n+2) { grid-column: span 3; }
  .catalog-ege .plan-card h3, .catalog-ege .plan-description { min-height: 0; }
}
@media (max-width: 820px) {
  .catalog-oge .plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .plan-card { padding: 20px; }
  .plan-art { min-height: 42px; margin-bottom: 10px; }
  .plan-sigil { width: 45px; height: 45px; }
  .plan-card h3 { min-height: 0; }
  .school-layout { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 659px) {
  .plan-grid, .catalog-oge .plan-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .catalog-ege .plan-card, .catalog-ege .plan-card:nth-last-child(-n+2) { grid-column: auto; }
  .plan-card { padding: 18px 20px; }
  .plan-identity { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 10px; }
  .plan-art { margin: 0; min-height: auto; }
  .plan-art::after, .plan-art::before { display: none; }
  .plan-card h3 { font-size: 1.92rem; }
  .plan-description { min-height: 0; margin: 7px 0 9px; }
  .plan-includes { margin-bottom: 15px; }
  .plan-includes li + li { margin-top: 2px; }
  .plan-order { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .plan-buy { min-width: 131px; }
  .catalog-heading { gap: 10px; }
  .grade-label { font-size: .74rem; }
}
@media (max-width: 479px) {
  .reviews-panel { grid-template-columns: auto 1fr; }
  .reviews-panel > a { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-card, .toggle-mark { transition: none; }
}

.article-wrap {max-width:1040px}
.article-wrap h2 {margin-bottom:clamp(28px,4vw,58px)}
.article-chapter {border-top:1px solid var(--line);transition:border-color .22s}
.article-chapter:last-child {border-bottom:1px solid var(--line)}
.article-chapter > summary {display:block;list-style:none;cursor:pointer;scroll-margin-top:12px}
.article-chapter > summary::-webkit-details-marker {display:none}
.article-chapter > summary h3 {display:grid;grid-template-columns:2ch minmax(0,1fr) 18px;align-items:baseline;gap:clamp(12px,2.2vw,28px);margin:0;padding:clamp(18px,2.6vw,31px) 4px;font:600 clamp(1.2rem,2.3vw,1.85rem)/1.32 var(--display);color:#d2ddeb;transition:color .22s}
.chapter-number {font:500 clamp(1rem,1.55vw,1.32rem)/1 var(--display);color:#9aafcb;font-variant-numeric:tabular-nums}
.chapter-arrow {width:10px;height:10px;align-self:center;justify-self:center;border:solid #99b6d9;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);transition:transform .22s}
.article-chapter[open] {border-color:#7498ca}
.article-chapter[open] > summary h3,.article-chapter > summary:hover h3 {color:#f4f8ff}
.article-chapter[open] .chapter-number {color:#a6ccff}
.article-chapter[open] .chapter-arrow {transform:rotate(225deg);border-color:#b8d8ff}
.article-chapter::details-content {display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .23s ease,opacity .2s ease,content-visibility .23s allow-discrete}
.article-chapter[open]::details-content {grid-template-rows:1fr;opacity:1}
.chapter-panel {min-height:0;overflow:hidden}
.chapter-body {display:flow-root;padding:0 5px clamp(24px,4vw,48px)}
@media(prefers-reduced-motion:reduce){
  .article-chapter,.article-chapter::details-content,.article-chapter > summary h3,.chapter-arrow {transition:none}
}
.article-chapter h4 {font:700 clamp(1.15rem,1.8vw,1.45rem)/1.3 var(--body);margin:2em 0 1em}
.article-wrap article p,.article-wrap article ol,.article-wrap article ul,.article-wrap article blockquote {max-width:70ch;font-size:1rem;line-height:1.77}
.article-wrap article p {margin-block:1em}
.article-wrap article p a {color:#b5d6ff;text-decoration:underline}
.article-wrap article p a:hover {color:white}
.article-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}
.article-gallery figure {margin:0;min-width:0}
.article-gallery figure:only-child {grid-column:1/-1;max-width:760px;width:100%}
.article-photo {position:relative;display:block;background:#10192b;border:1px solid var(--line);padding:8px;cursor:zoom-in}
.article-photo:hover {border-color:#8cb2e0}
.article-photo img {width:100%;height:auto;display:block}
.photo-zoom {position:absolute;right:10px;bottom:10px;background:#101c2e;border:1px solid #95a8c4;border-radius:4px;display:grid;place-items:center;padding:6px;color:#fff}
.article-viewer {width:min(1100px,96vw);max-width:100vw;max-height:95dvh;margin:auto;padding:0;color:var(--text);background:#0c1424;border:1px solid #65758e}
.article-viewer::backdrop {background:#040912ec}
.viewer-tools {display:flex;justify-content:flex-end;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--line)}
.viewer-tools button {color:var(--text);background:var(--panel);border:1px solid #6a7c96;border-radius:4px;min-height:44px;padding:5px 12px}
.viewer-tools button:hover:enabled {background:#263b58}
.viewer-canvas {height:min(78dvh,900px);width:100%;overflow:hidden;touch-action:none;overscroll-behavior:contain;user-select:none}
.viewer-canvas img {width:100%;height:100%;object-fit:contain;display:block}
.viewer-step {display:none;min-width:44px;font-size:1.25rem}
.viewer-tools button:disabled {opacity:.45;cursor:default}
@media (hover:hover) and (pointer:fine) { .viewer-step {display:inline-block} }
.viewer-canvas.is-zoomed {cursor:grab}
.viewer-canvas.is-zoomed:active {cursor:grabbing}
html:has(.article-viewer[open]) {overflow:hidden}
@media(max-width:680px){
  .article-gallery {grid-template-columns:1fr;gap:18px}
  .viewer-tools {flex-wrap:wrap;gap:6px;padding:8px}
  .viewer-tools button {font-size:.87rem}
  .article-viewer {width:calc(100vw - 12px)}
  .viewer-canvas {height:68dvh}
}

.article-wrap article {overflow-wrap:break-word}
.article-wrap article :is(p,li,blockquote) a {color:#b5d6ff;text-decoration:underline;text-underline-offset:.2em;overflow-wrap:anywhere}
.article-wrap article :is(p,li,blockquote) a:hover {color:white}
.article-chapter {scroll-margin-top:1rem}
.article-chapter p,.article-chapter li,.article-chapter blockquote,.article-conclusion p {color:#d7dfed}
.article-chapter ul {padding-inline-start:1.4rem}
.article-chapter li + li {margin-top:.65em}
.article-chapter blockquote {margin:1.2em 0;padding:.6em 1.2em;border-inline-start:2px solid #708ab1}
.article-format + .article-format {margin-top:2.5rem}
.article-gallery {margin-block:22px}
.article-conclusion {border-top:1px solid var(--line);padding-block:26px}
.article-conclusion h3 {font:600 clamp(1.6rem,3vw,2.2rem)/1.2 var(--display)}
.article-chapter .source-list {padding:0;list-style:none}
.article-chapter .source-list > li + li {margin-top:1em}

/* One native focus target covers each card, including its visible CTA. */
.regular-card { position: relative; isolation: isolate; }
.plan-buy::after { content: ''; position: absolute; inset: 0; border-radius: 4px; }
.plan-buy:focus-visible::after { outline: 2px solid var(--metal, #b5d1f1); outline-offset: 2px; }
html:has(#tariff-dialog[open]) { overflow: hidden; }
#tariff-dialog {
  width: min(820px, calc(100% - 48px)); max-width: none; padding: 0; margin: auto;
  border: 1px solid var(--stroke, #536582); border-radius: 12px; color: var(--text);
  background: #0d1627; box-shadow: 0 24px 90px #02060dc2, 0 0 28px #587ca519;
  overflow: hidden; max-height: none;
}
#tariff-dialog[open] { animation: tariff-enter .18s ease-out; }
#tariff-dialog::backdrop { background: rgb(3 7 15 / 78%); animation: tariff-shade .18s ease-out; }
#tariff-dialog.is-closing { animation: tariff-leave .13s ease-in forwards; }
#tariff-dialog.is-closing::backdrop { animation: tariff-shade .13s ease-in reverse forwards; }
.plan-simple { --metal: #becada; --stroke: #49586c; --cap: #202d41; }
.plan-regular { --metal: #b3cfe8; --stroke: #506481; --cap: #253852; }
.tariff-content { display: flex; flex-direction: column; max-height: min(88vh, 850px); max-height: min(88dvh, 850px); }
.tariff-reading { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-color: #526984 #101a2c; }
.tariff-reading:focus-visible { outline-offset: -4px; }
.tariff-close {
  position: absolute; z-index: 1; top: 16px; right: 16px; width: 44px; height: 44px;
  display: grid; place-items: center; border: 1px solid var(--stroke); border-radius: 50%;
  background: #101b2d; color: var(--metal);
}
.tariff-close:hover { border-color: var(--metal); color: white; }
.tariff-heading { position: relative; padding: 32px 82px 26px 40px; border-bottom: 1px solid var(--stroke); background: radial-gradient(ellipse at 0 0, var(--cap), transparent 75%), #111c30; }
.tariff-seal { width: 60px; height: 60px; margin-bottom: 18px; display: grid; place-items: center; border: 1px solid var(--stroke); border-radius: 50%; }
.tariff-seal .plan-sigil { width: 50px; height: 50px; }
.tariff-category, .tariff-order span { color: var(--metal); font-size: .76rem; line-height: 1.5; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.tariff-heading h2 { font: 600 clamp(2.2rem, 4.5vw, 3.75rem)/1.12 'Cinzel', Georgia, serif; letter-spacing: -.035em; margin: 5px 0 8px; }
.tariff-intro { color: #c5d2e8; }
.tariff-copy { padding: 4px 40px 8px; }
.tariff-block { padding: 19px 0; }
.tariff-block h3 { color: var(--metal); font: 550 1.22rem/1.35 var(--display); margin: 0 0 8px; }
.tariff-block p { color: #d5deed; font-size: 1rem; line-height: 1.65; }
.tariff-order { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 40px; border-top: 1px solid var(--stroke); background: #101b2c; }
.tariff-order strong { display: block; font-size: 1.75rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tariff-order a { min-width: 172px; gap: 18px; }
@keyframes tariff-enter { from { opacity: 0; transform: translateY(8px); } }
@keyframes tariff-leave { to { opacity: 0; transform: translateY(5px); } }
@keyframes tariff-shade { from { opacity: 0; } }
@media (max-width: 620px) {
  #tariff-dialog { width: 100%; height: 100vh; height: 100dvh; border: 0; border-radius: 0; }
  .tariff-content { height: 100%; max-height: none; }
  .tariff-reading { flex: 1; }
  .tariff-heading, .tariff-copy, .tariff-order { padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
  .tariff-heading { padding-top: calc(22px + env(safe-area-inset-top)); padding-bottom: 22px; }
  .tariff-close { top: calc(10px + env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
  .tariff-seal { width: 48px; height: 48px; margin-bottom: 14px; }
  .tariff-seal .plan-sigil { width: 39px; height: 39px; }
  .tariff-block { padding-block: 16px; }
  .tariff-order { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 12px max(14px, env(safe-area-inset-bottom)); }
  .tariff-order > div { display: flex; justify-content: space-between; align-items: center; }
  .tariff-order a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #tariff-dialog[open], #tariff-dialog[open]::backdrop { animation: none; }
}

.agreement {max-width:1160px;padding-block:clamp(36px,6vw,82px)}
.agreement-heading {padding-bottom:clamp(24px,4vw,46px);border-bottom:1px solid var(--line)}
.agreement-heading h1 {font:600 clamp(2rem,5.5vw,4.8rem)/1.12 var(--display);letter-spacing:-.02em}
.agreement-heading h1 span {color:#acc9e9}
.agreement-layout {display:grid;grid-template-columns:minmax(190px, .35fr) minmax(0, 1fr);align-items:start;gap:clamp(30px,6vw,84px);padding-top:clamp(28px,4vw,54px)}
.agreement-contents {position:sticky;top:calc(var(--header-height) + 24px)}
.agreement-contents h2 {font:600 1.35rem/1.3 var(--display)}
.agreement-contents ol {padding-left:1.6rem;margin:12px 0 0;list-style-type:decimal-leading-zero}
.agreement-contents li {padding:4px 0 4px .3em;color:var(--muted);font-size:.91rem;line-height:1.5}
.agreement-contents li::marker {color:var(--blue);font-variant-numeric:tabular-nums}
.agreement-contents a {display:block}
.agreement-contents a:hover {color:var(--text);text-decoration:underline}
.agreement-text {min-width:0;max-width:76ch;color:#d7e1ef;line-height:1.72}
.agreement-text h2 {color:var(--text);font:550 clamp(1.55rem,2.5vw,2.25rem)/1.24 var(--display);margin:0 0 .65em}
.agreement-text p,.agreement-text ul {margin:.9em 0}
.agreement-text ul {padding-inline-start:1.4em}
.agreement-text li + li {margin-top:.5em}
.agreement-text section + section,.agreement-contact {margin-top:2rem;padding-top:2rem;border-top:1px solid var(--line)}
.agreement-text a {color:#accfff;text-decoration:underline;text-underline-offset:.2em}
@media (max-width:760px), (max-height:540px) {
  .agreement-contents {position:static}
}
@media (max-width:760px) {
  .agreement-layout {grid-template-columns:minmax(0,1fr)}
  .agreement-contents {padding-bottom:20px;border-bottom:1px solid var(--line)}
}
