@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --cream: #FCF6E8;
  --ink: #462600;
  --ember: #C66300;
  --ember-dark: #A85300;
  --sand: #DFCCA0;
  --clay: #6F5B2C;
  --butter: #F6E3B6;
  --leaf: #4B6B3A;
  --leaf-light: #EAF0E2;
  --white: #FFFDF8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: var(--ember); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

img, svg { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--sand);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: transform 0.28s ease;
}
.site-header--hidden {
  transform: translateY(-100%);
}
.site-header__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px 14px;
}

/* Row 1: logo left, App Store button + language pill right */
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}
.logo:hover { text-decoration: none; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--butter);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--clay);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}

/* Row 2: nav links, centered under the top row */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 12px;
  border-top: 1px solid var(--sand);
}
.main-nav a { font-size: 15px; color: var(--ink); font-weight: 500; }
.main-nav a:hover { color: var(--ember); text-decoration: none; }
.main-nav a.is-active { color: var(--ember); }

@media (max-width: 600px) {
  .header-row { flex-wrap: wrap; row-gap: 10px; }
  .header-actions { width: 100%; justify-content: space-between; }
  .main-nav { gap: 16px 22px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--ember); color: #fff !important; }
.btn--primary:hover { background: var(--ember-dark); text-decoration: none; }
.btn--secondary { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--cream) !important; text-decoration: none; }
.btn--small { padding: 9px 18px; font-size: 14px; border-radius: 8px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 88px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: 44px;
  margin-bottom: 22px;
  max-width: 18ch;
}
.hero p.lede {
  font-size: 18px;
  color: var(--clay);
  max-width: 46ch;
  margin-bottom: 30px;
}
.trust-line {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--clay);
}
.trust-line .dot { margin: 0 8px; color: var(--sand); }

.founder-note {
  margin: 26px auto 0;
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--sand);
  border-left: 3px solid var(--ember);
  border-radius: 0 12px 12px 0;
  padding: 16px 22px;
  text-align: left;
}
.founder-note p {
  font-size: 14.5px;
  color: var(--clay);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}
