/* GD Kites home page. Brand tokens match the app (AppColors). */
:root {
  --forest: #072a1f;
  --green-deep: #0a3b2b;
  --green: #10553f;
  --emerald: #1e8a62;
  --mint: #7fd6b0;
  --amber: #f5a524;
  --amber-light: #ffc861;
  --amber-dark: #e88b12;
  --ink: #14201b;
  --muted: #5c6b64;
  --line: #e3e9e6;
  --surface: #f2f5f3;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(10, 59, 43, 0.12), 0 2px 6px rgba(20, 32, 27, 0.05);
  --shadow-lg: 0 30px 70px rgba(4, 25, 18, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 16px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
address { font-style: normal; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--white);
  font-weight: 700; text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--emerald), var(--amber));
}

/* Header */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}
.nav.scrolled { background: rgba(255, 255, 255, 0.94); border-color: var(--line); box-shadow: 0 8px 30px rgba(10, 59, 43, 0.08); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: flex; align-items: center; flex: none; border-radius: 10px; }
.brand img { height: 46px; width: auto; transition: transform 0.3s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a:not(.btn) {
  position: relative; padding: 8px 14px; border-radius: 10px;
  text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--green); background: var(--surface); }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--amber);
}
.nav-links .nav-cta-mobile { display: none; }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: var(--surface); cursor: pointer; padding: 0; position: relative;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  :root { --nav-h: 64px; }
  .brand img { height: 40px; }
  .nav .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 10px 16px 18px; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(10, 59, 43, 0.12);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-links a:not(.btn) { padding: 13px 12px; font-size: 16px; }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta-mobile { display: flex; justify-content: center; margin-top: 8px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 14px; border: 0;
  font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; line-height: 1.2;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer; position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-lg { padding: 14px 22px; border-radius: 16px; font-size: 16px; }
.btn-amber {
  background: linear-gradient(180deg, var(--amber-light), var(--amber));
  color: var(--forest); box-shadow: 0 12px 28px rgba(245, 165, 36, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-amber:hover { box-shadow: 0 16px 34px rgba(245, 165, 36, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-amber::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
}
.btn-amber:hover::after { transform: translateX(120%); transition: transform 0.8s var(--ease); }
.btn-ghost { color: var(--white); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-green { background: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(16, 85, 63, 0.25); }
.btn-green:hover { background: var(--emerald); }
.btn-outline { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--emerald); color: var(--green); }
.btn small { display: block; font-weight: 600; font-size: 12px; opacity: 0.78; margin-top: 2px; }
.btn svg { flex: none; }
.btn.is-disabled { opacity: 0.65; cursor: default; transform: none; box-shadow: none; filter: saturate(0.6); }
.btn.is-disabled::after { display: none; }
@media (max-width: 560px) {
  .cta-row .btn { flex: 1 1 100%; justify-content: center; text-align: left; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white); padding: 0;
  background:
    radial-gradient(800px 480px at 82% 10%, rgba(127, 214, 176, 0.22), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(245, 165, 36, 0.12), transparent 60%),
    linear-gradient(150deg, var(--forest), var(--green) 55%, var(--emerald));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 88px 0 132px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  color: var(--mint); font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(127, 214, 176, 0.6); animation: ping 2.2s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(127, 214, 176, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(127, 214, 176, 0); } }
.hero h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.02; letter-spacing: -0.035em; margin: 20px 0 18px; font-weight: 800; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--amber-light), var(--amber) 60%, #ffd98f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(17px, 2.1vw, 19px); color: rgba(255, 255, 255, 0.84); max-width: 33em; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.8); font-size: 14px; font-weight: 700; }
.hero-notes li { display: flex; align-items: center; gap: 8px; }
.hero-notes li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: rgba(127, 214, 176, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%237fd6b0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Floating kites in the sky */
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky-kite { position: absolute; width: 46px; color: rgba(255, 255, 255, 0.1); animation: drift 14s ease-in-out infinite; }
.sky-kite.k1 { left: 6%; top: 14%; }
.sky-kite.k2 { right: 6%; bottom: 22%; width: 34px; color: rgba(245, 165, 36, 0.22); animation-duration: 11s; animation-delay: -4s; }
.sky-kite.k3 { left: 44%; top: 6%; width: 28px; animation-duration: 17s; animation-delay: -8s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  33% { transform: translate(18px, -22px) rotate(5deg); }
  66% { transform: translate(-12px, -8px) rotate(-2deg); }
}

/* Hero visual: animated logo card + floating status cards */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; perspective: 1000px; }
.glow {
  position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 165, 36, 0.35), rgba(127, 214, 176, 0.15) 45%, transparent 70%);
  filter: blur(30px); animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.8; } }
