:root {
    color-scheme: light;
    --paper: #f5f8fc;
    --ink: #172b46;
    --blue: #315db5;
    --gold: #f3cd79;
    --muted: #52637b;
    --line: #d7e0ed;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1.0625rem; line-height: 1.7; }
a { color: var(--blue); text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 5.7vw, 5.25rem); letter-spacing: -0.055em; margin: 0 0 1.6rem; font-weight: 650; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.035em; margin: 0 0 1.25rem; }
h3 { font-size: 1.5rem; letter-spacing: -0.025em; margin: 0 0 1rem; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.8rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; background: var(--ink); color: white; width: 36px; height: 36px; border-radius: 12px 12px 12px 3px; font-size: 1.4rem; line-height: 1; }
nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-size: 0.94rem; }
nav a:hover { text-decoration: underline; }
.skip-link { position: absolute; top: 0.5rem; left: 1rem; padding: 0.5rem 1rem; background: white; z-index: 5; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.studio-hero, .baku-hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 4rem; padding-block: 5rem 6rem; }
.hero-copy { position: relative; z-index: 1; }
.lead { font-size: clamp(1.12rem, 1.7vw, 1.35rem); line-height: 1.65; max-width: 48ch; color: var(--muted); }
.button { display: inline-block; padding: 0.8rem 1.3rem; border-radius: 9px; background: var(--blue); color: white; font-size: 1rem; font-weight: 600; text-decoration: none; margin-block: 0.5rem; }
.button:hover { background: #25498e; }
.text-link { font-weight: 650; }
.small { font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }
.studio-art { position: relative; display: grid; place-items: center; min-height: 360px; isolation: isolate; }
.studio-monogram { font-size: 14rem; font-weight: 700; line-height: 1; letter-spacing: -0.12em; padding-right: 0.12em; color: var(--blue); }
.studio-orbit { position: absolute; width: 310px; height: 310px; border: 1px solid #b5c6e3; border-radius: 50%; z-index: -1; }
.studio-dot { position: absolute; width: 64px; height: 64px; top: 1.5rem; right: 2.5rem; border-radius: 50%; background: var(--gold); }
.section { padding-block: 3.5rem; }
.section-heading { margin-bottom: 2rem; }
.section-heading p { color: var(--muted); }
.product-feature { display: grid; grid-template-columns: 1fr 1fr; background: #e7eef9; border-radius: 24px; overflow: hidden; }
.product-copy { padding: 3rem; align-self: center; }
.product-copy p { max-width: 38ch; }
.app-wordmark { display: block; font-size: 1.6rem; font-weight: 650; margin-bottom: 1.8rem; color: var(--blue); }
.night-scene { position: relative; min-height: 380px; background: #203c68; overflow: hidden; isolation: isolate; }
.moon { position: absolute; width: 126px; height: 126px; left: 42%; top: 18%; border-radius: 50%; background: var(--gold); }
.moon::after { content: ""; position: absolute; width: 112px; height: 112px; left: 37px; top: -17px; border-radius: 50%; background: #203c68; }
.star { position: absolute; width: 9px; height: 9px; background: #f9e9c3; border-radius: 2px; transform: rotate(45deg); }
.star-one { top: 20%; left: 20%; }
.star-two { top: 45%; right: 15%; width: 6px; height: 6px; }
.star-three { top: 53%; left: 33%; width: 5px; height: 5px; }
.horizon { position: absolute; bottom: -120px; left: -20%; width: 115%; height: 245px; background: #304f7e; border-radius: 50%; transform: rotate(14deg); }
.horizon-front { bottom: -168px; left: 22%; width: 120%; background: #456698; transform: rotate(-15deg); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-block: 2rem; }
.email-link { overflow-wrap: anywhere; font-weight: 600; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer p { flex-basis: 100%; color: var(--muted); font-size: 0.875rem; margin: 0; }
.baku-hero .night-scene { border-radius: 45% 45% 24px 24px; min-height: 470px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 2.5rem; }
.features p { color: var(--muted); }
.story-steps { padding-left: 1.5rem; column-gap: 4rem; }
.story-steps li { padding-left: 0.35rem; }
.story-steps li::marker { color: var(--blue); font-weight: 650; }
.faq { max-width: 70ch; }
.faq dt { margin-top: 2rem; }
.support-section { padding-bottom: 5rem; }
.support-section > p { max-width: 65ch; }
.resource-links { margin-top: 2rem; max-width: 700px; }
.resource-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); font-weight: 600; }
.resource-links span { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.document { max-width: 70ch; padding-block: 2.5rem 5rem; }
.document h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-top: 1.5rem; }
.document h2 { font-size: 1.5rem; margin-top: 2.7rem; }
.document li { margin-bottom: 0.75rem; }
.document ul, .document ol { padding-left: 1.5rem; }
.notice { border-left: 4px solid #b68627; background: #fff4d9; padding: 1.2rem 1.4rem; margin-block: 2rem; border-radius: 0 8px 8px 0; }
.notice p { font-size: 0.95rem; margin: 0.4rem 0 0; }
.back-link { font-size: 0.94rem; }
.retention dt { font-weight: 700; margin-top: 1.25rem; }
.retention dd { margin: 0.3rem 0 1rem; }
.request-box { padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: white; margin-block: 2rem; }
.request-box p:last-child { margin-bottom: 0; }
.not-found { padding-block: 6rem 8rem; min-height: 60vh; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
@media (max-width: 800px) {
    .studio-hero, .baku-hero { gap: 2rem; padding-block: 3rem; }
    .studio-art { min-height: 260px; }
    .studio-monogram { font-size: 10rem; }
    .studio-orbit { width: 235px; height: 235px; }
    .studio-dot { width: 45px; height: 45px; right: 0; }
    .product-copy { padding: 2rem; }
    .baku-hero .night-scene { min-height: 360px; }
    .features { gap: 1.5rem; }
    .contact { gap: 2rem; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 40px); }
    .site-header { padding-block: 1.25rem; gap: 0.75rem; }
    .site-header nav { gap: 1rem; }
    .brand { font-size: 0.95rem; gap: 0.5rem; }
    .brand-mark { width: 30px; height: 30px; }
    .studio-hero, .baku-hero, .product-feature, .contact, .features { grid-template-columns: 1fr; }
    .studio-hero { padding-bottom: 1rem; gap: 0.75rem; }
    .studio-art { min-height: 240px; }
    .studio-dot { right: 15%; }
    .section { padding-block: 2.5rem; }
    .product-copy { padding: 1.75rem; }
    .night-scene, .baku-hero .night-scene { min-height: 300px; }
    .contact { gap: 0.5rem; }
    .site-footer nav { gap: 0.9rem 1.3rem; }
    .document { padding-top: 1.5rem; }
    .request-box { padding: 1.1rem; }
}
