/* ============================================================
   Itinr — landing page styles (on top of design-system.css)
   Narrative: Plan → Record → Remember (homepage content spec §1)
   ============================================================ */

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

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

/* ── Nav ── */
nav.top {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
}
nav.top .wrap { display: flex; align-items: center; gap: 28px; }
.logo { font: 800 22px/1 var(--font-stack); letter-spacing: -.5px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--brand); }
nav.top a.link { color: var(--text-secondary); text-decoration: none; font: 600 14px var(--font-stack); }
nav.top a.link:hover { color: var(--brand); }
nav.top .spacer { flex: 1; }
nav.top .ds-btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 640px) { nav.top a.link { display: none; } }

/* ── Hero ── */
header.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 0 0 18px; }
.hero .lead { font-size: 19px; color: var(--zinc-deep); max-width: 520px; margin: 0 0 28px; }
.hero .cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero .cta-note { font: 600 13px var(--font-stack); color: var(--text-secondary); }
.eyebrow { display: inline-block; margin-bottom: 16px; }

/* Phone mockups */
.phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 250px; padding: 10px;
  background: var(--ink); border-radius: 40px; box-shadow: var(--shadow-float);
}
.phone img { width: 100%; display: block; border-radius: 31px; }
.phone.front { right: 8%; top: 42px; transform: rotate(3deg); z-index: 2; }
.phone.back  { right: 46%; top: 0; transform: rotate(-6deg); opacity: .96; }
@media (max-width: 860px) {
  .phones { height: 480px; margin-top: 8px; }
  .phone { width: 210px; }
  .phone.front { right: 6%; }
  .phone.back { right: 48%; }
}

/* ── Sections ── */
section { padding: 72px 0; }
.center { text-align: center; }
.section-eyebrow { color: var(--brand); margin-bottom: 12px; display: block; }
h2.sec { margin: 0 0 10px; font-size: 40px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.08; }
p.sec-sub { color: var(--zinc-deep); font-size: 17px; max-width: 620px; margin: 0 auto 40px; }
.left p.sec-sub { margin: 0 0 28px; }

/* Modern SVG icons — stroke style, brand-tinted rounded tile (SF-Symbols feel) */
.ico { display: block; width: 100%; height: 100%; stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tile { display: inline-flex; align-items: center; justify-content: center;
  border-radius: 13px; background: var(--brand-tint); color: var(--brand); }

/* 3-axis overview */
.axis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .axis-grid { grid-template-columns: 1fr; } }
.axis { padding: 28px; text-align: left; }
.axis .icon { width: 48px; height: 48px; margin-bottom: 16px; }
.axis .icon .ico { width: 26px; height: 26px; }
.axis h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.axis p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* Feature split */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.rev > .shots { order: -1; }
@media (max-width: 860px) { .feature, .feature.rev { grid-template-columns: 1fr; gap: 32px; } .feature.rev > .shots { order: 2; } }
.feature ul.bullets { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.feature ul.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.feature ul.bullets .bi {
  flex: 0 0 34px; height: 34px; border-radius: 11px; background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.feature ul.bullets .bi .ico { width: 18px; height: 18px; }
.feature ul.bullets b { display: block; letter-spacing: -.2px; }
.feature ul.bullets span.d { color: var(--text-secondary); font-size: 14px; }
.shots { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.shot {
  width: 244px; padding: 9px; background: var(--ink);
  border-radius: 36px; box-shadow: var(--shadow-card);
}
.shot img { width: 100%; display: block; border-radius: 28px; }
.shots .shot:nth-child(2) { margin-top: 44px; }
@media (max-width: 560px) { .shots { flex-direction: column; align-items: center; } .shots .shot:nth-child(2) { margin-top: 0; } }
.kicker-line { margin-top: 28px; font: 600 15px var(--font-stack); color: var(--zinc-deep); }

/* Remember — photo-tone dark section */
section.remember { background: var(--ink); color: #fff; border-radius: var(--r-28); margin: 0 12px; }
section.remember h2.sec { color: #fff; }
section.remember p.sec-sub { color: rgba(255,255,255,.72); }
section.remember .bullets b { color: #fff; }
section.remember .bullets span.d { color: rgba(255,255,255,.6); }
section.remember .bullets .bi { background: rgba(10,132,255,.22); color: #6cb2ff; }
section.remember .shot { background: #1c1c1e; box-shadow: 0 24px 48px rgba(0,0,0,.5); }
.pro-pill { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--brand); color: #fff; font: 800 10px/1.5 var(--font-stack); letter-spacing: .4px; vertical-align: 2px; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card { padding: 24px; text-align: left; }
.trust-card .icon { width: 42px; height: 42px; margin-bottom: 14px; }
.trust-card .icon .ico { width: 22px; height: 22px; }
.trust-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.trust-card p { margin: 0; color: var(--text-secondary); font-size: 14px; }
.trust-tag { margin-top: 32px; font: 800 20px var(--font-stack); letter-spacing: -.4px; }

/* Plans */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-top: 8px; }
@media (max-width: 860px) { .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }
.plan { padding: 30px 26px; text-align: left; display: flex; flex-direction: column; }
.plan.star { border: 2px solid var(--brand); position: relative; box-shadow: var(--shadow-brand); }
.plan.star::before {
  content: "Most travelers"; position: absolute; top: -13px; left: 24px;
  background: var(--brand); color: #fff; padding: 3px 12px; border-radius: 999px;
  font: 800 11px/1.6 var(--font-stack); letter-spacing: .4px;
}
.plan .name { font: 800 14px var(--font-stack); letter-spacing: .6px; text-transform: uppercase; color: var(--text-secondary); }
.plan.star .name { color: var(--brand); }
.plan .price { font: 800 34px/1.1 var(--font-stack); letter-spacing: -1.2px; margin: 10px 0 2px; }
.plan .per { color: var(--text-tertiary); font: 600 13px var(--font-stack); margin-bottom: 18px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.plan ul li::before { content: "✓  "; color: var(--brand); font-weight: 800; }
.plan ul li.dim { color: var(--text-tertiary); }
.plan ul li.dim::before { content: "—  "; color: var(--text-tertiary); }
.plan .ds-btn { margin-top: auto; }
.plans-note { margin-top: 22px; color: var(--text-tertiary); font-size: 12.5px; text-align: center; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-16); padding: 4px 22px; }
.faq summary { cursor: pointer; font: 700 15.5px/1.4 var(--font-stack); padding: 14px 0; letter-spacing: -.2px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--text-secondary); font-size: 14.5px; }

/* Final CTA */
section.final { text-align: center; padding: 88px 0 96px; }
section.final h2 { font-size: 44px; }

/* Footer */
footer { border-top: 1px solid var(--hairline); padding: 32px 0 48px; color: var(--text-tertiary); font-size: 13px; }
footer .wrap { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
footer a { color: var(--text-secondary); text-decoration: none; }
footer a:hover { color: var(--brand); }
footer .spacer { flex: 1; }

/* Official App Store badge — Apple-provided artwork (do not restyle the mark). */
.appstore-badge {
  display: inline-block; line-height: 0;
  transition: transform .15s ease;
}
.appstore-badge:hover { transform: translateY(-1px); }
.appstore-badge img { height: 48px; width: auto; display: block; }
