/* The Features and For groups overview pages, and the link back from their long pages (9 Oct 2026). Built by scripts/build-overviews.py.
   Uses the pages' own colours and type (--ground, --cream, --paper, --ink, --orange, --line). */

.ov-back{margin:6px 0 0;font-size:.95rem}
.ov-back a{color:var(--ink-soft);text-decoration:none;border-bottom:1.5px solid var(--orange);padding-bottom:1px}
.ov-back a:hover,.ov-back a:focus-visible{color:var(--ink)}

/* The pages' own `section` rule draws a line under each section and pads it: not on these. */
.ov-row,.ov-pro,.ov-split,.ov-free,.ov-final{border-bottom:0}

/* ---- the hero: words on one side, phones rising from the bottom edge on the other */
.ov-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:32px;align-items:end;padding:56px 0 0}
.ov-hero-text{align-self:center;padding-bottom:56px}
.ov-hero h1{font-size:2.25rem;line-height:1.12;color:var(--cream);margin-bottom:16px}
@media (min-width:48rem){.ov-hero h1{font-size:clamp(2.5rem,3.8vw,3.3rem)}}
.ov-hero .lede{color:var(--cream-soft);font-size:1.15rem;line-height:1.5;max-width:34rem}
.ov-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.ov-hero .store,.ov-final .store{display:inline-flex;align-items:center;gap:12px;background:var(--orange);color:var(--orange-ink);text-decoration:none;font-weight:600;padding:13px 20px;border-radius:10px;font-size:1rem}
.ov-hero .store:hover,.ov-hero .store:focus-visible,.ov-final .store:hover,.ov-final .store:focus-visible{filter:brightness(1.06)}
.store svg{width:22px;height:22px;flex:none}
.store.alt{background:transparent;border:1.5px solid rgba(239,234,216,.45);color:var(--cream)}
.store.alt:hover,.store.alt:focus-visible{background:rgba(239,234,216,.08);filter:none}
.ov-final .store.alt{border-color:var(--ink);color:var(--ink)}
.ov-final .store.alt:hover,.ov-final .store.alt:focus-visible{background:rgba(28,32,29,.06)}
.ov-fan{position:relative;height:440px;overflow:hidden;margin-inline:auto;width:100%;max-width:520px}
.ov-fan picture,.ov-fan img{display:block}
.ov-fan img{position:absolute;bottom:-120px;width:200px;height:auto;border-radius:30px;border:1px solid rgba(239,234,216,.2);box-shadow:0 24px 50px rgba(0,0,0,.45)}
.ov-fan .p2{left:50%;margin-left:-110px;width:220px;z-index:2;bottom:-90px}
.ov-fan .p1{left:50%;margin-left:-250px;transform:rotate(-7deg);transform-origin:50% 100%;bottom:-130px}
.ov-fan .p3{left:50%;margin-left:50px;transform:rotate(7deg);transform-origin:50% 100%;bottom:-130px}
.ov-fan.single{max-width:300px;height:420px}
.ov-fan.single .p2{margin-left:-115px;width:230px;bottom:-110px}

