:root { --ink: #15161f; --coral: #ff5a4e; --cream: #f7f2e8; --paper: #fffaf0; --line: rgba(21,22,31,.12); --mute: rgba(21,22,31,.62); --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.in { max-width: 1200px; margin: 0 auto; }
section { padding: 72px max(24px, env(safe-area-inset-left)); }
.eyebrow { font: 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
h1, h2, h3 { font-family: var(--sans); margin: 0; letter-spacing: -.03em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.05; font-weight: 800; }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0; }

/* nav */
.nav { border-bottom: 1px solid var(--line); padding: 0 max(24px, env(safe-area-inset-left)); }
.nav .in { min-height: 72px; display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding: 8px 0; }
.brand-link { display: flex; align-items: center; gap: 10px; flex-grow: 1; }
.brand-link img { width: 32px; height: 23px; }
.brand-link b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand-link span { font-size: 13px; color: var(--mute); border-left: 1px solid rgba(21,22,31,.25); padding-left: 10px; }
.nav-links { display: flex; gap: 8px 28px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: #d43a2f; }

/* hero */
.hero { padding-top: 80px; }
.hero .in { display: flex; gap: 56px; flex-wrap: wrap; align-items: center; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero .eyebrow { color: #b52f25; }
.hero h1 { font-size: clamp(42px, 7vw, 72px); line-height: .98; font-weight: 800; letter-spacing: -.04em; }
.lead { font-size: 18px; line-height: 1.6; max-width: 520px; color: rgba(21,22,31,.8); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1.5px solid var(--ink); }
.pill.solid { background: var(--ink); color: var(--cream); }
.pill.cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.pill:hover, .tile:hover, .sbtn:hover { opacity: .88; }
.hero-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.hero-tile { width: 100%; max-width: 440px; aspect-ratio: 1 / 1; background: var(--ink); border-radius: 48px; display: flex; align-items: center; justify-content: center; }
.hero-tile img { width: 62%; }

/* logo */
.logo-sec { border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.head-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.head-col { display: flex; flex-direction: column; gap: 12px; max-width: 580px; }
.note { max-width: 420px; color: rgba(21,22,31,.8); line-height: 1.6; }
.row { display: flex; gap: 20px; flex-wrap: wrap; }
.show { flex: 1 1 300px; min-width: 0; height: 240px; border-radius: 20px; display: flex; align-items: center; justify-content: center; position: relative; }
.show img { width: 120px; }
.show.light { background: var(--paper); border: 1px solid var(--line); }
.show.dark { background: var(--ink); }
.show.coral { background: var(--coral); }
.show small { position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: var(--mute); }
.show.dark small { color: rgba(247,242,232,.7); }
.show.coral small { color: #15161f; }
.rule-card { flex: 1 1 380px; min-width: 0; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.rule-card .txt { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rule-card p { color: rgba(21,22,31,.8); line-height: 1.55; font-size: 15px; }
.space { width: 140px; height: 140px; border: 1.5px dashed rgba(21,22,31,.4); border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--paper); flex-shrink: 0; }
.space img { width: 76px; }
.sizes { display: flex; align-items: flex-end; gap: 16px; height: 140px; flex-shrink: 0; }

/* color */
.color-sec { background: var(--ink); color: var(--cream); }
.color-sec .eyebrow { color: rgba(247,242,232,.7); }
.sw { min-width: 0; border-radius: 20px; padding: 28px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.sw b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.sw code { font: 13px/1.8 var(--mono); display: block; }
.sw.coral { flex: 2 1 360px; background: var(--coral); color: var(--ink); }
.sw.ink { flex: 1 1 220px; background: #0d0e14; border: 1px solid rgba(247,242,232,.2); color: rgba(247,242,232,.85); }
.sw.cream { flex: 1 1 220px; background: var(--cream); color: var(--ink); }
.color-sec .note-w { color: rgba(247,242,232,.8); max-width: 640px; }

/* sign in */
.signin-sec .head-col { max-width: 620px; }
.signin-sec .head-col p { color: rgba(21,22,31,.8); }
.opt { flex: 1 1 300px; min-width: 0; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 20px; background: var(--paper); }
.opt.darkbg { background: var(--ink); color: var(--cream); }
.opt small { font-size: 13px; color: var(--mute); }
.opt.darkbg small { color: rgba(247,242,232,.7); }
.sbtn { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; }
.sbtn img { width: 24px; height: 17px; }
.sbtn.dark { background: var(--ink); color: var(--cream); }
.sbtn.light { background: var(--cream); color: var(--ink); }
.sbtn.outline { border-color: var(--ink); color: var(--ink); }
.codebox { background: var(--ink); color: var(--cream); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.codebox .bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; font: 12px var(--mono); color: rgba(247,242,232,.7); }
.codebox button { font: 600 13px var(--sans); background: var(--cream); color: var(--ink); border: 0; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.codebox pre { margin: 0; font: 13px/1.7 var(--mono); overflow-x: auto; color: rgba(247,242,232,.9); }
.hint { font-size: 14px; color: var(--mute); }

/* rules */
.rules-sec { border-top: 1px solid var(--line); }
.col { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.col b { font-size: 14px; }
.col.do b { color: #0f6e32; }
.col.dont b { color: #c0302a; }
.col ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.col li { padding: 16px 0; border-bottom: 1px solid var(--line); }

/* download */
.dl-sec { background: var(--coral); }
.dl-sec .eyebrow { color: #15161f; }
.tile { flex: 1 1 260px; min-width: 0; background: var(--cream); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.tile b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.tile span { font-size: 14px; color: rgba(21,22,31,.8); }

/* footer */
.foot { background: var(--ink); color: var(--cream); padding: 40px max(24px, env(safe-area-inset-left)); }
.foot .in { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.foot .l { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(247,242,232,.8); }
.foot img { width: 28px; height: 20px; }
.foot nav { display: flex; gap: 24px; font-size: 14px; flex-wrap: wrap; }
.foot nav a:hover { color: var(--coral); }
@media (max-width: 640px) { section { padding-top: 48px; padding-bottom: 48px; } .hero { padding-top: 48px; } }
