/* Nutari — marketing + legal site. Brand: blue #2F6BFF + coral #FF5A3C +
   navy ink #15224C on warm off-white. Fraunces (serif display) + Plus Jakarta Sans. */

:root {
  --bg: #f7f4ee;
  --panel: #ffffff;
  --surface: #f2eee5;
  --line: #e5e1d6;
  --line2: #d8d3c6;
  --ink: #15224c;
  --mid: #5b6472;
  --dim: #98a0a8;
  --brand: #2f6bff;
  --brand-ink: #1f4fd0;
  --coral: #ff5a3c;
  --green: #34b27b;
  --amber: #f0b429;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 16px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 244, 238, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a { color: var(--mid); text-decoration: none; font-weight: 500; font-size: 15px; }
.primary-nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; padding: 11px 20px; border: 1px solid transparent; cursor: pointer; transition: transform .06s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover { background: var(--panel); }

.btn-store { display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 13px; padding: 11px 20px; }
.btn-store svg { width: 22px; height: 26px; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-text small { font-size: 11px; opacity: .85; }
.store-text strong { font-size: 17px; font-weight: 600; }
.btn-store.disabled { opacity: .55; pointer-events: none; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.5px; margin: 0 0 18px; }
.lead { font-size: 18px; color: var(--mid); margin: 0 0 28px; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: 13px; color: var(--dim); margin-top: 18px; }

/* Phone mockup */
.phone-frame { justify-self: center; width: 280px; height: 566px; background: #10182f; border-radius: 40px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(21,34,76,.45); }
.phone-screen { width: 100%; height: 100%; background: var(--bg); border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; }
.phone-status { display: flex; justify-content: space-between; padding: 14px 20px 6px; font-size: 12px; font-weight: 600; color: var(--ink); }
.mock { padding: 12px 16px; }
.mock-card { margin: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.mock-ring-row { display: flex; align-items: center; gap: 16px; }
.mock-ring text { font-family: var(--serif); }
.mock-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.mock-big { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); }
.mock-macros { display: flex; gap: 8px; margin: 14px 14px 4px; }
.mock-macro { flex: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 9px; text-align: center; }
.mock-macro span { display: block; font-size: 10px; color: var(--mid); }
.mock-macro strong { font-family: var(--serif); font-size: 15px; }
.mock-meal { display: flex; align-items: center; gap: 10px; margin: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.mock-thumb { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #ffd9cf, #ffb3a3); flex: none; }
.mock-kcal { margin-left: auto; font-weight: 700; color: var(--coral); font-size: 13px; }

/* Stat strip */
.stat-strip { background: var(--ink); color: #fff; }
.stat-strip .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding: 22px 24px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--serif); font-size: 20px; }
.stat span { font-size: 13px; color: #b9c0d4; }

/* Sections */
.section { padding: 80px 0; }
.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.14; margin: 12px 0 14px; letter-spacing: -0.4px; }
.section-head p { color: var(--mid); font-size: 17px; margin: 0; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin: 0 0 8px; }
.feature-card p { color: var(--mid); font-size: 15px; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 10px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin: 0 0 8px; }
.step p { color: var(--mid); font-size: 15px; margin: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; }
.plan-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.plan-card.featured { border: 2px solid var(--brand); box-shadow: 0 20px 40px -24px rgba(47,107,255,.5); }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px; padding: 5px 12px; border-radius: 8px; text-transform: uppercase; }
.plan-card h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0 0 6px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; }
.plan-price strong { font-family: var(--serif); font-size: 34px; font-weight: 700; }
.plan-price span { color: var(--mid); font-size: 15px; }
.plan-features { list-style: none; padding: 0; margin: 18px 0 0; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink); padding: 7px 0; }
.plan-features li svg { color: var(--green); flex: none; margin-top: 3px; }
.hint { color: var(--mid); font-size: 14px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin-bottom: 12px; padding: 0 20px; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 22px; font-weight: 400; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-body { color: var(--mid); font-size: 15px; padding: 0 0 20px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #2f6bff, #1f4fd0); color: #fff; padding: 72px 0; text-align: center; }
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 12px; }
.cta-band p { color: #dbe4ff; font-size: 17px; margin: 0 auto 26px; max-width: 32em; }
.cta-band .btn-store { background: #fff; color: var(--ink); }
.cta-band a { color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd5e4; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 30px 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 18px; text-decoration: none; }
.footer-brand svg { width: 26px; height: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.footer-links a { color: #cfd5e4; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.copyright { width: 100%; font-size: 13px; color: #8a93ac; border-top: 1px solid #26335c; padding-top: 16px; }

/* Legal pages */
.legal-hero { border-bottom: 1px solid var(--line); padding: 48px 0 32px; }
.legal-hero h1 { font-size: clamp(30px, 4vw, 42px); margin: 8px 0 8px; }
.legal-hero .meta { color: var(--mid); font-size: 15px; }
.legal { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 38px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #34404e; font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--line2); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface); font-weight: 600; }
.legal .callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 10px; padding: 14px 18px; margin: 20px 0; font-size: 15px; color: var(--ink); }
.legal a { color: var(--brand-ink); }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--mid); text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .phone-frame { order: -1; margin-bottom: 12px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .primary-nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stat-strip .wrap { flex-direction: column; gap: 14px; }
}

/* real brand mark image (replaces the old inline SVG) */
.brand-mark { display: block; object-fit: contain; }
.brand .brand-mark { height: 30px; width: auto; }
.footer-brand .brand-mark { height: 26px; width: auto; }

/* screenshots gallery */
.shots-row {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 6px 4px 24px; margin-top: 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots-row img {
  flex: 0 0 auto; width: 234px; height: auto;
  border-radius: 26px; border: 1px solid var(--line);
  box-shadow: 0 26px 50px -26px rgba(21, 34, 76, .30);
  scroll-snap-align: center; background: var(--surface);
}
.shots-row::-webkit-scrollbar { height: 8px; }
.shots-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
@media (max-width: 640px) { .shots-row img { width: 200px; } }