.logo-card {
  position: relative; width: min(470px, 100%); padding: clamp(20px, 3vw, 32px);
  background: var(--white); border-radius: 28px; box-shadow: var(--shadow-lg);
  transform-style: preserve-3d; transition: transform 0.4s var(--ease);
  animation: card-in 0.9s var(--ease) both;
}
@keyframes card-in { from { opacity: 0; translate: 0 24px; scale: 0.96; } }
/* Same 1380 × 454 frame the app uses: both layers fill it, the kite floats over the wordmark. */
.logo-frame { position: relative; aspect-ratio: 1380 / 454; }
.logo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-frame .kite { animation: kite-in 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both, kite-float 4.2s ease-in-out 1.3s infinite; transform-origin: 8.5% 73.5%; }
.logo-frame .word { animation: word-in 0.8s var(--ease) 0.55s both; }
@keyframes kite-in { from { opacity: 0; transform: translate(-12%, 8%) rotate(-8deg); } }
@keyframes word-in { from { opacity: 0; transform: translateX(5%); } }
@keyframes kite-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(0.8%, -3.5%) rotate(2deg); }
  50% { transform: translate(0, -1%) rotate(-0.5deg); }
  75% { transform: translate(-0.8%, -3.2%) rotate(-1.8deg); }
}

.toast {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.95); color: var(--ink);
  box-shadow: 0 18px 40px rgba(4, 25, 18, 0.3);
  font-size: 14px; line-height: 1.25; white-space: nowrap;
  animation: toast-in 0.7s var(--ease) both, bob 6s ease-in-out infinite;
}
.toast b { display: block; font-weight: 800; }
.toast small { color: var(--muted); font-weight: 600; font-size: 12px; }
.toast .ti { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(30, 138, 98, 0.12); color: var(--green); flex: none; }
.toast .ti.amber { background: rgba(245, 165, 36, 0.18); color: #9a5b00; }
.toast.t1 { top: 4%; left: -2%; animation-delay: 1.1s, 1.8s; }
.toast.t2 { bottom: 10%; right: -4%; animation-delay: 1.4s, 0s; }
.toast.t3 { bottom: -2%; left: 6%; animation-delay: 1.7s, 3s; }
@keyframes toast-in { from { opacity: 0; translate: 0 14px; scale: 0.92; } }
@keyframes bob { 50% { transform: translateY(-8px); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding: 40px 0 96px; }
  .hero-visual { min-height: 0; padding: 26px 0 30px; }
  .logo-card { width: min(400px, 100%); border-radius: 22px; }
  .toast { font-size: 13px; padding: 8px 12px 8px 8px; }
  .toast .ti { width: 30px; height: 30px; }
  .toast.t1 { top: 0; left: 0; }
  .toast.t2 { bottom: 0; right: 0; }
  .toast.t3 { display: none; }
}
@media (max-width: 420px) {
  .toast small { display: none; }
}

/* Ticker */
.ticker { overflow: hidden; padding: 18px 0; border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.ticker-track span { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 800; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.ticker-track span::after { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--amber); border-radius: 2px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--emerald); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--amber); }
.kicker.light { color: var(--mint); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.025em; margin: 12px 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 52px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.step {
  position: relative; text-align: center; padding: 24px 22px 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step-icon {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px;
  border-radius: 18px; color: var(--white);
  background: linear-gradient(145deg, var(--emerald), var(--green));
  box-shadow: 0 10px 22px rgba(16, 85, 63, 0.28);
}
.step-icon::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -8px; right: -10px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  background: var(--amber); color: var(--forest); box-shadow: 0 0 0 3px var(--white);
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; text-align: left; padding: 20px; }
  .step-icon { grid-row: span 2; margin: 0; width: 50px; height: 50px; border-radius: 15px; }
}

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px;
  background: var(--white); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(30, 138, 98, 0.1), transparent 60%);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile:hover::before { opacity: 1; }
