:root {
    color-scheme: light;
    --navy: #101829;
    --navy-deep: #0c1322;
    --ink: #121c2d;
    --muted: #4f5d70;
    --light-muted: #b9c5d7;
    --orange: #ff9464;
    --accent: #9b3b18;
    --line: #dce3eb;
    --surface: #f2f5fa;
    --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    letter-spacing: 0;
    color: var(--ink);
    font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #5181d5; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 16px; top: 12px; transform: translateY(-200%); background: white; padding: 8px 12px; }
.skip:focus { transform: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.site-header, .site-footer { background: var(--navy-deep); color: white; }
.site-header { border-bottom: 1px solid #ffffff20; }
.navigation, .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
}
.brand { display: inline-block; flex: none; }
.navigation nav { display: flex; flex-wrap: wrap; gap: 28px; }
.navigation nav a, .site-footer a { text-decoration: none; }
.navigation nav a { color: #d8e0ec; font-size: .9375rem; font-weight: 550; }
.navigation nav a:hover, .site-footer a:hover { color: var(--orange); text-decoration: underline; }
.navigation .languages { gap: 8px; }
.languages a, .languages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    border-radius: 6px;
    font-size: .875rem;
}
.languages [aria-current] { background: #ffffff19; color: white; font-weight: 750; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--orange);
    color: var(--navy-deep);
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}
.button:hover { background: #ffb08a; }
.button.small { min-height: 42px; padding-inline: 14px; font-size: .875rem; }
.button.outline { border-color: #8190a9; color: white; background: transparent; }
.button.outline:hover { background: #ffffff16; }
.hero {
    padding: clamp(56px, 8vw, 114px) 0 clamp(60px, 8vw, 110px);
    background: radial-gradient(ellipse at 82% 42%, #263d62 0%, transparent 55%), var(--navy-deep);
    color: white;
}
.hero-grid { display: grid; grid-template-columns: .95fr 1.1fr; gap: clamp(28px, 4vw, 62px); align-items: center; }
.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--accent);
    font-size: .875rem;
    font-weight: 750;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.eyebrow span { width: 18px; height: 2px; background: currentColor; }
.hero .eyebrow, .support .eyebrow { color: var(--orange); }
h1 { font-size: clamp(2.5rem, 4.45vw, 4.5rem); line-height: 1.01; }
h1 em { color: var(--orange); font-style: normal; }
h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: 1.25rem; }
.lead { margin-top: 22px; max-width: 40ch; font-size: clamp(1rem, 1.5vw, 1.2rem); color: #d7e0ed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.audience { color: var(--light-muted); font-size: .875rem; margin-top: 18px; }
.product {
    background: #17263d;
    border: 1px solid #a9bcdf60;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 25px 72px #05091390;
}
.product-bar { display: flex; gap: 12px; align-items: center; padding: 12px 14px; color: #e0e9f7; font-size: .875rem; }
.window-dots { width: 6px; height: 6px; margin-right: 17px; border-radius: 50%; background: var(--orange); box-shadow: 9px 0 #a4b5cc, 18px 0 #a4b5cc; }
.product img { width: 100%; aspect-ratio: 1.92; object-fit: cover; object-position: top; }
.product figcaption { color: #ced9e9; font-size: .8125rem; padding: 8px 14px; }
.section { padding: clamp(58px, 7vw, 100px) 0; }
.intro { color: var(--muted); max-width: 66ch; margin-top: 16px; font-size: 1.0625rem; }
.workflow, .feature-grid, .plans { display: grid; gap: 18px; margin-top: 34px; }
.workflow, .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workflow { padding: 0; margin-bottom: 0; list-style: none; }
.workflow li, .feature-grid article { padding: 22px 0; border-top: 1px solid var(--line); }
.step { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 9px; background: #ffede3; color: var(--accent); font-weight: 750; }
.workflow p, .feature-grid p { margin-top: 10px; color: var(--muted); }
.situation, .pricing { background: var(--surface); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(24px, 6vw, 86px); }
.example, .plan, .comparison {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.example { padding: clamp(18px, 4vw, 34px); box-shadow: 0 10px 35px #253c5f12; }
.example-label { margin-bottom: 10px; color: var(--muted); font-size: .875rem; }
.example h3, .example dl div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.example strong, .example dd { white-space: nowrap; }
.example dd { font-weight: 650; }
.example dl div { border-top: 1px solid var(--line); padding: 9px 0; }
.progress { display: grid; grid-template-columns: 30fr 50fr 20fr; gap: 4px; margin: 22px 0 16px; }
.progress span { height: 7px; border-radius: 8px; background: #d06133; }
.progress span:nth-child(2) { background: #ff9464; }
.progress span:nth-child(3) { background: #ffcfb7; }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan { display: flex; flex-direction: column; padding: clamp(18px, 2.4vw, 28px); }
.plan.featured { border-color: #d06133; box-shadow: inset 0 3px #d06133; }
.plan h3 { font-size: 1.45rem; }
.plan p { color: var(--muted); margin-top: 9px; }
.plan .price { margin-top: 18px; }
.price strong { color: var(--ink); font-size: clamp(1.9rem, 3vw, 2.9rem); white-space: nowrap; }
.plan ul { padding-left: 19px; margin: 12px 0 24px; }
.plan li + li { margin-top: 6px; }
.plan li::marker { color: var(--accent); }
.plan .button { margin-top: auto; }
.plan:not(.featured) .button { border-color: #a0acbb; background: white; }
.plan:not(.featured) .button:hover { background: #fff0e8; }
.comparison { margin-top: 20px; padding: 16px 20px; }
.comparison summary { cursor: pointer; font-weight: 700; }
.comparison p { margin: 16px 0 12px; color: var(--muted); }
.comparison .scroll-hint { display: none; font-size: .875rem; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 560px; text-align: left; }
th, td { border-bottom: 1px solid var(--line); padding: 9px 12px; }
thead { background: var(--surface); }
.support { background: var(--navy); color: white; }
.support .intro { color: #d7e0ed; }
.booking { padding: 26px; border: 1px solid #ffffff3d; border-radius: var(--radius); }
.booking p { margin-bottom: 16px; }
.site-footer { border-top: 1px solid #ffffff20; }
.footer-inner { padding-block: 18px; flex-wrap: wrap; font-size: .875rem; color: var(--light-muted); }

@media (max-width: 1000px) {
    .wrap { width: calc(100% - 56px); }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .wrap { width: calc(100% - 36px); }
    .navigation { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-block: 13px; }
    .navigation .brand img { width: 132px; }
    .navigation nav { grid-column: 1 / -1; gap: 16px; }
    .navigation > .button { grid-column: 2; grid-row: 1; }
    .navigation nav a { display: inline-flex; min-height: 32px; align-items: center; font-size: .875rem; }
    .hero-grid, .split, .workflow, .plans { grid-template-columns: 1fr; }
    .hero-grid { gap: 34px; }
    .comparison .scroll-hint { display: block; }
    h1 { font-size: clamp(2.6rem, 8.5vw, 4rem); }
}

@media (max-width: 395px) {
    .feature-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

.legal-hero {
    padding: clamp(36px, 6vw, 80px) 0;
    background: radial-gradient(ellipse at top right, #263d62, transparent 60%), var(--navy-deep);
    color: white;
}
.legal-home { display: inline-block; margin-bottom: 18px; color: var(--orange); }
.legal-hero h1 { max-width: 24ch; font-size: clamp(2rem, 5vw, 4rem); }
.legal-hero p { margin-top: 18px; color: var(--light-muted); }
.legal-layout {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 75ch);
    gap: clamp(28px, 6vw, 80px);
    padding-block: clamp(32px, 6vw, 80px);
    align-items: start;
}
.legal-toc {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.legal-toc h2 { font-size: 1.25rem; }
.legal-toc ol { margin: 12px 0 0; padding-left: 24px; }
.legal-toc li + li { margin-top: 6px; }
.legal-toc a, .legal-content a { text-underline-offset: .18em; }
.legal-toc a:hover, .legal-content a { color: var(--accent); }
.legal-content section + section {
    border-top: 1px solid var(--line);
    margin-top: 29px;
    padding-top: 29px;
}
.legal-content h2 { max-width: none; font-size: clamp(1.375rem, 3vw, 2rem); scroll-margin-top: 20px; }
.legal-content p, .legal-content ul { margin-top: 13px; }
.legal-content ul { margin-bottom: 0; padding-left: 24px; }
.legal-content li + li { margin-top: 5px; }
.legal-note { padding: 13px 16px; background: #ffede3; border-left: 3px solid #d06133; }

@media (max-width: 760px) {
    .legal-layout { grid-template-columns: minmax(0, 1fr); }
}

.navigation nav a[aria-current] { color: var(--orange); text-decoration: underline; text-underline-offset: .55em; }

.editorial-hero {
    padding-block: clamp(36px, 6vw, 76px);
    background: radial-gradient(ellipse at top right, #263d62, transparent 60%), var(--navy-deep);
    color: white;
}
.editorial-hero h1 { max-width: 25ch; font-size: clamp(2rem, 5vw, 3.75rem); }
.editorial-hero p { max-width: 65ch; margin-top: 18px; color: var(--light-muted); }
.editorial-back { display: inline-block; margin-bottom: 18px; color: var(--orange); }

.guides {
    width: min(1468px, calc(100% - clamp(36px, 4.3vw, 66px)));
    padding-block: clamp(20px, 2vw, 28px) clamp(40px, 6vw, 80px);
}
.guides-header { margin-bottom: clamp(18px, 2vw, 25px); }
.guides-header h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.guides-header p { margin-top: 8px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); }

.guide-feature {
    display: grid;
    grid-template-columns: minmax(0, 59fr) minmax(0, 41fr);
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy-deep);
    color: white;
}
.guide-feature > img { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 2.55; object-fit: cover; }
.guide-feature-copy { align-self: center; padding: clamp(24px, 4vw, 56px); }
.guide-feature-copy h2 { max-width: none; margin-block: 14px; font-size: clamp(1.65rem, 3.3vw, 2.75rem); }
.guide-feature-copy p { color: #f0f3f9; }
.guide-feature-copy .guide-feature-label,
.guide-feature-copy a { color: var(--orange); font-weight: 700; }
.guide-feature-copy a { display: inline-block; margin-top: 20px; text-underline-offset: .2em; }

.guide-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 26px; }
.guide-filters a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    font-size: .9375rem;
    font-weight: 600;
}
.guide-filters a:hover { border-color: var(--accent); }
.guide-filters a[aria-current] { border-color: var(--orange); background: var(--orange); color: var(--navy-deep); }

.article-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.guide-card { height: 100%; }
.guide-card a {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    text-decoration: none;
}
.guide-card a:hover { border-color: var(--accent); }
.guide-card a:hover h2 { text-decoration: underline; text-underline-offset: .18em; }
.guide-card img { width: 100%; aspect-ratio: 2.3; object-fit: cover; }
.guide-card-copy { padding: 15px 17px 19px; }
.guide-card-copy h2 { max-width: none; font-size: clamp(1.125rem, 1.8vw, 1.45rem); }
.guide-card-copy p { margin-bottom: 6px; color: var(--muted); font-size: .9375rem; }
.guides-empty { padding: 22px 0 40px; color: var(--muted); }

@media (max-width: 850px) {
    .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .guide-feature, .article-list { grid-template-columns: minmax(0, 1fr); }
    .guide-feature > img { height: auto; min-height: 0; aspect-ratio: 1.8; }
}

.article-content {
    max-width: 75ch;
    padding-block: clamp(32px, 6vw, 76px);
}
.article-content section + section { margin-top: 36px; }
.article-content h2 { max-width: none; font-size: clamp(1.375rem, 3vw, 2rem); }
.article-content p, .article-content li + li { margin-top: 14px; }
.article-content ol { padding-inline-start: 24px; }
.article-content .example, .article-content figure { margin-block: 24px; }
.article-content figure img { border: 1px solid var(--line); border-radius: var(--radius); }
.article-content figcaption { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.article-related { margin-top: 18px; }
.article-related a, .article-content a { color: var(--accent); text-underline-offset: .18em; }