.founder-note__label {
  font-family: 'Fraunces', Georgia, serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.founder-note__label::after { content: "\2014\00a0"; }

@media (max-width: 860px) {
  .founder-note { max-width: 46ch; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; max-width: none; }
  .hero { padding: 44px 0 56px; }
}

/* ---------- Hero screenshot ---------- */

.hero__image {
display: flex;
align-items: center;
justify-content: center;
}

.hero__image img {
width: 100%;
max-width: 520px;
height: auto;
display: block;
}

/* Smaller screens */
@media (max-width: 860px) {
.hero__image {
margin-top: 24px;
}

.hero__image img {
max-width: 600px;
}
}


/* ---------- Section rhythm ---------- */
section { padding: 52px 0; }
section + section { border-top: 1px solid var(--sand); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: 30px; margin-bottom: 14px; }
.section-head p { color: var(--clay); font-size: 16.5px; }

/* ---------- Feature rows (zig-zag) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
}
.feature-row:not(:last-child) { border-bottom: 1px solid var(--sand); }
.feature-row.reverse .feature-row__art { order: 1; }
.feature-row.reverse .feature-row__text { order: 2; }
.feature-row__art {
  display: flex;
  justify-content: center;
}
.feature-row__art .shot-frame,
.feature-row__art .device-frame {
  width: 135px;
  max-width: 135px;
  margin: 0 auto;
}
.feature-row__art .dual-iphones {
  max-width: 290px;
  margin: 0 auto;
}
.feature-row__text h3 { font-size: 24px; margin-bottom: 12px; }
.feature-row__text p { color: var(--clay); font-size: 15.5px; margin-bottom: 10px; max-width: 54ch; }
.feature-row__text ul { margin: 14px 0 0 20px; }
.feature-row__text li { color: var(--clay); font-size: 15px; margin-bottom: 6px; }
.feature-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ember-dark);
  background: var(--butter);
  padding: 4px 11px;
  border-radius: 6px;
  margin-bottom: 14px;
}

@media (max-width: 780px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-row__art,
  .feature-row.reverse .feature-row__text { order: initial; }
}

/* ---------- Feature grid (compact, 2-up, replaces tall stacked rows) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
}
.feature-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
}
.feature-card--wide { grid-column: 1 / -1; }
.feature-card__art .shot-frame,
.feature-card__art .device-frame {
  margin: 0;
  padding: 8px;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.feature-card__art .shot-frame img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
}
.feature-card__art .shot-placeholder {
  aspect-ratio: auto;
  height: 100%;
  border-radius: 10px;
}
.feature-card .feature-tag { margin-bottom: 8px; }
.feature-card__text h3 { font-size: 18px; margin-bottom: 6px; }
.feature-card__text p { color: var(--clay); font-size: 14.5px; margin: 0; max-width: 42ch; }

@media (max-width: 780px) {
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .feature-card { grid-template-columns: 90px 1fr; gap: 14px; }
}

/* ---------- Phone frame art ---------- */
.phone {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 1px 0 var(--sand), 0 20px 40px -20px rgba(70, 38, 0, 0.35);
  max-width: 300px;
  margin: 0 auto;
}
.phone__screen {
  background: var(--cream);
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 18;
}

/* ---------- iPhone device frame (wraps a real screenshot) ----------
   Lifted from the Screenshot Studio tool's .frame-iphone so marketing
   screenshots use the same bezel proportions as the App Store shots. */
.device-frame {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 1290 / 2796; /* matches Screenshot Studio's ASPECT.iphone */
  filter: drop-shadow(0 20px 40px rgba(70, 38, 0, 0.35));
}
.device-frame__body {
  position: absolute;
  inset: 0;
  background: #0c0c0e;
  border-radius: 19% / 8.77%;
  box-shadow: 0 0 0 3px #2b2b30 inset, 0 0 0 5px #050506 inset;
}
.device-frame__screen {
  position: absolute;
  top: 0.95%;
  bottom: 0.95%;
  left: 2.05%;
  right: 2.05%;
  border-radius: 17.7% / 7.97%;
  overflow: hidden;
  background: #000;
}
.device-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.device-frame__btn {
  position: absolute;
  background: linear-gradient(90deg, #0b0b0d, #1a1a1d);
  box-shadow: 0 0 0 1px #000, 0 0 0 0.5px #333 inset;
}
.device-frame__btn.mute { left: -0.9%; top: 15%; width: 0.9%; height: 2.8%; border-radius: 2px 0 0 2px; }
.device-frame__btn.vol-up { left: -0.9%; top: 21%; width: 0.9%; height: 5.6%; border-radius: 2px 0 0 2px; }
.device-frame__btn.vol-down { left: -0.9%; top: 27.6%; width: 0.9%; height: 5.6%; border-radius: 2px 0 0 2px; }
.device-frame__btn.power { right: -0.9%; top: 21%; width: 0.9%; height: 8.4%; border-radius: 0 2px 2px 0; }

/* ---------- iPad frame (modifier on .device-frame) ---------- */
.device-frame--ipad { aspect-ratio: 2048 / 2732; }
.device-frame--ipad .device-frame__body { border-radius: 5% / 3.6%; }
.device-frame--ipad .device-frame__screen { top: 2%; bottom: 2%; left: 2%; right: 2%; border-radius: 2.4% / 1.8%; }
.device-frame__cam {
  position: absolute;
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
  width: 1.4%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #1c1c1e;
  box-shadow: 0 0 0 1px #333;
}

/* ---------- Apple Watch frame (modifier on .device-frame) ---------- */
.device-frame--watch { aspect-ratio: 410 / 502; }
.device-frame--watch .device-frame__body { border-radius: 30% / 24.5%; }
.device-frame--watch .device-frame__screen { top: 3.5%; bottom: 3.5%; left: 4.3%; right: 4.3%; border-radius: 28.1% / 22.6%; }
.device-frame__crown {
  position: absolute;
  right: -4%;
  top: 21%;
  width: 5%;
  height: 8%;
  background: linear-gradient(90deg, #101012, #222225);
  border-radius: 2px 3px 3px 2px;
  box-shadow: 0 0 0 1px #333;
}
.device-frame__side-btn {
  position: absolute;
  right: -3.3%;
  top: 36%;
  width: 3.6%;
  height: 11%;
  background: linear-gradient(90deg, #101012, #1e1e21);
  border-radius: 2px 3px 3px 2px;
  box-shadow: 0 0 0 1px #333;
}
.device-frame__band {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 58%;
  background: #18181a;
  z-index: -1;
}
.device-frame__band.top { top: -38%; height: 40%; border-radius: 22% 22% 0 0; }
.device-frame__band.bottom { bottom: -38%; height: 40%; border-radius: 0 0 22% 22%; }

/* ---------- Hero device cluster (iPad + iPhone + Watch, side by side) ---------- */
.hero-devices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-devices .device-frame {
  margin: 0;
  filter: drop-shadow(0 20px 40px rgba(70, 38, 0, 0.35));
}
.hero-devices .device-frame--ipad { width: 46%; max-width: 190px; }
.hero-devices .device-frame--iphone { width: 135px; max-width: 135px; }
.hero-devices .device-frame--watch { width: 14%; max-width: 65px; }

@media (max-width: 560px) {
  .hero-devices { flex-direction: column; }
  .hero-devices .device-frame--ipad { width: auto; max-width: 180px; }
  .hero-devices .device-frame--iphone { width: 115px; max-width: 115px; }
  .hero-devices .device-frame--watch { width: auto; max-width: 75px; }
}

/* ---------- Dual iPhone hero shot ---------- */
.dual-iphones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  width: 100%;
}
.dual-iphones .device-frame--iphone {
  width: 135px;
  max-width: 135px;
  flex: 0 0 auto;
  margin: 0;
}
@media (max-width: 560px) {
  .dual-iphones { gap: 14px; }
  .dual-iphones .device-frame--iphone { width: 115px; max-width: 115px; }
}

/* ---------- Screenshot slots ---------- */
.shot-frame {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 18px 36px -20px rgba(70, 38, 0, 0.35);
}
.shot-frame img {
  border-radius: 14px;
  width: 100%;
  display: block;
}
.shot-placeholder {
  aspect-ratio: 9 / 18;
  border-radius: 14px;
  background: var(--butter);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clay);
  font-size: 13px;
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--sand);
}

/* ---------- Callout / highlight blocks (matches legal pages) ---------- */
.callout {
  background: var(--butter);
  border-left: 3px solid var(--ember);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  font-size: 15.5px;
  color: var(--ink);
}

/* ---------- Steps (how it works) ---------- */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 36px 0;
}
.step:not(:last-child) { border-bottom: 1px solid var(--sand); }
.step__num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--ember);
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--clay); font-size: 15.5px; max-width: 60ch; }

