/* =========================================================
   GoWiings — Landing Page Styles
   Palette: Deep Orange system
   Type: Outfit (single family, full weight range)
========================================================= */

:root{
  /* --- Color tokens (mustard / yellow) --- */
  --orange-900: #3A2C00;
  --orange-800: #5A4400;
  --orange-700: #785A00;
  --orange-600: #8C6800;
  --orange-500: #f7c839;   /* primary */
  --orange-400: #B08A10;
  --orange-100: #FFF3C4;
  --orange-50:  #FFFBEA;

  --ink-900: #1E140C;
  --ink-700: #3A2A1E;
  --ink-500: #6B5C4F;
  --ink-300: #A4988B;

  --paper:   #FFFCF8;
  --paper-alt: #FFF8F1;
  --line:    #F0DFCE;
  --white:   #FFFFFF;

  --gold: #FFC93C;

  /* --- Type --- */
  --font: 'Outfit', system-ui, sans-serif;

  /* --- Shape / motion --- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(58,44,0,0.08);
  --shadow-md: 0 14px 34px rgba(58,44,0,0.16);
  --shadow-lg: 0 26px 60px rgba(58,44,0,0.22);
  --ease: cubic-bezier(.22,.9,.32,1);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

html, body{
  max-width: 100%;
  overflow-x: hidden;
}

body{
  margin:0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img{ max-width:100%; height:auto; display:block; }

a{ color:inherit; text-decoration:none; }

ul{ list-style:none; margin:0; padding:0; }

.container{
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 480px){
  .container{ padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior:auto !important; }
}

@media (prefers-reduced-transparency: reduce){
  .nav{ background: var(--paper); backdrop-filter: none; }
  .nav.is-scrolled{ background: var(--paper); }
}

:focus-visible{
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   Buttons
========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor:pointer;
  /* transform is driven by JS (instant press, spring release) — only non-gesture
     properties get a CSS transition. See --ty (hover) and --s (press) below. */
  transform: translateY(var(--ty, 0px)) scale(var(--s, 1));
  transition: box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
  will-change: transform;
}
.btn span{ display:flex; flex-direction:column; line-height:1.15; text-align:left; }
.btn small{ font-size:10px; font-weight:500; opacity:.85; text-transform:uppercase; letter-spacing:.06em; }
.btn i{ font-size:18px; }
.btn:hover{ --ty: -2px; }
@media (prefers-reduced-motion: reduce){
  .btn{ transform: none !important; }
}

