* { box-sizing: border-box; }
:root {
    color-scheme: light;
    --ink: #101a2b;
    --muted: #526174;
    --line: #dbe2eb;
    --paper: #f6f8fb;
    --night: #101b30;
    --accent: #c7f86f;
    --blue: #2448a7;
    font-family: "Segoe UI", system-ui, sans-serif;
    line-height: 1.55;
}
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #688cff; outline-offset: 4px; }
h1, h2, h3, h4, p { margin: 0; overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.45rem; }
p { color: var(--muted); }
.shell { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 2; background: white; padding: .75rem; }
.skip:focus { top: 1rem; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.header-inner { min-height: 78px; flex-wrap: wrap; padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -.045em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--night); color: var(--accent); border-radius: .6rem; }
.header nav, .footer-links, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.15rem; }
.header nav a, .language, .footer-links a { text-decoration: none; font-size: .92rem; font-weight: 650; }
.header nav a { color: var(--muted); padding-block: .35rem; }
.header nav a[aria-current], .header nav a:hover, .footer a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .3rem; }
.language { padding: .35rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border: 1px solid transparent; border-radius: .6rem; padding: .72rem 1.05rem; font-weight: 700; text-decoration: none; text-align: center; }
.button.small { padding: .45rem .8rem; font-size: .92rem; }
.primary { background: var(--accent); color: #142113; }
.primary:hover { background: #b4eb56; }
.secondary { background: transparent; border-color: var(--line); color: inherit; }
.secondary:hover { background: #7c93af19; }
.hero, .page-hero { background: var(--night); color: white; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: clamp(1rem, 4vw, 4rem); padding-block: clamp(3.6rem, 7vw, 7rem); }
.hero h1 { max-width: 12ch; line-height: .99; }
.hero p, .page-hero p { color: #becce1; max-width: 57ch; margin-top: 1.2rem; font-size: clamp(1.02rem, 2vw, 1.2rem); }
.hero-actions { margin-top: 2rem; }
.hero .secondary { border-color: #65748c; }
.hero-art { position: relative; height: 370px; border-radius: 1.65rem; isolation: isolate; background: radial-gradient(ellipse at center, #324d7799, transparent 65%); }
.orbit { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: min(90%, 350px); aspect-ratio: 1; border: 1px solid #7187af65; border-radius: 50%; }
.orbit-inner { width: min(66%, 255px); border-style: dashed; }
.center-mark { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; display: grid; place-items: center; width: 110px; aspect-ratio: 1; border-radius: 28px; background: var(--accent); color: var(--night); font-size: 4.6rem; font-weight: 850; box-shadow: 0 0 55px #c7f86538; rotate: -11deg; }
.center-mark span { rotate: 11deg; }
.art-tile { position: absolute; display: flex; align-items: center; gap: .6rem; background: #233550; border: 1px solid #536987; border-radius: .8rem; padding: .55rem .85rem .55rem .55rem; color: white; font-size: .87rem; font-weight: 700; box-shadow: 0 10px 20px #0b122952; }
.art-1 { left: 3%; top: 22%; }
.art-2 { right: 1%; top: 40%; }
.art-3 { left: 18%; bottom: 12%; }
.art-icon, .product-mark { display: grid; place-items: center; width: 2rem; aspect-ratio: 1; border-radius: .5rem; background: #dce5ff; color: #23429b; font-weight: 800; }
.art-2 .art-icon, .product:nth-child(3n+2) .product-mark { background: #d5f2e6; color: #17664b; }
.art-3 .art-icon, .product:nth-child(3n+3) .product-mark { background: #eee3ff; color: #5f3595; }
.page-hero { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section { padding-block: clamp(2.5rem, 6vw, 4.8rem); }
.section-heading { margin-bottom: 1.55rem; flex-wrap: wrap; }
.section-heading p { margin-top: .6rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.panel { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 3vw, 1.75rem); }
.product { display: grid; align-content: start; justify-items: start; gap: .7rem; }
.product-mark { width: 2.7rem; margin-bottom: .2rem; }
.product p, .offer p, .record p { white-space: pre-wrap; }
.text-link { color: var(--blue); font-weight: 700; text-underline-offset: .22rem; }
.offer-list { width: 100%; display: grid; gap: .85rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: .4rem; }
.offer { display: grid; gap: .4rem; padding: .75rem; border-radius: .6rem; background: var(--paper); }
.callout { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.callout p, .reading p { margin-top: .7rem; }
.reading { max-width: 760px; }
.reading .text-link { display: inline-block; margin-top: 1rem; }
.stack, .form-card { display: grid; gap: 1rem; }
.form-card { max-width: 680px; }
.form-card .button { justify-self: start; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq .form-card { padding-top: 1rem; }
label { display: grid; gap: .35rem; font-weight: 650; }
input:not([type=checkbox]), textarea, select { width: 100%; min-width: 0; background: #fff; color: var(--ink); border: 1px solid #aab7ca; border-radius: .5rem; padding: .58rem .72rem; }
textarea { resize: vertical; }
.checkbox { display: flex; align-items: center; gap: .5rem; }
.checkbox input { width: 1.1rem; height: 1.1rem; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; }
.account-nav { margin-bottom: 1.35rem; }
.account-nav a[aria-current] { background: var(--night); color: white; border-color: var(--night); }
.subscription-period { display: flex; flex-wrap: wrap; gap: .45rem 1.15rem; margin: .25rem 0; }
.subscription-period dt { color: var(--muted); font-size: .87rem; }
.subscription-period dd { margin: 0; font-weight: 650; }
.subscription-cancel p { margin: .4rem 0 .65rem; }
.hint { color: var(--muted); font-size: .9rem; }
.record { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.record .actions, .admin-nav, .pager { margin-top: .75rem; }
.notices { padding-top: 1rem; }
.notice { padding: .7rem 1rem; border-radius: .45rem; background: #e1f4e4; color: #154925; }
.notice.error { background: #ffe6e6; color: #801c1c; padding-left: 2rem; }
.footer { border-top: 1px solid var(--line); background: white; padding-block: 1.8rem; }
.footer-inner { flex-wrap: wrap; }
.footer p { font-size: .92rem; margin-top: .45rem; }
@media (max-width: 980px) {
    .header nav { order: 3; width: 100%; }
}
@media (max-width: 700px) {
    .shell { width: calc(100% - 2rem); }
    .hero-grid, .account-grid { grid-template-columns: 1fr; }
    .hero-art { height: 280px; max-width: 390px; width: 100%; justify-self: center; }
    .orbit { width: min(76%, 265px); }
    .orbit-inner { width: min(57%, 190px); }
    .center-mark { width: 87px; font-size: 3.6rem; }
}
