:root {
  --gold-1: #EE8933;
  --gold-2: #FFCB3E;
  --ink: #101114;
  --ink-soft: #3a3b40;
  --muted: #6b6b72;
  --faint: #9a9aa0;
  --cream: #f4f1ec;
  --card: #ffffff;
  --line: #eae6de;
  --gold-grad: linear-gradient(100deg, #EE8933 0%, #FFCB3E 100%);
  --radius: 22px;
  --shadow: 0 18px 50px rgba(16, 17, 20, 0.10);
  --shadow-sm: 0 8px 24px rgba(16, 17, 20, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Warm palette-mesh backdrop, echoing the app's tab roots */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 82% -8%, rgba(255, 203, 62, 0.34) 0%, rgba(255, 203, 62, 0) 60%),
    radial-gradient(55% 50% at -6% 8%, rgba(238, 137, 51, 0.22) 0%, rgba(238, 137, 51, 0) 58%),
    radial-gradient(70% 60% at 50% 120%, rgba(238, 137, 51, 0.12) 0%, rgba(238, 137, 51, 0) 60%),
    var(--cream);
}

h1, h2, h3, .wordmark-text {
  font-family: "Akshar", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.2px;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 8px;
}
.nav .brand { display: flex; align-items: center; gap: 10px; }
.nav .brand img { height: 30px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-right a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-right a:hover { color: var(--ink); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #9a5a12;
  background: rgba(255, 203, 62, 0.22);
  border: 1px solid rgba(238, 137, 51, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-1);
  box-shadow: 0 0 0 0 rgba(238, 137, 51, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(238, 137, 51, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(238, 137, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(238, 137, 51, 0); }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 40px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-1);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.02;
  margin: 0 0 20px;
  color: var(--ink);
}
.hero h1 .accent {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 18.5px;
  color: var(--ink-soft);
  max-width: 30ch;
  margin: 0 0 30px;
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary {
  color: #fff;
  background: var(--gold-grad);
  box-shadow: 0 10px 24px rgba(238, 137, 51, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(238, 137, 51, 0.4); }
.btn-ghost { color: var(--ink); background: rgba(16, 17, 20, 0.04); }
.btn-ghost:hover { background: rgba(16, 17, 20, 0.08); }

/* ---------- Phone mockup ---------- */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: var(--gold-grad);
  filter: blur(70px);
  opacity: 0.35;
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 260px;
  background: #0e0f12;
  border-radius: 42px;
  padding: 12px;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.phone .screen {
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf9 0%, #fbf3e6 100%);
  aspect-ratio: 9 / 19;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
}
.phone .notch {
  width: 96px; height: 22px; border-radius: 12px;
  background: #0e0f12;
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.screen .s-logo { height: 22px; margin: 6px auto 18px; display: block; }
.screen .s-title { font-family: "Akshar", sans-serif; font-size: 15px; font-weight: 500; color: var(--ink); margin: 0 0 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  border-radius: 14px;
  aspect-ratio: 1 / 1.15;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.tile span {
  position: absolute; left: 8px; bottom: 7px;
  font-size: 9.5px; font-weight: 600; color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.chips { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.chip {
  font-size: 9.5px; font-weight: 600; color: var(--muted);
  background: #fff; border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 999px;
}

/* ---------- Sections ---------- */
section { padding: 40px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 203, 62, 0.18);
  margin-bottom: 18px;
}
.feature .ico svg { width: 24px; height: 24px; stroke: var(--gold-1); }
.feature h3 { font-size: 20px; margin: 0 0 8px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.feature .step { font-size: 12px; font-weight: 700; color: var(--gold-1); letter-spacing: 1px; }

/* ---------- Palette strip ---------- */
.palette {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.palette h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 12px; }
.palette p { color: var(--muted); font-size: 16px; margin: 0; }
.swatches { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sw { width: 56px; height: 78px; border-radius: 14px; box-shadow: var(--shadow-sm); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background: var(--ink);
  border-radius: 28px;
  padding: 56px 32px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 50% 0%, rgba(255, 203, 62, 0.22), transparent 60%);
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.68); font-size: 17px; margin: 0 0 28px; position: relative; }
.cta-band .btn-primary { position: relative; }

/* ---------- Footer ---------- */
footer {
  padding: 46px 0 60px;
  margin-top: 20px;
}
.foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.foot-inner img { height: 26px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: var(--ink); }
.copy { color: var(--faint); font-size: 13px; width: 100%; margin-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .hero .lede { max-width: none; }
  .phone-stage { order: -1; }
  .features { grid-template-columns: 1fr; }
  .palette { grid-template-columns: 1fr; text-align: center; }
  .swatches { margin-top: 8px; }
  .nav-right .nav-link { display: none; }
}
@media (max-width: 480px) {
  .nav-right .pill { display: none; }
}