.btn--primary{
  background: var(--orange-500);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover{ background: var(--orange-600); box-shadow: var(--shadow-lg); }

.btn--outline{
  background: transparent;
  color: var(--orange-700);
  border-color: var(--orange-500);
}
.btn--outline:hover{ background: var(--orange-50); }

.btn--ghost{
  background: transparent;
  color: var(--ink-900);
  padding: 10px 18px;
  border-color: var(--line);
}
.btn--ghost:hover{ border-color: var(--orange-500); color: var(--orange-700); }

.btn--dark{
  background: var(--ink-900);
  color: var(--white);
}
.btn--dark:hover{ background: #000; }

.btn--light{
  background: var(--white);
  color: var(--orange-700);
}
.btn--light:hover{ background: var(--orange-50); }

.btn--lg{ padding: 16px 26px; font-size: 16px; }
.btn--sm{ padding: 10px 16px; font-size: 13px; }

/* iPhone / iOS CTA — solid, high-contrast on any background so it never
   gets lost as low-visibility body text (was a plain unstyled <p> before). */
.btn--ios{
  background: var(--ink-900);
  color: var(--white);
  border-color: var(--ink-900);
}
.btn--ios:hover{ background: #000; border-color: #000; }
.btn--ios i{ color: var(--gold); }

/* =========================================================
   Top bar
========================================================= */
.topbar{
  background: var(--ink-900);
  color: var(--orange-100);
  font-size: 13px;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 9px 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar i{ color: var(--gold); margin-right:4px; }
.topbar__links a{ color: var(--orange-100); opacity:.9; }
.topbar__links a:hover{ opacity:1; text-decoration: underline; }
.topbar .dot{ margin: 0 10px; opacity:.5; }

/* =========================================================
   Nav
========================================================= */
.nav{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(255,252,248,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), box-shadow .25s var(--ease);
}
/* Bigger surfaces read as thicker material: once content is scrolling
   under it, the nav thickens (more blur, more opaque, deeper shadow). */
.nav.is-scrolled{
  background: rgba(255,252,248,0.97);
  backdrop-filter: blur(18px) saturate(160%);
}
.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 24px;
}
.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  transition: transform .3s var(--ease);
}
.nav.is-scrolled .logo{ transform: scale(0.94); }
.logo__mark{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  overflow: hidden;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transform: rotate(-8deg);
}
.nav__links{
  display:flex;
  align-items:center;
  gap: 34px;
}
.nav__links a{
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 4px 0;
}
.nav__links a::after{
  content:'';
  position:absolute;
  left:0; bottom:-2px;
  width:0; height:2px;
  background: var(--orange-500);
  transition: width .25s var(--ease);
}
.nav__links a:hover{ color: var(--orange-700); }
.nav__links a:hover::after{ width:100%; }

.nav__cta{ display:flex; align-items:center; gap: 14px; }
.nav__toggle{
  display:none;
  background:none;
  border:none;
  font-size: 20px;
  color: var(--ink-900);
  cursor:pointer;
  padding: 6px;
}

/* =========================================================
   Hero
========================================================= */
.hero{
  position: relative;
  overflow: hidden;
  padding: 76px 0 60px;
}
/* --- Pinned entry (desktop/tablet only) ---
   hero-pin is 160vh tall; .hero sticks to the top of the screen for the
   first 100vh of that, giving 60vh of scroll to play the entry animation
   (hero__copy/art/blob transforms, driven by JS in heroEntry()) over,
   before the next section scrolls up and covers it. */
@media (min-width: 761px){
  .hero-pin{ height: 160vh; }
  .hero{
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
  }
}
.hero__blob{
  position:absolute;
  top: -220px;
  right: -180px;
  width: 620px;
  height: 620px;
  max-width: 100vw;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--orange-100), transparent 70%);
  z-index:0;
  pointer-events: none;
}
.hero__grid{
  position: relative;
  z-index: 1;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items:center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  background: var(--orange-50);
  color: var(--orange-700);
  border: 1px solid var(--orange-100);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin: 0 0 20px;
}
.eyebrow--center{ display:flex; justify-content:center; margin: 0 auto 18px; width: fit-content; }

.hero__copy h1{
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ink-900);
}
.hero__copy h1 span{
  color: var(--orange-600);
  font-style: italic;
}

/* --- Hero headline: per-word reveal --- */
.hero-headline{ overflow: visible; }
.hero-headline .word{
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(0.5em);
  will-change: transform, opacity, filter;
}
.hero-headline .word--accent{ color: var(--orange-600); font-style: italic; }
@media (prefers-reduced-motion: reduce){
  .hero-headline .word{ opacity: 1; filter: none; transform: none; }
}

/* --- Generic reveal states (materialize: blur + scale + rise together) --- */
.reveal-up, .reveal-block{
  opacity: 0;
  will-change: transform, opacity, filter;
}
.reveal-up{ transform: translateY(16px); }
.reveal-block{ transform: translateY(22px) scale(0.96); filter: blur(8px); }
/* Once the spring hands off, these need an explicit "stay visible" state —
   otherwise they fall back to the opacity:0 base rule above and vanish. */
