:root {
    --paper: #f3f6ef;
    --ink: #18271d;
    --muted: #5d675e;
    --line: #d7dece;
    --forest: #1b2a1f;
    --cream: #f4f7f0;
    --lime: #d7edb3;
    --olive: #6d7f58;
    --video: #6d4f96;
    --video-wash: #f4eef8;
    --search: #3d5c2e;
    --search-wash: #eef4e6;
    --danger: #8f3926;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background: #fafafa;
    color: var(--ink);
    font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid #7359a6;
    outline-offset: 3px;
}
button, input { font: inherit; }
button { cursor: pointer; }
.skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.top, .foot {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
}
.top { min-height: 84px; }
.brand {
    color: var(--ink);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.06em;
    text-decoration: none;
}
.brand sup { font-size: 10px; margin-left: 2px; }
.top nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.login-sheet {
    background: #f6f3ea;
    border-radius: 0 0 44px 44px;
    padding: 28px 0 48px;
    position: relative;
    z-index: 1;
}
.stage {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    min-height: 640px;
    background: white;
    border: 1px solid rgba(24, 39, 29, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(24, 39, 29, 0.08);
}
.intro {
    padding: 64px 56px;
    background:
        radial-gradient(420px 220px at 0% 100%, rgba(215, 237, 179, 0.16), transparent 70%),
        var(--forest);
    color: var(--cream);
}
.eyebrow {
    margin: 0 0 22px;
    color: var(--lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
h1 {
    margin: 0 0 22px;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(46px, 6vw, 78px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.92;
}
h1 em { font-style: italic; color: var(--lime); }
.intro > p { max-width: 38ch; margin: 0 0 36px; color: #d5dece; font-size: 16px; line-height: 1.7; }
ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
ol li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #e7eee4;
    font-size: 15px;
}
ol span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: none;
    border: 1px solid rgba(215, 237, 179, 0.35);
    border-radius: 999px;
    color: var(--lime);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.panel { padding: 48px 44px 40px; }
.panel h2 { margin: 0; font-size: 22px; letter-spacing: -0.04em; }
.products { display: grid; gap: 12px; margin: 18px 0 28px; }
.product {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 84px;
    padding: 16px 18px;
    border: 1px solid transparent;
    border-radius: 18px;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease;
}
.product { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease; }
.product:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(24, 39, 29, 0.08); }
.product.video { background: var(--video-wash); border-color: #e3d7ee; }
.product.search { background: var(--search-wash); border-color: #d7e3cc; }
.product.video:hover { border-color: #c9b3de; }
.product.search:hover { border-color: #b7cba4; }
.mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--video);
    color: white;
    font-family: Georgia, serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
}
.product.search .mark { background: #d7e7b8; color: var(--search); }
.product-copy { display: grid; min-width: 0; }
.product-copy strong { font-size: 17px; letter-spacing: -0.03em; }
.product-copy small { color: var(--muted); font-size: 13px; }
.go { display: inline-flex; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.product:hover .go { transform: translateX(4px); }
.account-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 18px; padding: 4px; border-radius: 14px; background: #e7eee0; }
.account-switch a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 11px; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--ink); }
.account-switch a[aria-current="page"] { background: white; }
.account-submit { width: 100%; margin-top: 18px; }
form { margin: 0; }
.form-kicker { margin: 0 0 8px; color: var(--olive); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.form-head h2 { margin-bottom: 6px; font-family: "Instrument Serif", Georgia, serif; font-size: 40px; font-weight: 400; letter-spacing: -0.04em; }
.form-head p, #link-help, .aside { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
label { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 700; }
.link-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
input {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #c9d2c2;
    border-radius: 12px;
    background: #fbfcf8;
    color: var(--ink);
}
input::placeholder { color: #8b9486; }
input[aria-invalid="true"] { border-color: var(--danger); background: #fff8f6; }
button {
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: var(--ink);
    color: white;
    font-weight: 700;
}
button:hover { background: #243628; }
.error { margin: 10px 0 0; color: var(--danger); font-size: 13px; font-weight: 600; }
#link-help { margin-top: 10px; }
.aside { margin-top: 22px; }
.aside a { font-weight: 700; }
.foot {
    min-height: 64px;
    color: var(--olive);
    font-size: 13px;
}
.foot a { color: var(--ink); font-weight: 650; }
@media (max-width: 860px) {
    .stage { grid-template-columns: 1fr; min-height: 0; }
    .intro, .panel { padding: 36px 24px; }
    h1 { font-size: clamp(42px, 12vw, 64px); }
}
@media (max-width: 560px) {
    .top, .foot, .stage { width: min(100% - 28px, 1120px); }
    .top { min-height: 64px; }
    .top nav { gap: 16px; }
    .link-row { grid-template-columns: 1fr; }
    .product {
        grid-template-columns: auto 1fr;
        grid-template-areas: "mark copy" "mark go";
        align-items: center;
    }
    .mark { grid-area: mark; }
    .product-copy { grid-area: copy; }
    .go { grid-area: go; }
    button, input { width: 100%; }
}

.atmosphere { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.atmosphere span { position: absolute; border-radius: 50%; filter: blur(46px); }
.atmosphere span:nth-child(1) { width: 460px; height: 460px; left: -120px; top: -140px; background: rgba(215, 237, 179, 0.7); animation: drift-a 18s ease-in-out infinite; }
.atmosphere span:nth-child(2) { width: 360px; height: 360px; right: -90px; top: 12%; background: rgba(109, 79, 150, 0.16); animation: drift-b 22s ease-in-out infinite; }
.atmosphere span:nth-child(3) { width: 300px; height: 300px; left: 38%; bottom: -140px; background: rgba(94, 121, 70, 0.14); animation: drift-c 20s ease-in-out infinite; }
.top, .stage, .foot { position: relative; z-index: 1; }
.top { animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.intro { animation: arrive-left 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s backwards; }
.panel { animation: arrive-right 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.16s backwards; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line > span, .line > em { display: block; animation: line-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.line + .line > span, .line + .line > em { animation-delay: 0.12s; }
.intro > p, .intro ol li, .panel > h2, .product, form, .aside { animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.intro > p { animation-delay: 0.28s; }
.intro ol li:nth-child(1) { animation-delay: 0.36s; }
.intro ol li:nth-child(2) { animation-delay: 0.44s; }
.intro ol li:nth-child(3) { animation-delay: 0.52s; }
.panel > h2 { animation-delay: 0.28s; }
.product:nth-child(1) { animation-delay: 0.36s; }
.product:nth-child(2) { animation-delay: 0.46s; }
form { animation-delay: 0.56s; }
.aside { animation-delay: 0.66s; }
button, .top nav a { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease; }
button:hover { transform: translateY(-2px); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes arrive-left { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes arrive-right { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(115%); } to { transform: none; } }
@keyframes drift-a { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(48px, 36px, 0) scale(1.08); } }
@keyframes drift-b { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-36px, 28px, 0) scale(1.06); } }
@keyframes drift-c { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(24px, -30px, 0) scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
    .atmosphere span, .top, .intro, .panel, .line > span, .line > em, .intro > p, .intro ol li, .panel > h2, .product, form, .aside { animation: none; }
    .product, .go, button, .top nav a { transition: none; }
    .line { overflow: visible; }
}
