/* ============================================================
   #Smile — landing page styles
   editorial minimalism, warm accent, mono for data
   ============================================================ */

/* locally-vendored hand-drawn font — loads even when Google Fonts is unreachable */
@font-face {
  font-family: "Gochi Hand";
  src: url("vendor/fonts/GochiHand-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* palette */
  --paper: #FAF8F3;
  --paper-soft: #F2EFE8;
  --ink: #1A1714;
  --ink-soft: #4A453F;
  --ink-quiet: #8A857D;
  --line: #E0DBD2;
  --smile: #EF9F27;
  --smile-deep: #C77E10;

  /* type */
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --max: 720px;
  --gutter: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; font-family: var(--display); font-weight: 500; }
strong { font-weight: 600; }
.mono { font-family: var(--mono); font-feature-settings: "ss01" on; }

/* ============================================================
   nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--line);
}

.nav__brand { display: flex; align-items: center; }
.brand-mark {
  font-family: var(--hand);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav__meta {
  display: flex; align-items: center; gap: 18px;
  font-size: 12px;
}

.nav__via { color: var(--ink-quiet); font-size: 11px; }
@media (max-width: 540px) {
  .nav__via { display: none; }
}

.nav__link {
  color: var(--ink-soft);
  font-size: 13px;
  transition: color 160ms ease;
}
.nav__link:hover { color: var(--ink); }

.nav__link--cta {
  background: var(--ink);
  color: var(--paper);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
}
.nav__link--cta:hover { color: var(--paper); background: var(--smile-deep); }

/* ============================================================
   hero
   ============================================================ */
.hero {
  padding: clamp(48px, 12vw, 120px) var(--gutter) clamp(64px, 14vw, 120px);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.hero__inner { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-bottom: 28px;
  animation: fade-up 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--smile);
  display: inline-block;
  animation: pulse 1.8s ease-in-out infinite;
}

.hero__headline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
  animation: fade-up 800ms cubic-bezier(0.2, 0.7, 0.2, 1) 100ms both;
}

.hero__headline em {
  color: var(--smile-deep);
  font-style: italic;
}

.hero__body {
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--ink-soft);
  max-width: 480px;
  animation: fade-up 800ms cubic-bezier(0.2, 0.7, 0.2, 1) 200ms both;
}

.hero__body p + p { margin-top: 12px; }
.hero__body strong { color: var(--ink); }

.hero__smiley {
  position: absolute;
  top: -40px; right: -30px;
  width: clamp(140px, 26vw, 220px);
  height: auto;
  opacity: 0.12;
  z-index: -1;
  animation: smiley-in 1200ms cubic-bezier(0.2, 0.8, 0.2, 1) 300ms both;
  transform-origin: center;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero__smiley {
    top: auto; right: -20px; bottom: -60px;
    opacity: 0.08;
  }
}

/* ============================================================
   live numbers band
   ============================================================ */
.band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(36px, 7vw, 56px) var(--gutter);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}

.band__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.band__label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.5);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.band__label::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--smile);
  animation: pulse 1.8s ease-in-out infinite;
}

.band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 4vw, 40px);
}

@media (max-width: 540px) {
  .band__grid { grid-template-columns: 1fr; gap: 24px; }
}

.stat__num {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--paper);
}

.stat--accent .stat__num { color: var(--smile); }

.stat__label {
  font-size: 12px;
  color: rgba(250, 248, 243, 0.6);
}

/* ============================================================
   story card — the shirt's own history
   ============================================================ */
.story {
  padding: clamp(48px, 10vw, 88px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.story__card {
  padding: clamp(28px, 5vw, 44px);
  background: var(--paper-soft);
  border-radius: 4px;
  border-left: 3px solid var(--smile);
  position: relative;
}

.story__tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-bottom: 14px;
}

.story__line {
  font-family: var(--display);
  font-size: clamp(20px, 3.5vw, 26px);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 14px;
}

.story__line em {
  color: var(--smile-deep);
}

.story__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(14px, 2vw, 16px);
  color: var(--ink-soft);
  padding-top: 14px;
  border-top: 0.5px solid var(--line);
}

/* ============================================================
   how it works
   ============================================================ */
.how {
  padding: clamp(40px, 8vw, 80px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-bottom: 36px;
}

.how__list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 28px;
}

.how__step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 0.5px solid var(--line);
}

.how__step:last-child { border-bottom: none; padding-bottom: 0; }

.how__num {
  font-size: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 500;
}

.how__step--last .how__num {
  background: var(--smile);
  color: var(--ink);
}

.how__body h3 {
  font-family: var(--display);
  font-size: clamp(19px, 3vw, 24px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}

.how__body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================================
   cta
   ============================================================ */
.cta {
  padding: clamp(60px, 12vw, 120px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.cta__headline {
  font-family: var(--display);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--ink);
}

.cta__sub {
  font-size: 14px;
  color: var(--ink-quiet);
  margin-bottom: 36px;
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: all 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
  cursor: pointer;
  border: none;
  min-width: 240px;
  text-align: center;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--smile-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 0.5px solid var(--line);
}
.btn--ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ============================================================
   footer
   ============================================================ */
.footer {
  background: var(--paper-soft);
  padding: 32px var(--gutter) 28px;
  border-top: 0.5px solid var(--line);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer__tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer__meta {
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--ink-quiet);
}

/* ============================================================
   animations
   ============================================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes smiley-in {
  from { opacity: 0; transform: rotate(-12deg) scale(0.8); }
  to { opacity: 0.12; transform: rotate(-6deg) scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