.tile h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(30, 138, 98, 0.1); color: var(--green); margin-bottom: 16px;
}
.tile-icon.amber { background: rgba(245, 165, 36, 0.16); color: #9a5b00; }
.tile-full { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
.tile-full .tile-icon { margin: 0; flex: none; }
.tile-full > div { flex: 1; }
.tile-full .btn { flex: none; }
.tile-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.tile-dark { background: linear-gradient(145deg, var(--green-deep), var(--green)); border-color: transparent; color: var(--white); }
.tile-dark p { color: rgba(255, 255, 255, 0.78); }
.tile-dark .tile-icon.amber { background: rgba(245, 165, 36, 0.2); color: var(--amber-light); }
.tile-dark::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.1), transparent 60%); }
.slabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 12px; align-items: end; }
.slab { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 168px; }
.slab i {
  display: block; width: 100%; height: var(--h); border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, var(--amber-light), var(--amber));
  transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease);
}
.slab:nth-child(2) i { transition-delay: 0.12s; background: linear-gradient(180deg, #ffd98f, var(--amber-light)); }
.slab:nth-child(3) i { transition-delay: 0.24s; background: linear-gradient(180deg, var(--mint), #4fbf8f); }
.reveal.in .slab i { transform: scaleY(1); }
.slab span { font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.slabs small { grid-column: 1 / -1; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.6); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.route { width: 100%; height: auto; margin-top: 18px; }
.route path { fill: none; stroke-width: 4; stroke-linecap: round; }
.route-bg { stroke: var(--line); }
.route-line { stroke: var(--emerald); stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset 2s var(--ease) 0.3s; }
.reveal.in .route-line { stroke-dashoffset: 0; }
.route-start { fill: var(--green); }
.route-end { fill: var(--amber); stroke: var(--white); stroke-width: 3; }
.code { display: flex; gap: 8px; margin-top: 18px; }
.code span {
  width: 40px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 20px; color: var(--green);
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
}
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; grid-template-columns: 1fr; }
  .tile-full { flex-direction: column; align-items: flex-start; }
  .slab { height: 130px; }
  .slab i { height: calc(var(--h) * 0.75); }
}

/* App band */
.app-band {
  position: relative; overflow: hidden; border-radius: 36px; color: var(--white);
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(245, 165, 36, 0.2), transparent 60%),
    linear-gradient(140deg, var(--forest), var(--green) 60%, var(--emerald));
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; padding: 56px;
}
.app-copy h2 { font-size: clamp(30px, 4.2vw, 44px); margin: 12px 0 14px; letter-spacing: -0.025em; line-height: 1.08; }
.app-copy > p { color: rgba(255, 255, 255, 0.82); margin: 0 0 26px; font-size: 17px; }
.install {
  margin-top: 24px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius); padding: 22px 24px;
}
.install h3 { margin: 0 0 10px; font-size: 16px; color: var(--mint); }
.install p { margin: 0; color: rgba(255, 255, 255, 0.84); font-size: 15px; }
.install ol { margin: 0; padding-left: 20px; color: rgba(255, 255, 255, 0.86); font-size: 15px; }
.install li { margin: 6px 0; }
.install .tiny { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.65); }

