/* Talono site — home page and press kit. Loaded after _shared.css and built the same
   way: no fonts to fetch, no scripts, no CDN, so the page always loads for App Review.
   Every rule is scoped under body.home so the legal pages are untouched. */
:root {
  --accent-strong: #08573f;
  --accent-wash: #e3f2ec;
  --coral: #e8613a;
  --coral-ink: #b4421d;
  --coral-wash: #fdeee8;
  --bezel: #101716;
  --shadow: 0 1px 2px rgba(16, 30, 26, .06), 0 12px 32px rgba(16, 30, 26, .10);
  --store-bg: #111111;
  --store-ink: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent-strong: #6be6b8;
    --accent-wash: #12302a;
    --coral: #ff8a63;
    --coral-ink: #ff9c7b;
    --coral-wash: #2c1a14;
    --bezel: #2a3433;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
    --store-bg: #ffffff;
    --store-ink: #0d1315;
  }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.home { overflow-x: hidden; }
.home .page { max-width: 68rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .home .page { padding: 0 1.5rem; } }

.home .skip { position: absolute; left: -999px; top: 0; background: var(--surface); color: var(--accent); padding: .5rem .75rem; z-index: 10; }
.home .skip:focus { left: 1rem; top: .75rem; }
.home a:focus-visible, .home summary:focus-visible, .home .gallery:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.home header.site { margin: 0; padding: 1.1rem 0; align-items: center; border-bottom: 1px solid var(--rule); }
.home header.site .brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.home header.site .brand img { width: 30px; height: 30px; border-radius: 7px; }
.home header.site nav { gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.home header.site nav .wide-only { display: none; }
@media (min-width: 720px) { .home header.site nav .wide-only { display: inline; } }

/* Shared bits */
.home h1, .home h2, .home h3 { color: var(--ink); }
.home section { scroll-margin-top: 1rem; }
.home .eyebrow { display: inline-block; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 .6rem; }
.home .section-head { max-width: 40rem; margin: 0 0 1.75rem; }
.home .section-head h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .6rem; }
.home .section-head p { margin: 0; font-size: 1.05rem; }
.home .band { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .home .band { padding: 5rem 0; } }
.home .muted { color: var(--muted); }
.home .small { font-size: .88rem; }

/* App Store button: plain text, no Apple artwork fetched from anywhere */
.home .store { display: inline-flex; align-items: center; gap: .65rem; background: var(--store-bg); color: var(--store-ink); text-decoration: none; border-radius: 12px; padding: .6rem 1.15rem .6rem .95rem; min-height: 52px; box-shadow: var(--shadow); }
.home .store svg { width: 22px; height: 22px; flex: none; }
.home .store span { display: flex; flex-direction: column; line-height: 1.1; }
.home .store small { font-size: .72rem; font-weight: 500; opacity: .85; }
.home .store strong { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; }
.home .store:hover { filter: brightness(1.15); }
.home .text-link { font-weight: 600; text-decoration: none; }
.home .text-link:hover { text-decoration: underline; }

/* Phone frame around a screenshot */
.home .phone { display: block; width: 100%; height: auto; aspect-ratio: 660 / 1434; border-radius: 13% / 6%; border: 7px solid var(--bezel); background: var(--bezel); box-shadow: var(--shadow); }

/* Hero */
.home .hero { display: grid; gap: 2.5rem; align-items: center; padding: 2.75rem 0 3rem; overflow-x: clip; }
.home .hero .mark { width: 76px; height: 76px; border-radius: 18px; margin: 0 0 1.25rem; box-shadow: var(--shadow); }
.home .hero h1 { font-size: clamp(2.3rem, 8vw, 3.8rem); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 1rem; }
.home .hero .lede { font-size: clamp(1.08rem, 2.6vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); max-width: 33rem; margin: 0 0 1.75rem; }
.home .hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.home .hero .facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.home .hero .facts li { margin: 0; font-size: .85rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: .3rem .75rem; }
.home .hero-art { position: relative; max-width: 300px; margin: 0 auto; width: 78%; }
.home .hero-art::before { content: ""; position: absolute; inset: 8% -22% -4%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 26%, transparent), transparent); z-index: -1; }
@media (min-width: 860px) {
  .home .hero { grid-template-columns: 1.15fr .85fr; padding: 4.5rem 0 4.5rem; }
  .home .hero-art { width: 100%; max-width: 320px; }
}

