/* =====================================================================
   Samify AI inner pages (about, faq, services, ...), 2026-11 design.
   Loaded after scrollcraft.css + home.css, which already give these pages
   the homepage's tokens, type, buttons, capsule, menu sheet, footer, the
   founder photo (.founder-photo/.fg/.fp-frame) and the step cards
   (.method/.rise/.step). This file only adds what the homepage lacks.
   ===================================================================== */

/* --------------------------------------------------------- PAGE HERO -- */
/* The studio plate, like the homepage's first screen and its closing act. */
.ph { position: relative; overflow: clip; isolation: isolate; background: var(--bg); padding: clamp(8.5rem, 15vw, 11.5rem) 0 clamp(5rem, 9vw, 7.5rem); }
.ph .plate { inset: 0; background-position: center 35%; will-change: auto; }
.ph .plate-tint { background: linear-gradient(180deg, transparent 0%, transparent 60%, var(--bg) 100%), var(--tint); }
.ph-in { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 6.2fr) minmax(0, 4.8fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.ph-in.solo { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.ph-copy .display { font-size: clamp(2.7rem, 5.6vw, 5.2rem); }
.ph-copy .lede { margin-top: 22px; max-width: 48ch; }
.ph-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }

.crumbs { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.crumbs a { color: var(--ink-faint); text-decoration: none; transition: color 140ms var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--kick); }

/* --------------------------------------------------------- SECTIONS -- */
.sec { padding: clamp(5.5rem, 10vw, 8.5rem) 0; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.sec .display, .split .display { font-size: clamp(2.2rem, 4.4vw, 4.1rem); }

/* heading on the left, reading column on the right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6.5rem); align-items: start; }
.split-head { position: sticky; top: 120px; display: grid; gap: 16px; }
.split-head .kicker { margin: 0; }
.prose > p { margin: 0 0 1.15em; color: var(--ink-soft); max-width: 60ch; }
.prose > p:last-child { margin-bottom: 0; }
.prose .pull {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange);
  font-family: "Lato", sans-serif; font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.35; letter-spacing: -.012em; color: var(--ink);
}
.prose .act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

/* chips: the pane-title chips from the hero stack, flat */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: .55em; padding: 9px 15px 9px 12px; border-radius: 999px;
  background: var(--tag-bg); box-shadow: inset 0 0 0 1px var(--tag-line), 0 6px 16px -10px rgba(20, 40, 70, .35);
  font-family: "Lato", sans-serif; font-weight: 700; font-size: .92rem; color: var(--ink);
}
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }
:root[data-theme="dark-blue-cool"] .chips li::before { background: var(--blue-soft); }

.assure { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 600; color: var(--ink); }
.prose > .assure { margin: 26px 0 0; }
.assure svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: color-mix(in oklab, var(--ok) 14%, transparent); color: var(--ok); fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* LinkedIn: a quiet outline pill beside the blue one */
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 30%, transparent); } }
.btn-ghost svg { width: 18px; height: 18px; flex: none; }

/* the step cards keep the homepage's rise, minus the scripted entrance */
.method.on-alt { background: var(--bg-alt); }

/* --------------------------------------------------------- CLOSING CTA -- */
.cta-sec { position: relative; overflow: clip; isolation: isolate; padding: clamp(6rem, 11vw, 9rem) 0; background: var(--bg); }
.cta-sec .plate { inset: 0; background-position: center 30%; will-change: auto; }
.cta-sec .plate-tint { background: linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 70%, var(--bg) 100%), var(--tint); }
.cta-pane {
  position: relative; z-index: 3; max-width: 760px; margin-inline: auto; text-align: center;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px); border-radius: 32px;
  background: color-mix(in oklab, var(--card) 80%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--glass-line), 0 0 0 1px var(--glass-ring), 0 60px 110px -40px rgba(15, 30, 55, .45);
}
:root[data-theme="dark-blue-cool"] .cta-pane { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 60px 110px -40px rgba(0, 0, 0, .9); }
.cta-pane .display { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.cta-pane .lede { margin: 20px auto 0; }
.cta-pane .assure { margin-top: 22px; }
.cta-pane .ph-act { justify-content: center; margin-top: 30px; }

/* ------------------------------------------------------- PAIN ROWS -- */
/* "Sound familiar?": numbered moments, each with what it costs you */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.pain { position: relative; padding: clamp(24px, 2.6vw, 34px); border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.pain .n { display: block; margin-bottom: 18px; font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--em); }
.pain h3 { margin: 0 0 8px; font-family: "Lato", sans-serif; font-weight: 900; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); letter-spacing: -.015em; line-height: 1.25; }
.pain p { margin: 0; color: var(--ink-soft); }
.note { margin: clamp(2.5rem, 5vw, 4rem) 0 0; max-width: 62ch; font-family: "Lato", sans-serif; font-weight: 700; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.45; letter-spacing: -.01em; color: var(--ink); padding-left: 22px; border-left: 3px solid var(--orange); }

