:root { --ink: #001A6E; --blue: #0070FF; --blue-dark: #005BD1; --cyan: #19D9F4; --band: #EAF4FF; --stone: #E5E7EB; --muted: #5B6470; --soft: #8A93A0; --night: #00052E; --good: #15803D; --good-bg: #E8F7EE; --warn: #92400E; --warn-bg: #FEF3C7; --error: #DC2626; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #fff; }
body { min-height: 100dvh; color: var(--ink); font: 400 17px/1.47 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; background: #fff; }
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
a { color: var(--blue-dark); text-underline-offset: 2px; }
.brand { font-size: 26px; font-weight: 800; letter-spacing: -.045em; color: var(--ink); text-decoration: none; white-space: nowrap; } .brand .you { color: var(--blue); } .brand .dot { color: var(--cyan); }
.brand .tag { margin-left: 12px; font-size: 13px; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
.muted { color: var(--muted); } .error { min-height: 1.4em; color: var(--error); font-size: 14px; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.link { padding: 0; border: 0; background: none; color: var(--blue-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* Sign-in gate */
.gate { display: grid; place-items: center; min-height: 100dvh; padding: 24px; background: var(--night) url("https://sueyou.app/assets/background.webp?v=1") center / cover no-repeat; }
.gate-card { display: grid; gap: 14px; width: min(460px, 100%); padding: 40px; border-radius: 24px; background: #fff; box-shadow: 0 40px 100px rgba(0, 6, 40, .55); }
.gate-card h1 { font-size: 32px; font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.gate-actions { display: grid; gap: 10px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--blue-dark); color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: #004AAD; } .btn.alt { border: 1px solid #cfd3da; background: #fff; color: var(--ink); } .btn.alt:hover { background: #f1f5fb; }

/* Shell */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--stone); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.topw { display: flex; align-items: center; gap: 24px; width: min(1240px, 100% - 48px); margin: 0 auto; min-height: 64px; }
.topnav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; } .topnav::-webkit-scrollbar { display: none; }
.topnav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.topnav a:hover { background: var(--band); color: var(--ink); } .topnav a[aria-current="true"] { background: var(--band); color: var(--blue-dark); }
.me { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.band { padding: 8px 24px; background: var(--ink); color: #fff; font-size: 13px; text-align: center; }
.page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; width: min(1240px, 100% - 48px); margin: 0 auto; padding: 32px 0 64px; }
.side { position: sticky; top: 80px; align-self: start; }
.side nav { display: grid; gap: 2px; } .side a { display: block; padding: 7px 12px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; text-decoration: none; }
.side a:hover { color: var(--ink); } .side a[aria-current="true"] { border-color: var(--blue); color: var(--ink); font-weight: 600; }
main { min-width: 0; }

/* Hero */
.hero { margin-bottom: 48px; padding: 44px; border-radius: 28px; background: var(--night) url("https://sueyou.app/assets/background.webp?v=1") center / cover no-repeat; color: #fff; }
.hero .kicker { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--cyan); text-transform: uppercase; }
.hero h1 { max-width: 15ch; margin: 10px 0 14px; font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.hero .lead { max-width: 58ch; font-size: 19px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.hero .stats { margin: 28px 0 0; } .hero .stat { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; } .hero .stat span { color: rgba(255, 255, 255, .78); }

/* Sections and blocks */
section { margin-bottom: 56px; scroll-margin-top: 90px; }
section > h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; } section > h2 .dot { color: var(--blue); }
section > .lead { max-width: 64ch; margin: 10px 0 22px; font-size: 18px; color: var(--muted); }
.block { margin-bottom: 22px; }
.block h3 { margin-bottom: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.text p { max-width: 68ch; margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { padding: 18px 20px; border-radius: 18px; background: var(--band); } .stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; } .stat span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); } .stat small { display: block; margin-top: 6px; font-size: 12px; color: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { padding: 20px; border: 1px solid var(--stone); border-radius: 18px; } .card h4 { margin-bottom: 6px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; } .card p { font-size: 15px; color: var(--muted); } .card .pill { margin-bottom: 10px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--band); color: var(--blue-dark); } .pill.good { background: var(--good-bg); color: var(--good); } .pill.warn { background: var(--warn-bg); color: var(--warn); }
.steps { display: grid; gap: 10px; counter-reset: step; } .step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--band); } .step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; } .step h4 { font-size: 16px; font-weight: 700; } .step p { font-size: 15px; color: var(--muted); }
.table { overflow-x: auto; border: 1px solid var(--stone); border-radius: 16px; } table { width: 100%; border-collapse: collapse; font-size: 15px; } th { padding: 10px 14px; text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--band); white-space: nowrap; } td { padding: 10px 14px; border-top: 1px solid var(--stone); vertical-align: top; } td:first-child { font-weight: 600; }
.list { padding-left: 22px; } .list li { max-width: 68ch; margin-bottom: 6px; }
.quote { padding: 22px 26px; border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; background: var(--band); font-size: 19px; font-weight: 500; letter-spacing: -.02em; } .quote footer { margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--muted); }
.timeline { display: grid; gap: 0; } .tl { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--stone); } .tl:first-child { border-top: 0; } .tl .when { font-size: 14px; font-weight: 600; color: var(--blue-dark); } .tl h4 { font-size: 16px; font-weight: 700; } .tl p { font-size: 15px; color: var(--muted); }
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; } .lk { display: block; padding: 16px 18px; border: 1px solid var(--stone); border-radius: 16px; text-decoration: none; color: inherit; } .lk:hover { border-color: var(--blue); } .lk b { display: block; font-size: 16px; } .lk span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.note { padding: 12px 16px; border-radius: 14px; background: var(--warn-bg); color: var(--warn); font-size: 14px; }
.foot { width: min(1240px, 100% - 48px); margin: 0 auto; padding: 24px 0 48px; border-top: 1px solid var(--stone); font-size: 13px; line-height: 1.5; color: var(--muted); } .foot p { max-width: 90ch; margin-bottom: 8px; }
.skel { display: grid; gap: 14px; } .sk { display: block; height: 14px; border-radius: 7px; background: linear-gradient(100deg, #eef2f8 30%, #e2e8f2 50%, #eef2f8 70%); background-size: 220% 100%; animation: sk 1.4s linear infinite; } .sk.h { width: 40%; height: 28px; }
@keyframes sk { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 960px) { .page { grid-template-columns: 1fr; gap: 0; } .side { display: none; } .topnav { display: none; } .hero { padding: 28px; } .tl { grid-template-columns: 1fr; gap: 4px; } }
@media (max-width: 600px) { .topw, .page, .foot { width: calc(100% - 32px); } .me .link:first-child { display: none; } .brand .tag { display: none; } }
@media print { .top, .side, .band, #print, #signout { display: none !important; } .page { display: block; width: auto; padding: 0; } .hero { color: #000; background: none; border: 1px solid #000; } .hero .lead, .hero .stat span { color: #333; } .hero .stat { border-color: #999; } section { break-inside: avoid; } }