/* ---------- Language chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--sand); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--sand); }
.faq-item h3 { font-size: 17px; margin-bottom: 8px; }
.faq-item p { font-size: 15px; color: var(--clay); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: left; }
.final-cta h2 { font-size: 32px; margin-bottom: 16px; max-width: 20ch; }
.final-cta p { color: var(--clay); margin-bottom: 26px; max-width: 50ch; }

/* "Let's get started" band: warm, boxed, centered, on every page's final CTA */
.cta-band {
  background: var(--butter);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
}
.cta-band h2 { margin: 0 auto 14px; max-width: 22ch; }
.cta-band p { margin: 0 auto 28px; max-width: 50ch; }
.cta-band .btn-row { justify-content: center; }
@media (max-width: 600px) {
  .cta-band { padding: 40px 22px; border-radius: 20px; }
}

/* ---------- Compare card (used inside customization carousel pairs) ---------- */
.compare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Fixed-height art well: keeps a single phone and a 3-phone theme trio
   visually the same size, since height (not width) is the controlling
   dimension and device-frame's aspect-ratio does the rest. */
.compare-card__art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  height: 230px;
  margin-bottom: 20px;
}
.compare-card__art .device-frame--iphone {
  height: 100%;
  width: auto;
  max-width: none;
  margin: 0;
}
.compare-card h3 { font-size: 20px; margin-bottom: 8px; }
.compare-card p { color: var(--clay); font-size: 15px; max-width: 42ch; margin: 0 auto; }