/* -------------------------------------------------- SERVICE CARD -- */
/* the homepage's service card, standing still (no sticky deck) */
.card.solo { position: relative; top: auto; margin: 0; will-change: auto; }
.card.solo::after { content: none; }
.card .ticks { width: 100%; margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.card .ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.card .ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: color-mix(in oklab, var(--blue) 14%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E5FB0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
:root[data-theme="dark-blue-cool"] .card .ticks li::before { background-color: rgba(143, 178, 238, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238FB2EE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------- FEATURE TILES -- */
.ftiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; padding: 0; list-style: none; }
.ftile { display: grid; gap: 14px; align-content: start; padding: 22px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .ftile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--blue) 35%, var(--line)), var(--shadow-2); } }
.ficon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: color-mix(in oklab, var(--blue) 11%, transparent); }
:root[data-theme="dark-blue-cool"] .ficon { color: var(--blue-soft); background: rgba(143, 178, 238, .14); }
.ficon svg { width: 21px; height: 21px; }
.ftile h3 { margin: 0 0 4px; font-family: "Lato", sans-serif; font-weight: 900; font-size: 1.06rem; letter-spacing: -.01em; line-height: 1.25; }
.ftile p { margin: 0; font-size: .93rem; color: var(--ink-soft); line-height: 1.5; }

/* the step cards with a sticky heading beside them (service pages) */
.steps-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.steps-split .split-head .btn { justify-self: start; margin-top: 12px; }
.stack-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.stack-steps .step { padding: clamp(24px, 2.6vw, 34px); border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.stack-steps .step-n { font-size: 1.7rem; margin-bottom: 18px; }

/* ------------------------------------------------------------- FAQ -- */
.qa-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.qa { border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 220ms var(--ease); }
.qa[open] { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--blue) 35%, var(--line)), var(--shadow-2); }
.qa summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: center;
  padding: 20px 22px 20px 24px; font-family: "Lato", sans-serif; font-weight: 700; font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem); line-height: 1.35; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line);
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  color: var(--blue); transition: transform 240ms var(--ease), background-color 200ms var(--ease);
}
:root[data-theme="dark-blue-cool"] .qa summary::after { color: var(--blue-soft); }
.qa[open] summary::after { transform: rotate(45deg); background-color: color-mix(in oklab, var(--blue) 10%, transparent); }
.qa summary:focus-visible { outline-offset: -2px; border-radius: 20px; }
.qa .ans { padding: 0 24px 22px; color: var(--ink-soft); max-width: 70ch; }
.qa .ans p { margin: 0 0 .8em; }
.qa .ans p:last-child { margin-bottom: 0; }
.qa .ans ul { margin: 0 0 .8em; padding-left: 1.2em; }
.qa .ans a { color: var(--link); font-weight: 600; }
.qa-more { margin: 28px 0 0; text-align: center; color: var(--ink-soft); }
.center-head { text-align: center; justify-items: center; margin-inline: auto; }

/* ------------------------------------------------------------ LEGAL -- */
.legal { max-width: 760px; }
.legal h2 { margin: 2.4em 0 .6em; font-family: "Lato", sans-serif; font-weight: 900; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); letter-spacing: -.02em; line-height: 1.2; color: var(--ink); scroll-margin-top: 110px; }
.legal h3 { margin: 1.8em 0 .5em; font-family: "Lato", sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--link); font-weight: 600; }
.legal strong { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .94rem; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.legal th { background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.legal tr:last-child td { border-bottom: 0; }
.legal-meta { font-family: "IBM Plex Mono", monospace; font-size: .8rem; letter-spacing: .06em; color: var(--ink-faint); }
.table-scroll { overflow-x: auto; }

/* ----------------------------------------------------------- RESPONSIVE -- */
@media (max-width: 1100px) { .ftiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .ph-in, .split, .steps-split { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }
  .ph .founder-photo { max-width: 340px; justify-self: start; margin-top: 10px; }
}
@media (max-width: 760px) {
  .pains { grid-template-columns: minmax(0, 1fr); }
  .card.solo { grid-template-columns: minmax(0, 1fr); }
  .ph { padding-top: 7.5rem; }
  .ph .plate { background-image: var(--plate-m); }
  .cta-sec .plate { background-image: var(--plate-m); }
}

/* a play link that opens the film box is a button, styled like the homepage's play link */
button.play-link { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-weight: 600; font-size: .96rem; cursor: pointer; }
/* hero art: the homepage's little glass stack (from its closing act) */
.ph .mini-rig { margin: 0; height: 320px; padding-left: 0; place-items: center; }
.ph .mini-stack { width: 250px; height: 175px; }
@media (max-width: 1000px) { .ph .mini-rig { display: none; } }

/* ------------------------------------------------------- FAQ page -- */
.split .qa-list { margin: 0; max-width: none; }
.faq-jump .chips { margin-top: 30px; }
.faq-jump .chips li { padding: 0; }
.faq-jump .chips li::before { display: none; }
.faq-jump .chips a { display: inline-flex; align-items: center; gap: .55em; padding: 9px 15px 9px 12px; color: inherit; text-decoration: none; border-radius: inherit; }
.faq-jump .chips a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }
:root[data-theme="dark-blue-cool"] .faq-jump .chips a::before { background: var(--blue-soft); }
.faq-jump .chips a:hover { color: var(--blue); }
.sec[id] { scroll-margin-top: 80px; }

/* ------------------------------------------ AI AUTOMATION PAGE (2026-11-23) -- */
/* "What we automate": six example builds */
.xcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.xcard { display: grid; align-content: start; gap: 10px; padding: clamp(24px, 2.6vw, 32px); border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .xcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--blue) 35%, var(--line)), var(--shadow-2); } }
.xtag { justify-self: start; display: inline-flex; align-items: center; gap: .55em; margin-bottom: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--tag-bg); box-shadow: inset 0 0 0 1px var(--tag-line); font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--kick); }
.xtag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
:root[data-theme="dark-blue-cool"] .xtag::before { background: var(--blue-soft); }
.xcard h3 { margin: 0; font-family: "Lato", sans-serif; font-weight: 900; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); letter-spacing: -.015em; line-height: 1.25; }
.xcard p { margin: 0; color: var(--ink-soft); }
.xcard-open { background: color-mix(in oklab, var(--orange) 6%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--orange) 30%, var(--line)), var(--shadow-2); }
.xcard-open .xtag { color: var(--orange-deep); }
.xcard-open .xtag::before { background: var(--orange); }
:root[data-theme="dark-blue-cool"] .xcard-open .xtag { color: #FFB394; }
/* "Ready-made automations": two homepage service cards, side by side, media on top */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); align-items: stretch; }
.duo .card.solo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.duo .card-body { justify-content: flex-start; padding: clamp(24px, 3vw, 38px); }
@media (max-width: 1000px) { .xcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .xcards, .duo { grid-template-columns: minmax(0, 1fr); } }