.reveal-up.is-revealed, .reveal-block.is-revealed,
.hero-headline .word.is-revealed{
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce){
  .reveal-up, .reveal-block{ opacity: 1; transform: none; filter: none; }
}
.hero__sub{
  font-size: 17px;
  color: var(--ink-500);
  max-width: 520px;
  margin: 0 0 32px;
}
.hero__actions{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero__stats{
  display:flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero__stats div{ display:flex; flex-direction:column; gap:2px; }
.hero__stats strong{
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-900);
}
.hero__stats strong i{ font-size: 15px; color: var(--gold); margin-left: 3px; }
.hero__stats span{ font-size: 13px; color: var(--ink-500); }

/* --- Hero art: phone mockups --- */
.hero__art{
  position: relative;
  height: 520px;
  perspective: 1400px; /* enables the 3D pointer-tilt on .phone-stack */
  will-change: transform, opacity;
}
.phone-stack{
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  will-change: transform;
}
@media (prefers-reduced-motion: reduce){
  .phone-stack{ transform: none !important; }
}
.phone{
  position:absolute;
  width: 240px;
  height: 480px;
  border-radius: 34px;
  background: var(--ink-900);
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.phone__notch{
  width: 70px;
  height: 18px;
  background: var(--ink-900);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone__screen{
  position: relative;
  margin-top: -18px;
  height: calc(100% - 10px);
  border-radius: 26px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  padding: 26px 18px 18px;
}
.phone--back{
  top: 10px;
  left: 0;
  transform: rotate(-9deg);
  opacity: .92;
}
.phone--front{
  top: 40px;
  left: 130px;
  transform: rotate(6deg);
}
.phone__screen--vendor{
  background: linear-gradient(160deg, var(--orange-700), var(--orange-900));
  color: var(--orange-50);
  align-items:center;
  justify-content:center;
  text-align:center;
  gap: 10px;
}
.phone__screen--vendor i{ font-size: 30px; color: var(--gold); margin-bottom: 6px; }
.phone__screen--vendor p{ font-weight: 700; margin: 0; font-size: 15px; }
.phone__screen--vendor span{ font-size: 12px; opacity: .8; }

.phone__screen--customer{
  background: linear-gradient(180deg, var(--paper-alt), var(--white));
  justify-content: flex-end;
  gap: 16px;
}
.chip{
  align-self: flex-start;
  background: var(--orange-500);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  display:flex;
  align-items:center;
  gap: 6px;
}
.track-line{ display:flex; gap: 6px; }
.track-line .dot{
  flex:1;
  height: 6px;
  border-radius: 4px;
  background: var(--line);
}
.track-line .dot.on{ background: var(--orange-500); }
.mini-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  display:flex;
  align-items:center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.mini-card i{
  width: 42px; height:42px;
  border-radius: 12px;
  background: var(--orange-50);
  color: var(--orange-600);
  display:flex; align-items:center; justify-content:center;
  font-size: 18px;
}
.mini-card strong{ display:block; font-size: 13px; }
.mini-card small{ color: var(--ink-500); font-size: 12px; }

.float-card{
  position:absolute;
  display:flex;
  align-items:center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  animation: floaty 4.5s ease-in-out infinite;
}
.float-card i{
  width: 34px; height: 34px;
  border-radius: 10px;
  display:flex; align-items:center; justify-content:center;
  color: var(--white);
  font-size: 14px;
}
.float-card strong{ display:block; font-size: 14px; }
.float-card small{ color: var(--ink-500); font-size: 11px; }
.float-card--earn{ top: 24px; right: 6px; animation-delay: .3s; }
.float-card--earn i{ background: var(--orange-500); }
.float-card--rating{ bottom: 40px; left: 4px; animation-delay: 1s; }
.float-card--rating i{ background: var(--gold); }

@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

/* =========================================================
   Marquee strip
========================================================= */
.marquee{
  background: var(--ink-900);
  padding: 16px 0;
  overflow: hidden;
}
.marquee__track{
  display:flex;
  gap: 46px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 26s linear infinite;
}
.marquee__track span{
  color: var(--orange-100);
  font-weight: 500;
  font-size: 14px;
  display:flex;
  align-items:center;
  gap: 8px;
}
.marquee__track i{ color: var(--gold); }
@keyframes scroll-left{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* =========================================================
   Section shared
========================================================= */
.section-title{
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 14px;
  color: var(--ink-900);
}
.section-title--left{ text-align:left; margin: 0 0 24px; }
.section-sub{
  text-align:center;
  color: var(--ink-500);
  max-width: 560px;
  margin: 0 auto 52px;
  font-size: 16px;
}

/* =========================================================
   Apps grid
========================================================= */
.apps{ padding: 96px 0; }
.app-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.app-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display:flex;
  flex-direction:column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.app-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.app-card__icon{
  width: 56px; height: 56px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 22px;
}
.app-card--01 .app-card__icon{ background: linear-gradient(155deg, var(--orange-500), var(--orange-700)); }
.app-card--02 .app-card__icon{ background: linear-gradient(155deg, #F3752A, #BF360C); }
.app-card--03 .app-card__icon{ background: linear-gradient(155deg, #FFC93C, var(--orange-600)); }
.app-card--04 .app-card__icon{ background: linear-gradient(155deg, var(--ink-700), var(--ink-900)); }

.app-card h3{ font-size: 19px; margin: 0 0 10px; letter-spacing: -0.01em; }
.app-card p{ font-size: 14px; color: var(--ink-500); margin: 0 0 18px; flex-grow: 0; }
.app-card__list{ margin: 0 0 26px; display:flex; flex-direction:column; gap: 9px; flex-grow:1; }
.app-card__list li{
  font-size: 13px;
  color: var(--ink-700);
  display:flex;
  align-items:flex-start;
  gap: 8px;
}
.app-card__list i{ color: var(--orange-500); margin-top: 3px; font-size: 11px; }

.store-badge{
  display:flex;
  align-items:center;
  gap: 10px;
  background: var(--ink-900);
  color: var(--white);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  align-self: flex-start;
  transform: translateY(var(--ty, 0px)) scale(var(--s, 1));
  transition: background .2s var(--ease);
  will-change: transform;
}
.store-badge:hover{ background: var(--orange-700); --ty: -2px; }
@media (prefers-reduced-motion: reduce){
  .store-badge{ transform: none !important; }
}
.store-badge i{ font-size: 22px; }
.store-badge span{ display:flex; flex-direction:column; line-height: 1.2; }
.store-badge small{ font-size: 9px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }

/* =========================================================
   iPhone CTA notes (hero + apps section)
========================================================= */
.hero__ios-cta{ margin-top: -6px; }
.hero .btn--ios{ margin-top: -8px; }

.apps__ios-note{
  margin-top: 40px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.apps__ios-note > span{
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 500;
}
.apps__ios-note > span i{ color: var(--ink-900); margin-right: 6px; }

@media (max-width: 620px){
  .apps__ios-note{ flex-direction: column; align-items: stretch; text-align: center; }
  .apps__ios-note .btn{ justify-content: center; }
}

/* =========================================================
   How it works
========================================================= */
.how{ background: var(--paper-alt); padding: 96px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how__grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.steps{ display:flex; flex-direction:column; gap: 28px; margin-top: 12px; }
.step{
  display:flex; gap: 18px; align-items:flex-start;
  opacity: 0.45;
  transform: scale(0.98);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.step.is-active{ opacity: 1; transform: scale(1); }
.step__num{
  flex-shrink:0;
  width: 40px; height:40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange-500);
  color: var(--orange-600);
  font-weight: 700;
  display:flex; align-items:center; justify-content:center;
  font-size: 15px;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.step.is-active .step__num{
  background: var(--orange-500);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.step h4{ margin: 2px 0 6px; font-size: 17px; }
.step p{ margin:0; color: var(--ink-500); font-size: 14px; max-width: 420px; }

.how__art{ display:flex; justify-content:center; align-items:center; }
.orbit{ position: relative; width: 340px; height: 340px; }
.orbit::before{
  content:'';
  position:absolute; inset:0;
  border: 2px dashed var(--orange-100);
  border-radius: 50%;
}
.orbit__center{
  position:absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 92px; height:92px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--orange-500), var(--orange-700));
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size: 32px;
  box-shadow: var(--shadow-lg);
}
.orbit__node{
  position:absolute;
  width: 62px; height:62px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display:flex; align-items:center; justify-content:center;
  font-size: 20px;
  color: var(--orange-600);
  animation: spin-slow 16s linear infinite;
}
.orbit__node--1{ top: -6px; left: 50%; margin-left: -31px; }
.orbit__node--2{ top: 50%; right: -6px; margin-top: -31px; }
.orbit__node--3{ bottom: -6px; left: 50%; margin-left: -31px; }
.orbit__node--4{ top: 50%; left: -6px; margin-top: -31px; }
.orbit__node i{ animation: spin-slow-rev 16s linear infinite; }

@keyframes spin-slow{ from{ transform: rotate(0deg) translateX(0) rotate(0deg);} }
/* Simpler orbit animation: rotate whole orbit, counter-rotate icons */
.orbit{ animation: none; }
.orbit__node{ animation: orbit-spin 18s linear infinite; transform-origin: 170px 170px; }
.orbit__node i{ display:inline-block; animation: orbit-spin-rev 18s linear infinite; }
@keyframes orbit-spin{ from{ transform: rotate(0deg) translate(0,0); } to{ transform: rotate(360deg) translate(0,0); } }
@keyframes orbit-spin-rev{ from{ transform: rotate(0deg); } to{ transform: rotate(-360deg); } }

/* =========================================================
   Vendors
========================================================= */
.vendors{ padding: 96px 0; }
.vendor-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.vendor-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.vendor-card--accent{
  background: var(--ink-900);
  color: var(--orange-50);
  border-color: var(--ink-900);
}
.vendor-card--accent p{ color: var(--ink-300); }
.vendor-card--accent .app-card__list li{ color: var(--orange-50); }
.vendor-card--accent .app-card__list i{ color: var(--gold); }

.vendor-card__icon{
  width: 60px; height:60px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  font-size: 24px;
  margin-bottom: 22px;
}
.vendor-card__icon--web{ background: var(--orange-50); color: var(--orange-600); }
.vendor-card__icon--win{ background: rgba(255,201,60,0.18); color: var(--gold); }

.vendor-card h3{ font-size: 21px; margin: 0 0 10px; }
.vendor-card > p{ font-size: 14px; color: var(--ink-500); margin: 0 0 20px; }
.vendor-card .app-card__list{ margin-bottom: 26px; }

/* =========================================================
   Features
========================================================= */
.features{ background: var(--paper-alt); padding: 96px 0; border-top: 1px solid var(--line); }
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.feature:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature i{
  font-size: 22px;
  color: var(--orange-600);
  background: var(--orange-50);
  width: 48px; height:48px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
}
.feature h4{ margin: 0 0 8px; font-size: 16px; }
.feature p{ margin: 0; font-size: 13.5px; color: var(--ink-500); }

/* =========================================================
   CTA banner
========================================================= */
.cta{
  background: linear-gradient(120deg, var(--orange-600), var(--orange-800));
  padding: 64px 0;
}
.cta__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta h2{
  color: var(--white);
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 8px;
}
.cta p{ color: var(--orange-100); margin:0; max-width: 480px; font-size: 15px; }

/* =========================================================
   FAQ / accordion
========================================================= */
.faq{ padding: 96px 0; }
.accordion{
  max-width: 720px;
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.accordion__item{
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow:hidden;
}
.accordion__head{
  width:100%;
  background:none;
  border:none;
  text-align:left;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-900);
  padding: 18px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
}
.accordion__head i{ color: var(--orange-500); transition: transform .25s var(--ease); flex-shrink:0; margin-left: 12px; }
.accordion__item.is-open .accordion__head i{ transform: rotate(180deg); }
.accordion__body{
  height: 0;
  overflow:hidden;
  /* height is spring-driven by JS (measured against real content, so long
     answers never clip like a fixed max-height would). */
  will-change: height;
}
.accordion__body p{ margin:0; padding: 0 22px 20px; color: var(--ink-500); font-size: 14px; }
.accordion__body .btn--ios{ margin: 0 22px 20px; }
@media (prefers-reduced-motion: reduce){
  .accordion__body{ transition: height .2s ease; }
}

/* =========================================================
   Footer
========================================================= */
.footer{ background: var(--ink-900); color: var(--orange-100); padding: 72px 0 0; }
.footer__grid{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand p{ color: var(--ink-300); font-size: 14px; max-width: 280px; margin: 14px 0 22px; }
.logo--footer{ color: var(--white); }

.footer__col h5{
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 0 0 18px;
}
.footer__col a{
  display:flex;
  align-items:center;
  gap: 9px;
  color: var(--ink-300);
  font-size: 14px;
  margin-bottom: 13px;
}
.footer__col a i{ color: var(--orange-400); width: 14px; }
.footer__col a:hover{ color: var(--white); }

.footer__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 24px;
  font-size: 13px;
  color: var(--ink-300);
}
.footer__legal{ display:flex; gap: 22px; }
.footer__legal a:hover{ color: var(--white); }

/* =========================================================
   Floating action button (mobile)
========================================================= */
.fab{
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height:56px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  display: none;
  align-items:center;
  justify-content:center;
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  z-index: 90;
}

/* =========================================================
   iPhone order confirm — bottom sheet (mobile) / dialog (desktop)
   Same markup, same JS; only this CSS decides which shape it takes,
   so it reflows correctly even if the window is resized/rotated
   while open.
========================================================= */
.ios-confirm{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.ios-confirm__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 12, 0.5);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.ios-confirm__panel{
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 14px 24px calc(26px + env(safe-area-inset-bottom, 0px));
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(100%);
  transition: transform .32s var(--ease);
}
.ios-confirm__handle{
  width: 40px; height: 5px;
  border-radius: var(--radius-pill);
  background: var(--line);
  margin: 0 auto 18px;
}
.ios-confirm__icon{
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--orange-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--ink-900);
}
.ios-confirm__panel h3{ margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--ink-900); }
.ios-confirm__panel p{ margin: 0 0 22px; font-size: 14.5px; color: var(--ink-500); line-height: 1.5; }
.ios-confirm__actions{ display: flex; gap: 10px; }
.ios-confirm__actions .btn{ flex: 1; justify-content: center; }

.ios-confirm.is-open{ visibility: visible; pointer-events: auto; }
.ios-confirm.is-open .ios-confirm__backdrop{ opacity: 1; }
.ios-confirm.is-open .ios-confirm__panel{ transform: translateY(0); }

/* Big screens: same panel becomes a centered dialog instead of a sheet */
@media (min-width: 761px){
  .ios-confirm{ align-items: center; }
  .ios-confirm__panel{
    max-width: 400px;
    border-radius: var(--radius-lg);
    padding: 34px 32px;
    transform: translateY(14px) scale(.96);
    opacity: 0;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .ios-confirm.is-open .ios-confirm__panel{ transform: translateY(0) scale(1); opacity: 1; }
  .ios-confirm__handle{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .ios-confirm__backdrop, .ios-confirm__panel{ transition: opacity .001ms linear, transform .001ms linear; }
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1080px){
  .app-grid{ grid-template-columns: repeat(2, 1fr); }
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__art{ height: 420px; order: -1; }
  .how__grid{ grid-template-columns: 1fr; }
  .how__art{ order: -1; margin-bottom: 20px; }
  .footer__grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px){
  .nav__links{
    position:absolute;
    top: 100%; left:0; right:0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display:flex;
    /* Base (closed) state: JS springs opacity/transform on open and close,
       so the panel enters/exits along the same path (§7 spatial consistency). */
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    will-change: transform, opacity;
  }
  @media (prefers-reduced-motion: reduce){
    .nav__links{ transition: opacity .2s ease; transform: none !important; }
    .nav__links.is-open{ opacity: 1; visibility: visible; pointer-events: auto; }
  }
  .nav__toggle{ display:block; }
  .nav__cta .btn--ghost{ display:none; }
  .vendor-grid{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .app-grid{ grid-template-columns: 1fr; }
  .cta__inner{ justify-content:center; text-align:center; }
  .footer__grid{ grid-template-columns: 1fr; }
  .fab{ display:flex; }
  .topbar__inner{ justify-content:center; text-align:center; }
}

@media (max-width: 480px){
  .hero{ padding: 40px 0 32px; }
  .hero__actions{ flex-direction: column; align-items: stretch; }
  .hero__actions .btn{ width: 100%; justify-content: center; white-space: normal; }
  .hero__art{ height: 320px; }
  .phone-stack{ transform: scale(0.78); transform-origin: top center; }
  .phone{ width: 190px; height: 380px; }
  .phone--back{ left: 4px; }
  .phone--front{ left: 130px; top: 60px; }
  .float-card--earn{ right: -10px; }
  .float-card--rating{ left: -14px; }
  .orbit{ width: 260px; height:260px; }
  .orbit__node{ transform-origin: 130px 130px; width:50px; height:50px; font-size:16px; }
  .section-sub{ margin-bottom: 36px; }
  .apps, .how, .vendors, .features, .faq{ padding: 64px 0; }
  .cta{ padding: 48px 0; }
  .cta__inner .btn{ width: 100%; justify-content: center; }
  .vendor-card, .app-card, .feature{ padding: 24px 20px; }
  .btn--lg{ font-size: 15px; padding: 14px 20px; }
  .footer{ padding-top: 56px; }
  .footer__bottom{ justify-content: center; text-align: center; }
}

@media (max-width: 380px){
  .phone-stack{ transform: scale(0.66); }
  .hero__art{ height: 280px; }
  .hero__copy h1{ font-size: 30px; }
}