/* Aisle — shared styles. Dark, minimal, Apple-like. */

:root {
  --navy: #1F3A5F;
  --teal: #4FB3A8;
  --green: #8FD08F;
  --accent: #34C759;
  --cart-blue: #6BA4E8;

  /* Dark theme surfaces & text */
  --bg: #0e1116;
  --bg-soft: #151a22;
  --surface: #171d26;
  --surface-2: #1d2531;
  --ink: #f2f4f7;
  --ink-soft: #b6bdc8;
  --ink-faint: #7d8593;
  --line: #262e3a;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1040px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--cart-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,17,22,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--ink-soft); font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 980px;
  font-size: 16px; font-weight: 500; cursor: pointer; border: none;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { text-decoration: none; opacity: .92; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--teal); color: #06231f; font-weight: 600; }
.btn-ghost { background: transparent; color: var(--cart-blue); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); }

/* ---------- Hero ---------- */
.hero {
  text-align: center; padding: 84px 0 64px;
  background:
    radial-gradient(1100px 500px at 50% -180px, rgba(79,179,168,0.16), transparent 70%),
    radial-gradient(900px 460px at 85% 0, rgba(107,164,232,0.10), transparent 70%);
}
.hero .badge {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--teal);
  background: rgba(79,179,168,0.14); padding: 6px 14px; border-radius: 980px; margin-bottom: 22px;
}
.hero img.icon { width: 108px; height: 108px; border-radius: 24px; box-shadow: 0 16px 50px rgba(0,0,0,0.55); margin-bottom: 26px; }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 700; }
.hero .sub { font-size: clamp(18px, 2.4vw, 22px); color: var(--ink-soft); max-width: 620px; margin: 0 auto 34px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 16px; font-size: 14px; color: var(--ink-faint); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 700; text-align: center; }
.section-lead { text-align: center; color: var(--ink-soft); max-width: 620px; margin: 0 auto 48px; font-size: 18px; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
}
.section-alt .card { background: var(--surface-2); }
.card .ficon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 16px; font-size: 22px;
  background: rgba(107,164,232,0.14);
}
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- Privacy highlight ---------- */
.pill-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.pill { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; max-width: 300px; }
.pill strong { display: block; color: var(--teal); margin-bottom: 4px; }
.pill span { font-size: 14px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
details {
  border-bottom: 1px solid var(--line); padding: 6px 0;
}
details summary {
  cursor: pointer; list-style: none; padding: 18px 4px; font-size: 18px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--ink-faint); font-size: 24px; font-weight: 400; transition: transform .2s; }
details[open] summary::after { content: "\2013"; }
details p { margin: 0 4px 20px; color: var(--ink-soft); font-size: 16px; }

/* ---------- Roadmap / Feature updates ---------- */
.roadmap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.roadmap-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: flex; gap: 20px; align-items: flex-start;
}
.roadmap-item .ficon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; flex-shrink: 0; background: rgba(107,164,232,0.14);
}
.roadmap-item .rbody { flex: 1; }
.roadmap-item .rhead {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px;
}
.roadmap-item h3 { margin: 0; font-size: 19px; font-weight: 600; }
.roadmap-item p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.prio {
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 980px; white-space: nowrap;
}
.prio-high { color: #ff9d8f; background: rgba(255,90,70,0.16); }
.prio-medium { color: #ffcf70; background: rgba(255,176,50,0.15); }
.prio-low { color: var(--ink-soft); background: rgba(125,133,147,0.18); }
.prio-shipped { color: #06231f; background: var(--green); }
@media (max-width: 480px) {
  .roadmap-item .rhead { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Contact ---------- */
.contact-box { text-align: center; max-width: 620px; margin: 0 auto; }
.contact-box .email { font-size: 20px; font-weight: 600; color: var(--teal); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { text-align: left; font-size: 24px; margin: 40px 0 12px; color: var(--ink); }
.prose h3 { font-size: 18px; margin: 28px 0 8px; color: var(--ink); }
.prose p, .prose li { color: var(--ink-soft); font-size: 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--ink-faint); font-size: 14px; }
.page-head { padding: 64px 0 8px; text-align: center; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 20px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.foot-brand img { width: 26px; height: 26px; border-radius: 6px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--ink-faint); font-size: 14px; }
.foot-links a:hover { color: var(--ink-soft); }
.foot-copy { color: var(--ink-faint); font-size: 13px; width: 100%; }

/* ---------- Announcement band ---------- */
.announce {
  background:
    radial-gradient(800px 300px at 20% 0, rgba(143,208,143,0.12), transparent 70%),
    radial-gradient(800px 300px at 90% 100%, rgba(79,179,168,0.12), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.announce .inner { max-width: 780px; margin: 0 auto; text-align: center; }
.announce .tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: #06231f; background: var(--green);
  padding: 5px 14px; border-radius: 980px; margin-bottom: 20px;
}
.announce h2 { margin-bottom: 18px; }
.announce p { color: var(--ink-soft); font-size: 17px; max-width: 680px; margin: 0 auto 16px; }
.announce .sources { font-size: 14px; color: var(--ink-faint); }
.diet-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 24px 0 4px; }
.diet-badge {
  font-size: 14px; font-weight: 600; padding: 7px 16px; border-radius: 980px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.diet-badge::before { content: "✓ "; color: var(--green); font-weight: 700; }
.announce .siri-note { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.announce .siri-note h3 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -0.01em; }
.siri-quote {
  display: inline-block; margin: 6px auto 4px; font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 600; font-style: italic; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 980px; padding: 12px 26px;
}
.siri-quote .wave { font-style: normal; }

/* ---------- Quick start ---------- */
.steps { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: flex; gap: 20px; align-items: flex-start;
}
.step .num {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
  background: var(--teal); color: #06231f;
}
.step .sbody { flex: 1; }
.step h3 { margin: 4px 0 6px; font-size: 19px; font-weight: 600; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.step .kbd {
  font-weight: 600; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 7px; font-size: 13px; white-space: nowrap;
}

/* Tips grid (gestures & extras) */
.tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; margin: 0 auto; }
.tip {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}
.section-alt .tip { background: var(--surface-2); }
.tip .temoji { font-size: 22px; margin-bottom: 10px; display: block; }
.tip h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.tip p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.tip .kbd {
  font-weight: 600; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 7px; font-size: 13px; white-space: nowrap;
}
@media (max-width: 620px) { .tips { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a.hide-sm { display: none; }
  .hero { padding: 56px 0 44px; }
  section { padding: 52px 0; }
}