.phone {
  justify-self: center; width: min(270px, 100%); aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 42px;
  background: linear-gradient(160deg, #1d2b26, #0b1411); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(-4deg); transition: transform 0.6s var(--ease);
}
.app-band:hover .phone { transform: rotate(0deg) translateY(-6px); }
.phone-screen {
  height: 100%; border-radius: 33px; overflow: hidden; background: var(--surface); color: var(--ink);
  display: flex; flex-direction: column; gap: 12px; padding: 16px 14px;
}
.ps-top { display: flex; justify-content: center; padding: 6px 0 4px; }
.ps-top img { height: 30px; width: auto; }
.ps-card { background: var(--white); border-radius: 18px; padding: 14px; box-shadow: 0 6px 16px rgba(10, 59, 43, 0.08); }
.ps-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.pill { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: rgba(245, 165, 36, 0.18); color: #9a5b00; }
.ps-steps { list-style: none; margin: 12px 0 0; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ps-steps li { position: relative; padding: 0 0 12px 24px; }
.ps-steps li:last-child { padding-bottom: 0; }
.ps-steps li::before {
  content: ""; position: absolute; left: 2px; top: 3px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--white); box-shadow: inset 0 0 0 2px var(--line);
}
.ps-steps li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 17px; bottom: 1px; width: 2px; background: var(--line); }
.ps-steps li.done { color: var(--ink); }
.ps-steps li.done::before { background: var(--emerald); box-shadow: none; }
.ps-steps li.done::after { background: var(--emerald); }
.ps-steps li.now { color: var(--green); }
.ps-steps li.now::before { background: var(--amber); box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.5); animation: ping-amber 1.8s infinite; }
@keyframes ping-amber { 80%, 100% { box-shadow: 0 0 0 8px rgba(245, 165, 36, 0); } 0% { box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.6); } }
.ps-cart small { font-size: 11px; font-weight: 800; color: var(--emerald); }
.ps-bar { height: 8px; border-radius: 8px; background: var(--surface); margin-top: 10px; overflow: hidden; }
.ps-bar span { display: block; height: 100%; width: 78%; border-radius: 8px; background: linear-gradient(90deg, var(--emerald), var(--mint)); }
.ps-code small { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.ps-code .code { margin-top: 8px; gap: 6px; }
.ps-code .code span { width: 34px; height: 40px; font-size: 17px; border-radius: 10px; }
@media (max-width: 960px) {
  .app-band { grid-template-columns: 1fr; padding: 40px 24px; border-radius: 28px; gap: 36px; }
  .phone { width: min(230px, 70%); order: 2; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 800; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2310553f' stroke-width='2.6' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(245, 165, 36, 0.2); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.faq details p a { color: var(--green); font-weight: 700; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 0; } }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--white); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 10px; font-size: 21px; }
.card address { color: var(--ink); font-size: 16px; line-height: 1.7; }
.hours { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--green); font-weight: 700; font-size: 15px; }
.hours .dot { background: var(--emerald); }
.card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.phone-actions { display: contents; }
.area { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.area h4 { margin: 0 0 4px; font-size: 15px; }
.area p { margin: 0; color: var(--muted); font-size: 15px; }
.map {
  position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(245, 165, 36, 0.25), transparent 30%),
    linear-gradient(rgba(16, 85, 63, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(16, 85, 63, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    #e8eeeb;
  box-shadow: inset 0 0 0 1px var(--line);
}
.map::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(28deg, transparent 47%, rgba(255, 255, 255, 0.95) 47.5%, rgba(255, 255, 255, 0.95) 50.5%, transparent 51%),
    linear-gradient(-62deg, transparent 58%, rgba(255, 255, 255, 0.9) 58.5%, rgba(255, 255, 255, 0.9) 60.5%, transparent 61%);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade {
  position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; font: inherit;
}
.map-pin {
  width: 64px; height: 64px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg);
  display: grid; place-items: center; background: var(--green); color: var(--amber-light);
  box-shadow: 0 14px 30px rgba(16, 85, 63, 0.35); animation: pin-bob 2.4s ease-in-out infinite;
}
.map-pin svg { transform: rotate(45deg); }
@keyframes pin-bob { 50% { transform: rotate(-45deg) translate(4px, -4px); } }
.map-label {
  padding: 10px 18px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow);
  font-weight: 800; color: var(--ink); text-align: center; transition: transform 0.2s var(--ease);
}
.map-label small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
.map-facade:hover .map-label { transform: translateY(-2px); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map { min-height: 280px; } }
@media (max-width: 560px) { .card { padding: 24px 20px; } .card .actions .btn { flex: 1 1 auto; justify-content: center; } }

/* Footer */
footer { background: var(--forest); color: rgba(255, 255, 255, 0.7); padding: 64px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-logo { display: inline-block; padding: 10px 14px; border-radius: 16px; background: var(--white); }
.foot-logo img { height: 40px; width: auto; }
.foot-brand p { margin: 16px 0 8px; color: rgba(255, 255, 255, 0.82); font-size: 15px; }
.foot-brand address { max-width: 30em; line-height: 1.6; }
footer nav { display: flex; flex-direction: column; gap: 10px; }
footer h4 { margin: 4px 0 6px; color: var(--white); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-weight: 600; width: fit-content; }
footer a:hover { color: var(--amber-light); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; background: var(--green); color: var(--white);
  box-shadow: 0 12px 28px rgba(10, 59, 43, 0.3);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease), background 0.2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--emerald); }

/* Entrance animation */
/* Uses `translate` so hover effects (which use `transform`) still work on revealed cards. */
.reveal { opacity: 0; translate: 0 22px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s; }
.reveal.in { opacity: 1; translate: none; }
.no-js .reveal { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; translate: none; }
  .slab i { transform: none; }
  .route-line { stroke-dashoffset: 0; }
}