/* ---- rows of phone cards */
.ov-row{padding:56px 0 0}
.ov-row>h2{font-size:1.5rem;margin-bottom:18px}
.ov-sub{color:var(--ink-soft);margin:-10px 0 18px}
.ov-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ov-cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.ov-cards+.ov-cards{margin-top:20px}
.ov-card{--tone:#E4EBDF;display:flex;flex-direction:column;border-radius:26px;overflow:hidden;background:var(--tone);min-width:0}
.ov-card.sage{--tone:#E4EBDF}.ov-card.sand{--tone:#F1E8D5}.ov-card.mist{--tone:#DCE7EA}.ov-card.blush{--tone:#F4E1D2}.ov-card.night{--tone:#1E332A;color:var(--cream)}
.ov-card-text{padding:26px 26px 0}
.ov-card h3{font-size:1.3rem;line-height:1.25;margin-bottom:8px}
.ov-card p{color:var(--ink-soft);font-size:1rem;line-height:1.5}
.ov-card.night p{color:var(--cream-soft)}
.ov-kick{font-size:.9rem;font-weight:500;margin-bottom:4px}
.ov-more{display:inline-block;margin-top:12px;font-weight:600;font-size:.95rem;text-decoration:none;color:var(--ink);border-bottom:1.5px solid var(--orange)}
.ov-more::after{content:" →"}
[dir=rtl] .ov-more::after{content:" ←"}
.ov-more:hover,.ov-more:focus-visible{border-bottom-color:currentColor}
.ov-more.light,.ov-card.night .ov-more{color:var(--cream)}
.ov-shot{margin-top:auto;padding:24px 26px 0;display:flex;justify-content:center;height:344px;overflow:hidden;align-items:flex-start;box-sizing:content-box}
.ov-shot picture{display:contents}
.ov-shot img{display:block;width:min(100%,250px);height:auto;border-radius:26px 26px 0 0;border:1px solid rgba(28,32,29,.14);border-bottom:0;box-shadow:0 -6px 28px rgba(28,32,29,.16)}
.ov-shot.wide{height:auto;max-height:300px}
.ov-shot.wide img{width:100%;max-width:none;border-radius:14px 14px 0 0}
.ov-shot.watch{align-items:center;height:344px}
.ov-shot.watch img{width:min(100%,230px);border-radius:34px;border:6px solid #0b1511;box-shadow:0 14px 34px rgba(0,0,0,.4)}
.ov-cards.two .ov-shot{height:380px}
.ov-cards.two .ov-shot.wide{height:auto}
.ov-cards.two .ov-shot img{width:min(100%,270px)}
.ov-cards.two .ov-shot.wide img{width:100%}
.ov-card .ov-chips{margin-top:14px}

/* ---- chips */
.ov-chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.ov-chips li{padding:6px 13px;border-radius:999px;background:rgba(239,234,216,.1);border:1px solid rgba(239,234,216,.22);font-size:.93rem;line-height:1.4}
.ov-chips.dark li{background:rgba(255,255,255,.55);border-color:rgba(28,32,29,.12);color:var(--ink)}
.ov-panel.dark .ov-chips.dark li{background:rgba(239,234,216,.1);border-color:rgba(239,234,216,.22);color:var(--cream)}

/* ---- the rest, as tiles */
.ov-tiles{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ov-tiles a{display:flex;align-items:center;gap:12px;min-height:64px;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:16px;text-decoration:none;font-weight:600;font-size:1rem;line-height:1.3}
.ov-tiles a:hover,.ov-tiles a:focus-visible{border-color:var(--orange);background:#fffdf8}
.ov-tiles svg{flex:none;width:26px;height:26px;color:var(--orange)}

/* ---- Pro */
.ov-pro{display:grid;gap:18px;margin-top:56px;padding:36px;border-radius:28px;background:var(--ground);color:var(--cream)}
.ov-pro .kicker{color:var(--cream-soft)}
.ov-pro h2{font-size:1.75rem;margin-bottom:8px;color:var(--cream)}
.ov-pro p{color:var(--cream-soft);max-width:44rem}
.ov-pro .ov-more{color:var(--cream)}

/* ---- the groups page */
.ov-qa{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.ov-qa-card{grid-column:span 2}.ov-qa-card:nth-child(n+4){grid-column:span 3}
.ov-qa-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:20px}
.ov-qa-card svg{width:26px;height:26px;color:var(--orange);margin-bottom:10px}
.ov-qa-card h3{font-size:1.08rem;line-height:1.3;margin-bottom:6px}
.ov-qa-card p{color:var(--ink-soft);font-size:.97rem;line-height:1.5}
.ov-after{margin-top:6px}
.ov-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px;align-items:start}
.ov-panel{padding:30px;border-radius:26px;background:#fff;border:1px solid var(--line)}
.ov-panel.dark{background:var(--ground);border-color:transparent;color:var(--cream)}
.ov-panel h2{font-size:1.45rem;line-height:1.25;margin-bottom:10px}
.ov-panel p:not(.kicker){color:var(--ink-soft)}
.ov-panel.dark p:not(.kicker){color:var(--cream-soft)}
.ov-panel.dark .kicker{color:var(--cream-soft)}
.ov-panel .ov-chips{margin:14px 0 4px}
.ov-free{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:20px;padding:28px 30px;border-radius:26px;background:var(--paper-2);border:1px solid var(--line)}
.ov-free h2{font-size:1.45rem;margin-bottom:6px}
.ov-free p{color:var(--ink-soft);max-width:40rem}
.ov-free .store.alt{border-color:var(--ink);color:var(--ink);display:inline-flex;align-items:center;text-decoration:none;font-weight:600;padding:13px 20px;border-radius:10px;font-size:1rem}
.ov-free .store.alt:hover,.ov-free .store.alt:focus-visible{background:rgba(28,32,29,.06)}
.ov-final{margin-top:56px;padding:48px 0 12px;border-bottom:0}
.ov-final h2{margin-bottom:6px}
.ov-final-lead{color:var(--ink-soft);max-width:38rem;margin:0 auto 6px}
.ov-final .actions{justify-content:center}
main .ov-row:first-child{padding-top:44px}

/* ---- narrower: rows of cards turn into a swipe, one card and a bit of the next */
@media (max-width:980px){
  .ov-hero{grid-template-columns:1fr;gap:0;padding-top:36px}
  .ov-hero-text{padding-bottom:28px}
  .ov-fan{height:340px}
  .ov-fan .p2{width:190px;margin-left:-95px;bottom:-70px}
  .ov-fan .p1{width:160px;margin-left:-215px;bottom:-100px}
  .ov-fan .p3{width:160px;margin-left:55px;bottom:-100px}
  .ov-fan.single{height:340px}.ov-fan.single .p2{width:200px;margin-left:-100px;bottom:-90px}
  .ov-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ov-qa{grid-template-columns:repeat(2,minmax(0,1fr))}.ov-qa-card,.ov-qa-card:nth-child(n+4){grid-column:auto}
}
@media (max-width:760px){
  .ov-cards,.ov-cards.two{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(82%,330px);gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;margin-inline:-20px;padding:0 20px 8px;scrollbar-width:thin}
  .ov-card{scroll-snap-align:center}
  .ov-cards.two .ov-shot{height:344px}
  .ov-cards.two .ov-shot.wide{height:auto}
  .ov-split{grid-template-columns:1fr}
  .ov-qa{grid-template-columns:1fr}
  .ov-pro{padding:26px 22px}
  .ov-row{padding-top:44px}
  .ov-free{padding:24px 22px}
}
@media (max-width:420px){.ov-tiles{grid-template-columns:1fr}}
@media (prefers-reduced-motion:no-preference){.ov-card,.ov-tiles a{transition:transform .15s}.ov-tiles a:hover{transform:translateY(-2px)}}

/* Korean breaks between words, not inside them. */
html[lang=ko] .ov-hero,html[lang=ko] main{word-break:keep-all}
