/* Inner pages. Shares base.css (copied from the approved landing page) and adds a small set of
   components. Page fragments should use only these classes plus the base ones (.wrap .d .cap .btn
   .btn.o em details/summary .stars .rv). Add nothing page-specific without telling the controller. */

/* header is a plain sticky bar on inner pages (the landing page's film makes it transparent) */
body.inner header{position:sticky;top:0;background:rgba(251,248,246,.92);border-bottom:1px solid var(--line)}

/* breadcrumbs */
.crumbs{font-size:13px;color:var(--soft);padding-top:34px}
.crumbs a{color:var(--soft);text-decoration:underline;text-underline-offset:3px}
.crumbs a:hover{color:var(--salmon-deep)}
.crumbs span{margin:0 8px;opacity:.6}

/* page hero: <section class="phero"><div class="wrap"> .crumbs, .cap, h1.d, p.lede, .acts </div></section>
   add class "split" and a <div class="pimg"><img></div> as the second child of a .grid for an image on the right */
.phero{padding:0 0 90px}
.phero .grid{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center;margin-top:40px}
.phero:not(.split) .txt{margin-top:40px;max-width:46em}
.phero .cap{color:var(--salmon-deep)}
.phero h1{font-size:clamp(44px,5.6vw,80px);margin:18px 0 22px}
.lede{font-size:clamp(18px,1.6vw,21px);line-height:1.65;color:var(--soft);max-width:34em}
.acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.pimg{border-radius:22px;overflow:hidden;background:var(--warm);aspect-ratio:4/5}
.pimg img{width:100%;height:100%;object-fit:cover}
@media(max-width:900px){.phero .grid{grid-template-columns:1fr;gap:36px}.phero{padding-bottom:64px}.pimg{aspect-ratio:4/3}}

