/* Home page only. Sub pages keep style.css. */
:root {
  --bg: #fbf8f4;
  --bg-alt: #f3ede5;
  --surface: #ffffff;
  --fg: #231e1a;
  --muted: #6b625a;
  --accent: #b5452f;
  --accent-soft: #f6e1d9;
  --line: #e7dfd5;
  --ink: #1d1916;
  --ink-fg: #f4eee7;
  --ink-muted: #b9ada1;
  --shadow: 0 24px 60px -24px rgba(60, 35, 20, .35);
  --radius: 22px;
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151210;
    --bg-alt: #1c1815;
    --surface: #221d19;
    --fg: #f2ece5;
    --muted: #b3a89d;
    --accent: #ec8e74;
    --accent-soft: #3a241d;
    --line: #342d28;
    --ink: #0e0c0b;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .2em; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.bar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.bar-inner { display: flex; align-items: center; gap: 2rem; height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.bar nav { display: flex; gap: 1.6rem; margin-left: auto; }
.bar nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.bar nav a:hover { color: var(--fg); }
.pill { display: inline-block; border-radius: 999px; padding: .35rem .9rem; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.pill-accent { background: var(--accent-soft); color: var(--accent); }

/* Shared section pieces */
section { padding: 6rem 0; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: .9rem; }
.section-head { max-width: 44rem; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.15rem; margin-top: 1rem; }
.i { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-sm { width: 18px; height: 18px; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
}
.ticks li::after {
  content: ""; position: absolute; left: .4rem; top: calc(.3em + .28rem); width: .3rem; height: .55rem;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.button {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  padding: .8rem 1.4rem; border-radius: 999px; margin-top: 1.5rem;
}
.button:hover { filter: brightness(1.07); }

/* Device frame */
.device {
  margin: 0; padding: 9px; border-radius: 46px; background: #121010;
  box-shadow: var(--shadow), inset 0 0 0 1.5px #3b3633;
  width: 100%; max-width: 19rem;
}
.device img { border-radius: 37px; width: 100%; }

/* Hero */
.hero { padding: 4.5rem 0 5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
.hl { color: var(--accent); display: block; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); margin-top: 1.5rem; max-width: 34rem; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .92rem; font-weight: 600; }
.hero-visual { position: relative; min-height: 34rem; display: flex; justify-content: center; align-items: center; }
.glow {
  position: absolute; inset: 8% 0 4% 6%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent);
  filter: blur(10px);
}
.hero-visual .device { position: relative; width: 15.5rem; }
.device-front { z-index: 2; transform: translateX(3.5rem) rotate(2deg); }
.device-back { position: absolute !important; z-index: 1; transform: translateX(-5.5rem) translateY(1.5rem) rotate(-6deg) scale(.92); opacity: .95; }

/* Values */
.values { padding: 0 0 5rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.value .i { color: var(--accent); }
.value h2 { font-size: 1.2rem; margin: 1.1rem 0 .5rem; letter-spacing: -.01em; }
.value p { color: var(--muted); }

/* Features */
.features { background: var(--bg-alt); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 3rem 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature .device { justify-self: center; max-width: 17rem; }
.feature.flip .device { order: -1; }
.feature h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.note { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem !important; padding: .9rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--fg) !important; font-size: .98rem !important; }
.note .i { color: var(--accent); margin-top: .15rem; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.tile { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; overflow: hidden; }
.tile .i { color: var(--accent); margin-bottom: 1rem; }
.tile h3 { font-size: 1.12rem; margin-bottom: .4rem; letter-spacing: -.01em; }
.tile p { color: var(--muted); font-size: .97rem; }
.tile-shot { display: flex; flex-direction: column; padding-bottom: 0; background: linear-gradient(180deg, var(--surface), var(--bg-alt)); }
.tile-shot img { width: 72%; margin: 1.5rem auto 0; border-radius: 26px 26px 0 0; box-shadow: 0 -2px 0 1px var(--line), var(--shadow); aspect-ratio: 506 / 560; object-fit: cover; object-position: top; }
.tile:nth-child(n+4) { grid-column: span 2; }

/* Sharing */
.share-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.share .device { justify-self: center; max-width: 16rem; }
.share h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 1rem; }
.share p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }

/* Privacy */
.privacy { background: var(--ink); color: var(--ink-fg); }
.privacy .eyebrow { color: #ec8e74; }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid #3a332e; padding-top: 2.5rem; }
.privacy h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.privacy p { color: var(--ink-muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 24rem)); gap: 1.5rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.plan h3 { font-size: 1.1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: .4rem 0 .75rem; }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan > p:not(.price) { color: var(--muted); }
.plan-featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan-featured h3 { color: var(--accent); }

/* Story */
.story { background: var(--bg-alt); }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.story-img img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.story h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.story p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

/* Contact + footer */
.contact { padding: 5rem 0; text-align: center; }
.contact.android { padding-bottom: 0; }
.contact h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: .75rem; }
.contact p { color: var(--muted); font-size: 1.1rem; }
.foot { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; color: var(--muted); font-size: .95rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot-grid p { margin-top: .6rem; }
.foot nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--fg); }
.foot-note { margin-top: 2rem; font-size: .85rem; }

/* Tablet */
@media (max-width: 960px) {
  section { padding: 4.5rem 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 30rem; }
  .values-grid { grid-template-columns: 1fr; }
  .feature, .share-grid, .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature.flip .device { order: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile:nth-child(n+4) { grid-column: span 1; }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 1rem; }
  .bar-inner { gap: 1rem; }
  .bar nav { display: none; }
  .pill-accent { margin-left: auto; }
  .hero { padding-top: 2.5rem; }
  .hero-visual { min-height: 26rem; }
  .hero-visual .device { width: 12.5rem; }
  .device-front { transform: translateX(2.5rem) rotate(2deg); }
  .device-back { transform: translateX(-4rem) translateY(1.2rem) rotate(-6deg) scale(.9); }
  .device { border-radius: 38px; padding: 7px; }
  .device img { border-radius: 31px; }
  .feature .device, .share .device { max-width: 14rem; }
  .bento { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .tile-shot { grid-column: span 2 !important; }
  .tile { padding: 1.2rem; }
  .privacy-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .plans { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 2.25rem; }
}
