/* Neshima — site styles.
   Palette and type are the app's own design system, so the site, the store
   listing and the product read as one thing. Dark-first (the app's native
   mode) with a light-mode variant for readers who prefer it. */

:root {
  --deep: #16181a;
  --bg: #1c1e20;
  --lift: #23262880;
  --surface: #24282a;
  --text: #edecea;
  --muted: #9a9896;
  --accent: #a4bcc9; /* serene blue */
  --sage: #7a9480;
  --gold: #c4983c;
  --coral: #c07058;
  --line: #edecea14;
  --radius: 20px;
  --maxw: 1120px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(72px, 11vw, 132px) 0; position: relative; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(46px, 8.5vw, 92px); letter-spacing: -0.015em; }
h2 { font-size: clamp(32px, 4.6vw, 52px); }
h3 { font-size: 23px; }
p { color: var(--muted); }
.lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 54ch; }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: #1c1e20d9;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
header.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-word { font-family: var(--serif); font-style: italic; font-size: 27px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 15px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.2s ease, opacity 0.2s ease,
    background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #14181a; }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { border-color: #edecea33; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 17px; height: 17px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead, .hero-copy .root-note { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  /* a rule down the side of centred text reads as a mistake — drop it */
  .hero-copy .root-note { border-left: 0; padding-left: 0; }
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lead { margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.root-note {
  font-size: 14.5px; color: var(--muted); max-width: 46ch;
  padding-left: 15px; border-left: 2px solid #a4bcc94d;
}
.root-note .heb { font-family: var(--serif); font-size: 17px; color: var(--accent); }

/* glow behind the phone */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #a4bcc929 0%, transparent 66%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}

/* ---------- phone shell ---------- */
.phone {
  /* 9:16 matches the 1080×1920 captures exactly, so nothing gets cropped. */
  position: relative; width: min(310px, 78vw); aspect-ratio: 9 / 16;
  border-radius: 42px; padding: 9px;
  background: linear-gradient(160deg, #3a3f42, #1e2123);
  box-shadow: 0 40px 90px -24px #000000b3, 0 0 0 1px #edecea1a;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; display: block; }
.phone.sm { width: min(232px, 62vw); border-radius: 34px; padding: 7px; }
.phone.sm img { border-radius: 28px; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: #a4bcc94d; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 15.5px; }
.icon-badge {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 18px; background: #a4bcc924;
}
.icon-badge svg { width: 22px; height: 22px; stroke: var(--accent); }
.icon-badge.sage { background: #7a948024; } .icon-badge.sage svg { stroke: var(--sage); }
.icon-badge.gold { background: #c4983c24; } .icon-badge.gold svg { stroke: var(--gold); }
.icon-badge.coral { background: #c0705824; } .icon-badge.coral svg { stroke: var(--coral); }

/* ---------- split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 76px); align-items: center; }
.split.reverse .split-visual { order: -1; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
  .split-visual { display: flex; justify-content: center; }
}
.split-visual { display: flex; justify-content: center; }

/* ---------- journeys ---------- */
.journeys { display: grid; gap: 12px; }
.journey {
  display: flex; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 15px; padding: 19px 22px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.journey:hover { border-color: #a4bcc94d; transform: translateX(4px); }
.journey .glyph { font-family: var(--serif); font-size: 25px; min-width: 72px; }
.journey-body strong { display: block; font-size: 16.5px; font-weight: 600; }
.journey-body span { font-size: 14.5px; color: var(--muted); }
.journey .tag {
  margin-left: auto; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; border: 1px solid #edecea26; color: var(--muted);
  white-space: nowrap;
}
.journey .tag.free { color: var(--sage); border-color: #7a948059; }
@media (max-width: 560px) {
  .journey { flex-wrap: wrap; gap: 10px; }
  .journey .tag { margin-left: 0; }
}

/* ---------- gallery ---------- */
.gallery {
  display: flex; gap: 22px; overflow-x: auto;
  /* first card lines up with the text column; the row still bleeds off-screen */
  padding: 6px max(24px, calc((100vw - var(--maxw)) / 2 + 24px)) 26px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery .phone { flex: 0 0 auto; scroll-snap-align: center; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 18px; }
.price {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.price.featured { border-color: #c4983c73; }
.price .badge {
  position: absolute; top: -11px; left: 24px; background: var(--gold); color: #14181a;
  font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  letter-spacing: 0.04em;
}
.price .plan { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.price .amount { font-family: var(--serif); font-size: 43px; line-height: 1; }
.price .per { font-size: 14px; color: var(--muted); margin-top: 7px; }

/* ---------- beta ---------- */
.beta {
  background: linear-gradient(150deg, #23282b, var(--deep));
  border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(34px, 5.5vw, 62px); text-align: center;
}
.beta h2 { margin-bottom: 14px; }
.beta p { margin: 0 auto 26px; max-width: 52ch; }
.beta .btn { margin: 0 6px 10px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line); padding: 52px 0 62px; text-align: center;
}
footer .heb { font-family: var(--serif); font-size: 27px; margin-bottom: 6px; }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 22px 0 18px; }
footer .links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
footer .links a:hover { color: var(--accent); }
footer small { color: #6f7673; font-size: 13px; }

/* ---------- disclaimer ---------- */
.disclaimer {
  border: 1px solid #c0705833; background: #c0705812;
  border-radius: 15px; padding: 20px 24px; font-size: 14.5px;
}
.disclaimer strong { color: var(--coral); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .journey:hover { transform: none; }
}

/* ---------- light mode ---------- */
@media (prefers-color-scheme: light) {
  :root {
    --deep: #ecebe6; --bg: #f4f5f3; --surface: #ffffff;
    --text: #2f3537; --muted: #6f7673;
    --accent: #7d94a4; --sage: #728071; --gold: #a88040; --coral: #967d62;
    --line: #2f353714;
  }
  header.nav { background: #f4f5f3d9; }
  .phone { background: linear-gradient(160deg, #d5d2ca, #b9b5ad); }
  .btn-primary { color: #ffffff; }
  .btn-ghost { border-color: #2f353733; }
  .beta { background: linear-gradient(150deg, #ffffff, #eceae4); }
}