/* sections: <section class="sec"> (white) or <section class="sec warm"> (warm band with lines) */
.sec{padding:110px 0}
.sec.warm{background:var(--warm);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sec h2{font-size:clamp(36px,4vw,56px);margin-bottom:18px}
.sec .intro{color:var(--soft);font-size:18px;max-width:38em;margin-bottom:48px}
@media(max-width:900px){.sec{padding:76px 0}}

/* two columns: text and image. <div class="two"><div>text</div><div class="pimg"><img></div></div>; add "rev" to flip */
.two{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.two.rev > :first-child{order:2}
.two h3{font-size:clamp(28px,2.8vw,40px);margin-bottom:14px}
.two p{color:var(--soft);margin-top:12px}
.two + .two{margin-top:110px}
@media(max-width:900px){.two{grid-template-columns:1fr;gap:32px}.two.rev > :first-child{order:0}.two + .two{margin-top:72px}}

/* ticks list */
.ticks{list-style:none;margin-top:18px}
.ticks li{position:relative;padding-left:26px;margin:9px 0;color:#2a2a2a}
.ticks li::before{content:"";position:absolute;left:2px;top:.62em;width:10px;height:6px;border-left:2px solid var(--salmon);border-bottom:2px solid var(--salmon);transform:rotate(-45deg)}

/* cards: <div class="cards"> <article class="card"> [.cimg img] .cap h3 .price p ul.ticks .btn </article> */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cards.two-up{grid-template-columns:repeat(2,1fr)}
.card{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:30px;display:flex;flex-direction:column}
.sec.warm .card{background:var(--white)}
.card.feat{background:var(--ink);color:var(--white);border-color:var(--ink)}
.card.feat p,.card.feat .ticks li{color:#cfcfcf}
.card.feat .cap{color:#bdbdbd}
.card .cimg{margin:-30px -30px 26px;border-radius:22px 22px 0 0;overflow:hidden;aspect-ratio:4/3;background:var(--warm)}
.card .cimg img{width:100%;height:100%;object-fit:cover}
.card .cap{color:var(--soft)}
.card h3{font-family:var(--display);font-weight:400;font-size:28px;line-height:1.1;margin:12px 0 4px}
.card p{color:var(--soft);margin-top:10px}
.card .btn{margin-top:auto;align-self:flex-start}
.card .ticks{margin-bottom:26px}
.price{font-family:var(--display);font-size:clamp(40px,4vw,56px);line-height:1;margin:14px 0 6px}
.price s{font-size:.45em;color:var(--soft);margin-left:.3em}
.card.feat .price s{color:#9a9a9a}
.gst{font:500 13px var(--text);color:var(--soft);letter-spacing:0}
.card.feat .gst{color:#bdbdbd}
@media(max-width:900px){.cards,.cards.two-up{grid-template-columns:1fr}}

/* steps: <ol class="steps"><li><h3>..</h3><p>..</p></li></ol> numbered by CSS */
.steps{list-style:none;counter-reset:st;display:grid;gap:0}
.steps li{counter-increment:st;display:grid;grid-template-columns:64px 1fr;gap:20px;padding:28px 0;border-top:1px solid var(--line)}
.steps li::before{content:counter(st);font-family:var(--display);font-size:34px;line-height:1;color:var(--salmon)}
/* Overrides for landing-page rules in base.css that leak into inner components
   (added by the phone-booth-hire/packages/how-it-works writer):
   .steps there is three columns; .card p there grows (flex:1) and pushes ticks down;
   .sec.warm .card above turns a featured card white. */
body.inner .steps{grid-template-columns:1fr}
body.inner .card p{flex:none}
.sec.warm .card.feat{background:var(--ink)}
.steps h3{font-size:20px;font-weight:500;margin-bottom:6px}
.steps p{color:var(--soft)}
/* two timelines side by side: <div class="paths"><div><h3 class="d">..</h3><ol class="steps">..</ol></div>...</div> */
.paths{display:grid;grid-template-columns:1fr 1fr;gap:64px}
.paths > div > h3{font-size:clamp(28px,2.8vw,38px);margin-bottom:20px}
@media(max-width:900px){.paths{grid-template-columns:1fr;gap:56px}}

/* comparison table */
.compare{width:100%;border-collapse:collapse;font-size:16px}
.compare th,.compare td{text-align:left;padding:16px 14px;border-bottom:1px solid var(--line);vertical-align:top}
.compare thead th{font:500 12px var(--text);letter-spacing:.18em;text-transform:uppercase;color:var(--soft)}
.compare td:first-child{color:var(--soft);width:28%}
.scrollx{overflow-x:auto}

/* FAQ list on inner pages: reuse details/summary from base inside <div class="qa"> */
.qa{max-width:860px}
.qa h3.group{font-family:var(--display);font-weight:400;font-size:30px;margin:56px 0 10px}
.qa h3.group:first-child{margin-top:0}

/* long-form text: about, privacy, terms */
.prose{max-width:44em}
.prose h2{font-family:var(--display);font-weight:400;font-size:clamp(28px,2.6vw,36px);line-height:1.15;margin:56px 0 14px}
.prose h3{font-size:19px;font-weight:600;margin:30px 0 8px}
.prose p,.prose li{color:#2f2f2f;line-height:1.75}
.prose p + p{margin-top:14px}
.prose ul,.prose ol{margin:12px 0 12px 22px}
.prose li{margin:6px 0}
.prose a{color:var(--salmon-deep);text-decoration:underline;text-underline-offset:3px}
.prose .updated{color:var(--soft);font-size:14px}

/* quote / pull text */
.pull{font-family:var(--display);font-size:clamp(26px,2.6vw,36px);line-height:1.3;max-width:28em}

/* closing call to action band */
.cta{background:var(--ink);color:var(--white);text-align:center;padding:120px 0}
.cta h2{font-family:var(--display);font-weight:400;font-size:clamp(40px,5vw,68px);line-height:1.05;margin-bottom:16px}
.cta p{color:#bdbdbd;font-size:18px;max-width:32em;margin:0 auto 34px}
.cta .btn.o{color:var(--white);border-color:#777}
.cta .acts{justify-content:center}
.note{font-size:14px;color:var(--soft);margin-top:18px}
