/* Homepage storytelling only. Shared feature pages keep their existing styles. */
.story-home {background:#fafbf8;}
.story-home main {overflow:hidden;}
.story-home .story-kicker {font-size:.73rem;font-weight:650;letter-spacing:.13em;text-transform:uppercase;color:var(--green);margin-bottom:22px;}
.story-hero {padding:70px 0 0;}
.story-hero-top {display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center;padding-bottom:44px;}
.story-hero h1 {font-size:clamp(3.2rem,6.3vw,5.7rem);line-height:1.03;letter-spacing:-.065em;margin-bottom:0;}
.story-home h1 em,.story-closing h2 em {font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--green);}
.story-hero-intro {padding-top:24px;}
.story-hero-intro .story-lead {font-size:1.35rem;line-height:1.5;color:var(--ink);}
.story-hero-intro .actions {gap:22px;align-items:center;}
.story-hero-intro .btn {font-size:.86rem;}
.story-availability {font-size:.78rem;margin:22px 0 0;color:var(--muted);}
.story-availability span {padding:0 7px;}
.story-hero-image {position:relative;margin:0;border-radius:25px;overflow:hidden;background:var(--mint);}
.story-hero-image img {width:100%;}
.story-hero-image figcaption {position:absolute;bottom:18px;left:22px;background:#fafbf8f2;border-radius:999px;padding:8px 16px;font-size:.8rem;color:var(--green-dark);}
.story-opening {padding:86px 0 60px;text-align:center;}
.story-opening h2 {font-size:clamp(2rem,3.8vw,3.25rem);}
.story-chapter-nav {display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:30px;}
.story-chapter-nav a {padding:9px 16px;border:1px solid var(--line);border-radius:999px;font-size:.83rem;text-decoration:none;background:white;transition:background .18s;}
.story-chapter-nav a:hover {background:var(--mint);}
.story-chapter {padding:76px 0;border-top:1px solid var(--line);}
.story-chapter:nth-of-type(even) {background:#f1f5ed;}
.story-chapter-grid {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr);gap:54px;align-items:center;}
.story-copy h2 {font-size:clamp(2rem,3.4vw,2.9rem);line-height:1.12;}
.story-copy p:not(.story-kicker) {font-size:.98rem;line-height:1.8;}
.story-copy .story-takeaway {font-family:Georgia,"Times New Roman",serif;font-size:1.2rem!important;color:var(--green-dark);}
.story-number {display:inline-block;margin-right:10px;opacity:.65;font-variant-numeric:tabular-nums;}
.story-illustration {margin:0;min-width:0;}
.story-illustration img {width:100%;height:auto;border-radius:20px;}
.story-illustration figcaption {font-size:.72rem;color:var(--muted);margin-top:12px;}
.story-chapter-03 .story-copy,.story-chapter-05 .story-copy {order:2;}
.story-chapter-03 .story-illustration,.story-chapter-05 .story-illustration {order:1;}
.story-chapter-03 .story-chapter-grid,.story-chapter-05 .story-chapter-grid {grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);}
.story-conversation-art {padding:45px 45px 32px;border-radius:24px;background:linear-gradient(140deg,#e2eadc,#fbf9ed);min-height:350px;display:flex;flex-direction:column;justify-content:center;}
.story-dialogue {width:78%;padding:22px 28px;border-radius:20px;background:white;color:var(--green-dark);box-shadow:0 12px 28px #183a3408;}
.story-dialogue span {display:block;font-size:2rem;line-height:1.5;}
.story-dialogue small {display:block;font-size:.78rem;margin-top:7px;color:var(--muted);}
.story-dialogue-two {align-self:flex-end;background:var(--green);color:white;}
.story-dialogue-two small {color:#e2efdc;}
.story-dialogue-caption {font-size:.85rem;line-height:1.6;margin:0;color:var(--green-dark);}
.story-app-example {margin-top:35px;border-top:1px solid #183a3426;padding-top:14px;}
.story-app-example summary {font-size:.85rem;color:var(--green);font-weight:600;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;padding:8px 0;}
.story-app-example summary::-webkit-details-marker {display:none;}
.story-app-example summary span {font-size:1.3rem;font-weight:400;transition:transform .15s;}
.story-app-example[open] summary span {transform:rotate(45deg);}
.story-screenshots {display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:35px;padding:30px 15px 12px;}
.story-screenshots figure {width:min(310px,100%);margin:0;text-align:center;}
.story-screenshots img {max-height:640px;width:auto;max-width:100%;margin:auto;border-radius:20px;box-shadow:0 12px 30px #183a3418;}
.story-screenshots figcaption {font-size:.78rem;margin-top:15px;color:var(--muted);}
.story-example-note {text-align:center;font-size:.75rem;margin:12px 0 0;}
.story-chapter-06 .story-chapter-grid {display:block;}
.story-chapter-06 .story-copy {max-width:740px;margin-bottom:32px;}
.story-chapter-06 .story-illustration {width:100%;}
.story-language-note {padding:80px 0;background:var(--green-dark);color:white;}
.story-language-note .wrap {max-width:850px;text-align:center;}
.story-language-note .story-kicker,.story-language-note p,.story-language-note a {color:#dcebd2;}
.story-language-note h2 {color:white;}
.story-language-note p:not(.story-kicker) {max-width:690px;margin:0 auto 22px;}
.story-ios {padding:80px 0;background:#f1f5ed;}
.story-ios-grid {display:grid;grid-template-columns:1.1fr .9fr;gap:90px;align-items:center;}
.story-ios-grid>div:first-child {max-width:500px;}
.story-ios-preview {text-align:center;}
.story-ios-preview img {width:230px;border-radius:25px;margin:0 auto;box-shadow:0 16px 35px #183a3426;}
.story-ios-preview p {font-size:.75rem;margin-top:18px;}
.story-closing {padding:85px 0 30px;text-align:center;}
.story-closing h2 {font-size:clamp(2.2rem,4.6vw,4rem);line-height:1.14;}
.story-closing>.wrap>p:not(.story-kicker) {max-width:620px;margin-inline:auto;}
.story-closing .actions {justify-content:center;gap:24px;margin-top:30px;}
.story-store-soon {font-size:.9rem;color:var(--muted);}
.story-support {font-size:.8rem;margin-top:30px;}
.story-company {display:flex;gap:18px;align-items:center;text-align:left;border-top:1px solid var(--line);margin-top:65px;padding:30px 0 0;}
.story-company img {object-fit:contain;}
.story-company p {font-size:.9rem;color:var(--ink);margin:0;}
.story-company p span {font-size:.75rem;color:var(--muted);}
.story-company>a {margin-left:auto;font-size:.85rem;}
@media(max-width:1050px) {
 .story-hero-top {gap:30px;}
 .story-hero h1 {font-size:clamp(3.1rem,6.2vw,5rem);}
 .story-chapter-grid,.story-chapter-03 .story-chapter-grid,.story-chapter-05 .story-chapter-grid {gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);}
 .story-copy h2 {font-size:2.1rem;}
 .story-ios-grid {gap:40px;}
}
@media(max-width:760px) {
 .story-hero {padding-top:38px;}
 .story-hero-top {grid-template-columns:1fr;gap:12px;padding-bottom:28px;}
 .story-hero h1 {font-size:clamp(3.05rem,11vw,4.3rem);}
 .story-hero-intro {padding-top:6px;}
 .story-hero-intro .story-lead {font-size:1.16rem;}
 .story-home .story-kicker {font-size:.67rem;line-height:1.7;margin-bottom:16px;}
 .story-hero-image {border-radius:14px;}
 .story-hero-image figcaption {position:static;border-radius:0;padding:10px 14px;font-size:.71rem;}
 .story-opening {padding:48px 0 38px;}
 .story-chapter-nav {gap:8px;margin-top:20px;}
 .story-chapter-nav a {font-size:.76rem;padding:7px 11px;}
 .story-chapter {padding:42px 0;}
 .story-chapter-grid,.story-chapter-03 .story-chapter-grid,.story-chapter-05 .story-chapter-grid {grid-template-columns:1fr;gap:24px;}
 .story-chapter-03 .story-copy,.story-chapter-05 .story-copy {order:initial;}
 .story-chapter-03 .story-illustration,.story-chapter-05 .story-illustration {order:initial;}
 .story-copy h2 {font-size:2rem;}
 .story-copy p:not(.story-kicker) {font-size:.96rem;}
 .story-illustration img {border-radius:12px;}
 .story-conversation-art {padding:25px;min-height:300px;}
 .story-dialogue {padding:16px 20px;width:85%;}
 .story-dialogue span {font-size:1.7rem;}
 .story-language-note,.story-ios {padding:48px 0;}
 .story-ios-grid {grid-template-columns:1fr;gap:30px;}
 .story-ios-preview img {width:210px;}
 .story-closing {padding-top:48px;}
 .story-closing h2 {font-size:2.1rem;}
 .story-closing h2 br {display:none;}
 .story-company {margin-top:40px;flex-wrap:wrap;gap:14px;}
 .story-company>a {margin-left:60px;}
 .story-screenshots {padding-inline:0;}
}
@media(prefers-reduced-motion:reduce) {
 .story-home {scroll-behavior:auto;}
 .story-home .story-chapter-nav a,.story-home .story-app-example summary span {transition:none;}
}
