/* Noodle marketing site — self-contained, no external assets.
   Brand: soft pastel butter yellow (#F7E8A2) with warm dark-brown text
   (#3A2E0A), matching the app (NoodleTest/BrandColor.swift). Logo is the
   cream-tile noodle-bowl mark (sleepy-eyed bowl). */

@font-face {
  font-family: "Pacifico";
  src: url("Pacifico-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --brand: #F7E8A2;        /* soft pastel butter yellow (app's Color.brand) */
  --brand-deep: #E3CC6E;   /* hover / stronger / borders */
  --brand-tint: #FCF6DC;   /* pale wash for chips & icon plates */
  --on-brand: #3A2E0A;     /* warm dark brown text on the yellow (app's onBrand) */

  --ink: #16140C;          /* near-black body text */
  --ink-soft: #5C584A;
  --paper: #FFFFFF;
  --paper-2: #FBFAF1;
  --line: #ECE7D4;
  --dark-bg: #16140C;
  --dark-soft: #B7B19A;

  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1080px;

  --font: "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 3px solid var(--on-brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- Logo lockup (app mark + wordmark) ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-logo { display: block; width: 40px; height: 40px; border-radius: 11px; }
.brand-logo.small { width: 30px; height: 30px; border-radius: 8px; }
.brand-name { font-family: "Pacifico", var(--font); font-size: 22px; font-weight: 400; line-height: 1; padding-top: 2px; }
.brand-name.small { font-size: 17px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600;
  padding: 11px 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand-deep); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #d9d2bb; }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 24px 52px;
}
.eyebrow {
  display: inline-block;
  background: var(--brand); color: var(--on-brand);
  font-size: 13px; font-weight: 600;
  padding: 6px 13px; border-radius: 999px; margin: 0 0 22px;
}
h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08; letter-spacing: -0.03em;
  margin: 0 0 18px; font-weight: 800;
}
.lede { font-size: 18px; color: var(--ink-soft); margin: 0 0 28px; max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.fine-print { font-size: 13px; color: #94907f; margin: 0; }

.hero-phones { display: flex; gap: 18px; justify-content: center; }
.phone {
  width: 186px; aspect-ratio: 186 / 380;
  border-radius: 30px; padding: 9px;
  background: #100e08;
  box-shadow: 0 24px 60px -24px rgba(22, 20, 12, 0.45);
}
.phone:first-child { transform: rotate(-3deg) translateY(8px); }
.phone:last-child { transform: rotate(3deg); }
.phone-screen {
  width: 100%; height: 100%; border-radius: 23px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 0 18px;
}
/* photo "locked viewer" screen */
.phone-screen.shot { position: relative; padding: 0; overflow: hidden; background: #16140C; }
.shot-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-photo + .lock-pill, .shot-caption { position: absolute; }
.lock-pill {
  top: 12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(22,20,12,0.6); color: #fff; backdrop-filter: blur(4px);
  font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
}
.shot-caption {
  bottom: 0; left: 0; right: 0; padding: 26px 12px 12px;
  font-size: 11px; color: #fff; text-align: center;
  background: linear-gradient(transparent, rgba(22,20,12,0.7));
}
/* collection grid screen */
.phone-screen.grid-screen { padding: 0; background: var(--brand); justify-content: flex-start; gap: 0; }
.grid-head { padding: 14px 0 8px; font-family: "Pacifico", var(--font); font-size: 18px; color: var(--on-brand); }
.thumb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; padding: 0 10px; width: 100%; }
.thumb-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.grid-foot { padding: 10px 12px; font-size: 11px; color: #6e5e2e; line-height: 1.3; }

/* ---------- Name callout (doubles as the logo spotlight) ---------- */
.namebar {
  max-width: 660px; margin: 8px auto 0; padding: 26px;
  background: var(--brand-tint); border: 1px solid var(--brand-deep);
  border-radius: 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.namebar-logo {
  width: 112px; height: 112px; border-radius: 26px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.namebar-text {
  margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink);
}
.namebar strong { color: var(--on-brand); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 58px 24px; }
.section-head { max-width: 36em; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 700; }
.section-head p { font-size: 17px; color: var(--ink-soft); margin: 0; }

/* ---------- Feature grid ---------- */
.feature-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -20px rgba(22,20,12,.3); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand); color: var(--on-brand);
  margin-bottom: 14px;
}
.card h3 { font-size: 17px; margin: 0 0 6px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---------- From the app (dark screenshots) ---------- */
.appshots { background: #15130C; color: #F2EFE2; padding: 58px 24px; }
.appshots-head { max-width: 36em; margin: 0 auto 40px; text-align: center; }
.appshots-head h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 700; color: #fff; }
.appshots-head p { font-size: 17px; color: var(--dark-soft); margin: 0; }
.appshot-row { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; }
.appshot { margin: 0; width: 232px; text-align: center; }
.appshot img {
  width: 100%; display: block; border-radius: 30px;
  background: #000; border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8);
}
.appshot figcaption { margin-top: 16px; font-size: 13px; color: var(--dark-soft); }
.appshot.tilt-l { transform: rotate(-2deg); }
.appshot.tilt-r { transform: rotate(2deg); }

/* ---------- Privacy band ---------- */
.privacy { background: var(--dark-bg); color: #F2EFE2; padding: 58px 24px; }
.privacy-inner { max-width: 44em; margin: 0 auto; text-align: center; }
.privacy-icon { display: inline-flex; color: var(--brand); margin-bottom: 16px; }
.privacy h2 { font-size: clamp(24px, 3.2vw, 32px); color: #fff; letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 700; }
.privacy p { font-size: 17px; color: var(--dark-soft); margin: 0 auto 24px; }
.privacy-points {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center;
  font-size: 15px; color: #E7E2D0;
}
.privacy-points li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); display: inline-block; }

/* ---------- Privacy receipt (playful, on-brand) ---------- */
.receipt {
  max-width: 320px; margin: 34px auto 0; text-align: center;
  background: #FBFAF1; color: #2A2520; border-radius: 10px;
  padding: 20px 22px 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px;
  box-shadow: 0 22px 50px -26px rgba(0,0,0,0.7);
  transform: rotate(-1.4deg);
}
.receipt-head { font-family: "Pacifico", var(--font); font-size: 22px; line-height: 1; color: #2A2520; }
.receipt-sub { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #8a8170; margin-top: 3px; }
.receipt-rule { border-top: 1px dashed #cabfaa; margin: 13px 0; }
.receipt-row { display: flex; align-items: baseline; gap: 6px; text-align: left; padding: 2px 0; }
.receipt-row i { flex: 1; border-bottom: 1px dotted #d2cab4; transform: translateY(-3px); }
.receipt-row span:last-child { font-weight: 500; white-space: nowrap; }
.receipt-row.total { font-weight: 700; font-size: 13px; }
.receipt-foot { margin-top: 13px; font-size: 11px; color: #8a8170; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  max-width: 720px; margin: 0 auto;
}
.price-card {
  position: relative;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px;
}
.price-card.featured { border: 2px solid var(--brand-deep); }
.price-badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--brand); color: var(--on-brand);
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
}
.price-name { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.price-amount { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 2px; }
.price-once { font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.price-tag { font-size: 13px; color: var(--ink-soft); margin: 0 0 18px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  font-size: 14.5px; color: var(--ink-soft); padding: 7px 0 7px 26px; position: relative;
  border-top: 1px solid var(--line);
}
.price-list li:first-child { border-top: none; }
.price-list li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

/* ---------- Final CTA ---------- */
.final-cta { background: var(--brand); text-align: center; padding: 58px 24px; }
.final-cta h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 800; color: var(--on-brand); }
.final-cta p { font-size: 18px; color: #5c4e22; margin: 0 0 26px; }
.final-cta .btn-primary { background: var(--ink); color: var(--brand); border-color: var(--ink); }
.final-cta .btn-primary:hover { background: #000; }

/* ---------- Contact ---------- */
.contact-line { text-align: center; margin: 4px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero-copy { order: 1; }
  .hero-phones { order: 2; margin-top: 8px; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nav-links a:not(.btn) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .phone { width: 160px; }
  .section, .privacy, .final-cta { padding-top: 56px; padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