@media (max-width: 420px) {
  .compare-card__art { height: 190px; }
}

/* Modifier: size a single-phone carousel slide the same as a regular
   feature-row screenshot (135px wide), instead of the height-driven
   sizing used for multi-phone theme comparisons. */
.compare-card__art--fixed {
  height: auto;
  align-items: flex-start;
}
.compare-card__art--fixed .device-frame--iphone {
  width: 135px;
  max-width: 135px;
  height: auto;
}

/* ---------- Swipe carousel (customization, grouped by pairs) ---------- */
.swipe-carousel {
  position: relative;
  padding: 0 8px;
}
.swipe-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 48px;
  padding: 4px 4px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.swipe-track::-webkit-scrollbar { display: none; }
.swipe-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.swipe-slide--pair {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
}
.swipe-slide--pair .compare-card { flex: 1 1 0; min-width: 0; }
.swipe-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.swipe-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sand); border: none; padding: 0; cursor: pointer;
}
.swipe-dot.is-active { background: var(--ember); }
.swipe-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--sand);
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px -12px rgba(70, 38, 0, 0.4);
}
.swipe-arrow:disabled { opacity: 0.35; cursor: default; }
.swipe-arrow--prev { left: -14px; }
.swipe-arrow--next { right: -14px; }
@media (max-width: 780px) {
  .swipe-arrow { display: none; }
  .swipe-track { gap: 0; }
  /* On mobile, each pair wrapper drops out of layout (display: contents)
     so its two .compare-card children become the direct scroll-snap
     items themselves, one full-width card per swipe. Desktop keeps the
     pair as the snap unit (see default, non-media-query rules above). */
  .swipe-slide--pair { display: contents; }
  .swipe-slide--pair .compare-card {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: center;
  }
}

/* ---------- Recipe input methods (diagonal layout: images at the outer
   edges, the two text blocks stacked and offset toward their own image) ---------- */
.recipe-methods {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.recipe-methods__img { display: flex; }
.recipe-methods__img .device-frame--iphone { width: 150px; max-width: 150px; margin: 0; }
.recipe-methods__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.recipe-methods__block { max-width: 300px; }
.recipe-methods__block--left { margin-right: auto; text-align: left; }
.recipe-methods__block--right { margin-left: auto; text-align: right; }
.recipe-methods__block h3 { font-size: 20px; margin-bottom: 8px; }
.recipe-methods__block p { color: var(--clay); font-size: 15px; margin: 0; }

@media (max-width: 860px) {
  .recipe-methods { grid-template-columns: 1fr; justify-items: center; }
  .recipe-methods__text { gap: 32px; max-width: none; }
  .recipe-methods__block,
  .recipe-methods__block--left,
  .recipe-methods__block--right {
    max-width: 46ch;
    margin: 0 auto;
    text-align: center;
  }
}

/* ---------- Icon feature grid (no-screenshot feature list) ---------- */
.icon-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
}
.icon-feature-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.icon-feature-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--butter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}
.icon-feature-card__text h3 { font-size: 16.5px; margin-bottom: 6px; }
.icon-feature-card__text p { color: var(--clay); font-size: 14.5px; margin: 0; max-width: 40ch; }

@media (max-width: 700px) {
  .icon-feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--sand);
  padding: 40px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: var(--clay); }
.footer-nav a:hover { color: var(--ember); }
.footer-copy { font-size: 13px; color: var(--clay); }