/* ===== Free Business Audit (/businessaudit/), Privacy (/privacy/), 404, Unsubscribe (/unsubscribe/) ===== */
/* audit: one centred column, the film as the homepage's player */
.ba-hero { padding-bottom: clamp(4rem, 7vw, 6rem); }
.ba-in { position: relative; z-index: 3; max-width: 980px; text-align: center; display: grid; justify-items: center; }
.ba-in .crumbs { justify-content: center; }
.ba-in .display { font-size: clamp(2.7rem, 5.6vw, 5rem); }
.ba-in .lede { margin: 20px auto 0; max-width: 56ch; }
.ba-film { width: 100%; margin-top: clamp(2.2rem, 4vw, 3.2rem); text-align: left; }
.ba-who-sec { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.ba-who { display: flex; align-items: center; gap: 26px; max-width: 680px; margin: 0 auto; padding: 26px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.ba-who img { width: 136px; height: 182px; flex: none; object-fit: cover; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.ba-who .kicker { margin: 0 0 10px; }
.ba-who p:not(.kicker) { margin: 0 0 10px; color: var(--ink-soft); text-wrap: pretty; }
.ba-who p:last-child { margin-bottom: 0; }
.ba-alt { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 640px) { .ba-who { flex-direction: column; text-align: center; gap: 18px; padding: 26px 22px; } .ba-who img { width: 116px; height: 155px; } }

/* privacy: anchors (#analytics) clear the floating capsule */
.legal h3[id] { scroll-margin-top: 110px; }
.privacy-sec { padding-top: clamp(2.5rem, 5vw, 4rem); }
.legal > :first-child { margin-top: 0; }

/* 404 */
.nf-hero { min-height: 78vh; display: grid; align-items: center; }

/* unsubscribe: brand-only capsule, the form as a glass pane, its script's states */
.unsub-cap .cap-in { justify-content: space-between; }
.unsub-hero { min-height: calc(100vh - 110px); min-height: calc(100svh - 110px); }
.unsub-hero .ph-copy { max-width: 620px; }
.get { margin: 30px 0 26px; padding: 24px; border-radius: 24px; background: color-mix(in oklab, var(--card) 82%, transparent); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: inset 0 0 0 1px var(--glass-line), 0 0 0 1px var(--glass-ring), var(--shadow-2); }
.get-p { margin: 0 0 16px; font-weight: 600; color: var(--ink); }
.get-row { display: flex; flex-wrap: wrap; gap: 10px; }
.get-msg { margin: 12px 0 0; font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.get-msg:empty { display: none; }
.get-msg.err { color: var(--orange-deep); }
:root[data-theme="dark-blue-cool"] .get-msg.err { color: #FF9A74; }
.get-msg a { color: var(--link); }
.get.done .get-p, .get.done .get-row { display: none; }
.get-msg.ok { display: flex; gap: 14px; align-items: flex-start; margin: 0; color: var(--ink-soft); font-weight: 400; line-height: 1.55; }
.get-msg.ok::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.get-msg.ok b { display: block; margin: 3px 0 2px; font-family: "Lato", sans-serif; font-weight: 900; font-size: 1.25rem; color: var(--ink); }
.unsub-hero .intro { margin: 0; color: var(--ink-soft); }
.unsub-foot { padding: 0 0 30px; border-top: 0; }