/* Feature rows */
.home .feature { display: grid; gap: 2rem; align-items: center; }
.home .feature + .feature { margin-top: 4rem; }
.home .feature h3 { font-size: clamp(1.45rem, 4vw, 1.95rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .75rem; }
.home .feature p { font-size: 1.04rem; margin: 0 0 .9rem; }
.home .feature ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.home .feature li { position: relative; padding-left: 1.6rem; margin: .5rem 0; }
.home .feature li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .45rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.home .feature .shot { width: 72%; max-width: 280px; margin: 0 auto; }
.home .feature .note { color: var(--muted); font-size: .88rem; }
@media (min-width: 860px) {
  .home .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .home .feature + .feature { margin-top: 6rem; }
  .home .feature.flip .copy { order: 2; }
  .home .feature .shot { width: 100%; max-width: 290px; }
}

/* Slice gets its own colour */
.home .slice { background: linear-gradient(180deg, var(--coral-wash), transparent 85%); }
.home .slice .eyebrow { color: var(--coral-ink); }
.home .slice .feature li::before { border-color: var(--coral); }
.home .slice-pill { display: inline-block; background: var(--coral); color: #fff; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; font-size: .95rem; }
@media (prefers-color-scheme: dark) { .home .slice-pill { color: #1a0d08; } }

/* Privacy */
.home .cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.home .tile { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 1.25rem 1.3rem; }
.home .tile h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.home .tile p { margin: 0; font-size: .97rem; }
.home .tile .glyph { display: inline-flex; width: 38px; height: 38px; border-radius: 10px; align-items: center; justify-content: center; background: var(--accent-wash); color: var(--accent); margin-bottom: .8rem; }
.home .tile .glyph svg { width: 20px; height: 20px; }

/* Screenshot gallery: swipe on phones, scroll or arrow keys on desktop */
.home .gallery { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem 1rem 1.25rem; margin: 0 -1rem; list-style: none; overscroll-behavior-x: contain; scrollbar-width: thin; }
@media (min-width: 640px) { .home .gallery { margin: 0 -1.5rem; padding: .5rem 1.5rem 1.25rem; scroll-padding: 0 1.5rem; } }
.home .gallery li { flex: 0 0 auto; width: min(62vw, 230px); scroll-snap-align: start; margin: 0; }
.home .gallery figure { margin: 0; }
.home .gallery figcaption { font-size: .86rem; color: var(--muted); margin-top: .7rem; line-height: 1.4; }
.home .hint { font-size: .85rem; color: var(--muted); margin: .25rem 0 0; }

/* Plans */
.home .plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.home .plan { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 1.5rem; }
.home .plan.plus { border: 2px solid var(--accent); }
.home .plan h3 { margin: 0 0 .2rem; font-size: 1.3rem; }
.home .plan .what { margin: 0 0 1rem; font-weight: 600; color: var(--accent); }
.home .plan ul { margin: 0; padding-left: 1.1rem; }

/* Languages */
.home .langs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.home .langs li { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: .35rem .85rem; font-size: .95rem; color: var(--ink); }
.home .langs li span { color: var(--muted); margin-left: .35rem; }

/* FAQ */
.home .faq { max-width: 46rem; }
.home .faq details { border-bottom: 1px solid var(--rule); padding: .2rem 0; }
.home .faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; padding: 1rem 2rem 1rem 0; position: relative; color: var(--ink); }
.home .faq summary::-webkit-details-marker { display: none; }
.home .faq summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.4rem; font-weight: 400; color: var(--accent); }
.home .faq details[open] summary::after { content: "\2212"; }
.home .faq details p { margin: 0 0 1.1rem; }

/* Closing call */
.home .closing { text-align: center; }
.home .closing img { width: 84px; height: 84px; border-radius: 20px; box-shadow: var(--shadow); }
.home .closing h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); letter-spacing: -.03em; margin: 1rem 0 .5rem; }
.home .closing p { margin: 0 auto 1.5rem; max-width: 30rem; }

/* Footer */
.home footer.site { margin: 0; padding: 2rem 0 3rem; display: grid; gap: 1rem; }
.home footer.site nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.home footer.site nav a { color: var(--ink-soft); text-decoration: none; }
.home footer.site nav a:hover { color: var(--accent); }
.home footer.site p { margin: 0; color: var(--muted); }

/* Press kit */
.home .press-hero { padding: 2.75rem 0 2rem; }
.home .press-hero h1 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .75rem; }
.home .kv { display: grid; grid-template-columns: minmax(6rem, 11rem) minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--rule); }
.home .kv dt, .home .kv dd { margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.home .kv dt { font-weight: 600; color: var(--ink); padding-right: 1rem; }
.home .kv dd { color: var(--ink-soft); overflow-wrap: anywhere; }
.home .prose { max-width: 44rem; }
.home .prose p { font-size: 1.02rem; }
.home .copybox { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; }
.home .copybox p:last-child { margin-bottom: 0; }
.home .assets { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); list-style: none; padding: 0; margin: 0; }
.home .assets li { margin: 0; }
.home .assets a { display: block; text-decoration: none; }
.home .assets img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--rule); background: var(--surface); }
.home .assets .icon-asset img { border-radius: 22%; }
.home .assets span { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: .45rem; line-height: 1.35; }
.home .assets span b { color: var(--accent); font-weight: 600; }
