/* Swipe&Wear landing — colors and fonts follow docs/brand.md */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --espresso: #1F1B17;
  --espresso-2: #2A251F;
  --cream: #FAF5EC;
  --lime: #D4FF3A;
  --olive: #4D6B00;
  --ink-muted: #5C544C;
  --cream-muted: rgba(250, 245, 236, 0.72);
  --line-dark: rgba(250, 245, 236, 0.14);
  --line-light: rgba(31, 27, 23, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--olive); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.visually-hidden, .hp {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; }
.amp { color: var(--olive); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font: 600 1rem/1 var(--sans);
  color: var(--espresso); background: var(--lime);
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212, 255, 58, .25); }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header + hero share the dark background */
.site-header { background: var(--espresso); color: var(--cream); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.site-header .amp, .hero .amp { color: var(--lime); }

.hero { background: var(--espresso); color: var(--cream); padding: 40px 0 88px; overflow: hidden; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.pill {
  display: inline-block; margin-bottom: 22px; padding: 6px 14px;
  font-size: .85rem; font-weight: 500;
  border: 1px solid var(--line-dark); border-radius: 999px; color: var(--cream-muted);
}
.hero h1 { max-width: 12ch; }
.lead { margin-top: 22px; max-width: 34em; color: var(--cream-muted); font-size: 1.1rem; }

.waitlist { margin-top: 34px; max-width: 520px; scroll-margin-top: 24px; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input[type="email"] {
  flex: 1 1 240px; min-height: 52px; padding: 0 20px;
  font: 400 1rem var(--sans); color: var(--cream);
  background: var(--espresso-2); border: 1px solid var(--line-dark); border-radius: 999px;
}
.waitlist input[type="email"]::placeholder { color: rgba(250, 245, 236, .45); }
.waitlist .btn { flex: 1 1 auto; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--lime); margin: 0; }
.fineprint { margin-top: 12px; font-size: .8rem; color: rgba(250, 245, 236, .6); }
.hero a { color: var(--lime); }
.form-status { margin-top: 12px; font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: var(--lime); }
.form-status.error { color: #FF9C8A; }

/* Phone mockup: an illustration of the swipe screen, not a real screenshot */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 250px; aspect-ratio: 9 / 19.5; padding: 9px;
  background: #0E0C0A; border-radius: 44px;
  box-shadow: 0 0 0 1px rgba(250, 245, 236, .18), 0 0 0 7px #2A251F, 0 40px 90px rgba(0, 0, 0, .55);
}
.screen {
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 10px 12px 16px;
  background: var(--cream); color: var(--espresso); border-radius: 36px; overflow: hidden;
}
.status-bar {
  display: flex; align-items: center; justify-content: space-between; padding: 0 10px;
  font-size: .72rem; font-weight: 600;
}
.camera { width: 10px; height: 10px; border-radius: 50%; background: #0E0C0A; }
.status-icons { width: 34px; height: 9px; border-radius: 3px; background: linear-gradient(90deg, var(--espresso) 70%, transparent 70%); opacity: .8; }
.app-bar { text-align: center; }
.app-bar .wordmark { font-size: 1.05rem; }
.app-bar .amp { color: var(--olive); }
.deck { position: relative; flex: 1; margin-bottom: 8px; }
.card { position: absolute; inset: 0; border-radius: 20px; }
.card-back { background: #CDBB9C; transform: rotate(-5deg); }
.card-front {
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, #F1E8D8 0%, #DCCAAE 100%);
  box-shadow: 0 10px 24px rgba(31, 27, 23, .18);
  animation: nudge 5s ease-in-out infinite;
}
.garment { position: absolute; left: 50%; top: 9%; width: 78%; transform: translateX(-50%); }
.garment path { fill: #2A251F; stroke: #2A251F; stroke-width: 2; stroke-linejoin: round; }
.garment .collar { fill: none; stroke: #4A423A; stroke-width: 3; }
.garment .shadow { fill: rgba(31, 27, 23, .18); }
.card-info {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column;
  padding: 36px 14px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(20, 17, 14, .78));
}
.card-info .shop { font-size: .6rem; letter-spacing: .14em; opacity: .75; }
.card-info .name { font-weight: 600; font-size: .92rem; }
.card-info .price { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.stamp {
  position: absolute; top: 16px; left: 14px; padding: 4px 10px;
  font: 700 .85rem var(--sans); letter-spacing: .12em; color: var(--espresso);
  background: var(--lime); border-radius: 8px; transform: rotate(-12deg);
  opacity: 0; animation: stamp 5s ease-in-out infinite;
}
.actions { display: flex; justify-content: center; align-items: center; gap: 16px; }
.action { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; }
.action svg { width: 21px; height: 21px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.action.skip { background: #fff; box-shadow: 0 0 0 1px var(--line-light); }
.action.skip svg { stroke: var(--espresso); }
.action.cart { width: 56px; height: 56px; background: var(--espresso); }
.action.cart svg { width: 24px; height: 24px; stroke: var(--cream); }
.action.like { background: var(--lime); }
.action.like svg { stroke: var(--espresso); fill: var(--espresso); }

@keyframes nudge {
  0%, 40%, 100% { transform: translateX(0) rotate(0); }
  55%, 70% { transform: translateX(26px) rotate(5deg); }
}
@keyframes stamp {
  0%, 45%, 85%, 100% { opacity: 0; }
  55%, 70% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-front, .stamp { animation: none; }
}

/* How it works */
.how, .why { padding: 96px 0; }
.how h2, .why h2 { max-width: 18ch; }
.gestures { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 20px; }
.gestures li { padding: 28px; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); }
.gesture-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; background: var(--lime); border-radius: 16px; }
.gesture-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--espresso); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gestures p, .why-item p { margin-top: 8px; color: var(--ink-muted); }

/* Why */
.why { padding-top: 0; }
.why-grid { margin-top: 48px; display: grid; gap: 36px 48px; }
.why-item { padding-top: 20px; border-top: 2px solid var(--espresso); }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-inner {
  padding: 64px 24px; text-align: center;
  background: var(--espresso); color: var(--cream); border-radius: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.cta p { max-width: 32em; color: var(--cream-muted); }
.cta-inner .btn { margin-top: 8px; }

/* Footer */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line-light); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .amp { color: var(--olive); }
.site-footer p { margin-top: 6px; color: var(--ink-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--espresso); }
.copyright { margin-top: 32px; font-size: .85rem; color: var(--ink-muted); }

/* Simple pages: thanks, 404, legal (step 1.3) */
.page { padding: 72px 0 96px; }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page p { margin-top: 18px; color: var(--ink-muted); }
.page .btn { margin-top: 32px; }

.legal h2 { margin-top: 44px; font-size: 1.6rem; }
.legal h3 { margin-top: 28px; font-size: 1.2rem; }
.legal p, .legal li, .legal address { color: var(--espresso); }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 1.3em; }
.legal li { margin-top: 6px; }
.legal address { margin-top: 14px; padding: 18px 20px; font-style: normal; background: #fff; border: 1px solid var(--line-light); border-radius: 14px; }
.legal .updated { margin-top: 10px; color: var(--ink-muted); font-size: .92rem; }

@media (min-width: 760px) {
  .gestures { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 560px) {
  .waitlist .btn { flex: 0 0 auto; }
  .phone { width: 280px; }
}
@media (min-width: 940px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .phone { width: 300px; }
}
