/* Pricing (/pricing/), ported from docs/design/v2/pricing-b.html in present mode. Only what the page needs beyond
   home.css: the inner-page hero, the plan and ledger paper, the cards, the terms list and the comp's close line. The
   hero's form card is Home's call and email block, set as a card in the form's place. No figures on this page. */

/* Tokens home.css does not carry: the paper sheet and the section rhythm */
:root {
  --sec: 104px; --fs-h3: 21px;
  --paper: #FFFBF3; --paper-2: #F8EEDB; --paper-3: #F3E6CC; --paper-foot: #FBF1DF; --paper-line: #EEDFC4; --paper-rule: #F2C9B8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #F1E9D8; --paper-2: #E9DEC8; --paper-3: #E6D9BE; --paper-foot: #EADFC9; --paper-line: #DCCDB0; --paper-rule: #E3B9A6; }
}
:root[data-theme="dark"] { --paper: #F1E9D8; --paper-2: #E9DEC8; --paper-3: #E6D9BE; --paper-foot: #EADFC9; --paper-line: #DCCDB0; --paper-rule: #E3B9A6; }
dl, dt { margin: 0; padding: 0; }

/* ---------- Inner-page hero: a shorter navy band behind the copy, settling onto warm paper ---------- */
.hero--inner { --bandx: -110px; background: linear-gradient(to bottom, var(--warm) 0, var(--warm) 55%, var(--bg) 100%); }
.hero--inner::before { display: none; }
.hero--inner .hero__copy { position: relative; text-align: left; justify-items: start; padding-top: 48px; }
.hero--inner .hero__copy::before, .hero--inner .hero__copy::after { content: ""; position: absolute; z-index: -1; left: calc(50% - 50vw); width: 100vw; top: -60px; bottom: calc(-1 * var(--bandx)); pointer-events: none; }
.hero--inner .hero__copy::before { border-bottom: 1px solid rgb(185 212 247 / .22); background: var(--band); }
.hero--inner .hero__copy::after { opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px; }
/* Home's Aurora layer, sized to the shorter band */
.hero--inner .hero__glow { display: block; inset: auto; top: -60px; bottom: calc(-1 * var(--bandx)); left: calc(50% - 50vw); width: 100vw; z-index: -1; }
.hero--inner .hero__glow::after { display: none; }
.hero--inner .eyebrow { min-height: 0; padding: 0; box-shadow: none; background: none; font-size: 15px; font-weight: 600; color: var(--on-band-2); }
.hero--inner .eyebrow--list { padding: 0; }
.hero--inner h1 { margin-top: 14px; max-width: 15em; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; }
.hero--inner h1 span { display: inline; }
.hero--inner .lede { margin-top: 18px; max-width: 720px; font-size: 19px; line-height: 1.5; text-wrap: pretty; }

/* The call and email card sits where the comp's form card sat: under the copy, then, on wide screens, the right
   column, straddling the warm edge. The two buttons stack in the card so it carries the form card's weight. */
.hero--inner .aform { margin: 28px 0 0; width: 100%; max-width: 620px; }
@media (min-width: 1101px) {
  .hero--inner .hero__copy { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; justify-items: stretch; }
  .hero--inner .hero__text { align-self: start; padding-bottom: 140px; }
  .hero--inner .lede { max-width: 640px; }
  .hero--inner .aform { align-self: end; margin: 0; max-width: none; padding: 22px 22px 16px; border-radius: 22px; }
  .hero--inner .cta2 { grid-template-columns: minmax(0, 1fr); }
  .hero--inner .cta2 .btn { min-height: 58px; font-size: 17px; }
  .hero--inner .cta2__hint { margin-top: 14px; }
}

/* ---------- How pricing works: the plain list beside the written plan ---------- */
.pw { position: relative; padding-top: 0; }
.pw__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 32px; align-items: start; }
.pw__text { margin-top: var(--sec); }
@media (min-width: 1101px) {
  .pw__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; }
  .pw__text { margin-top: -56px; }
  .pw .notefig { margin-top: 32px; }
  .plan .note__top { padding-top: 18px; padding-bottom: 12px; }
  .plan .note__sec { padding-bottom: 12px; }
  .plan .note__sec + .note__sec { padding-top: 12px; border-top: 1px solid var(--paper-line); }
  .plan .note__sec + .note__sec .note__n { top: 12px; }
  .plan .note__dl { gap: 8px; }
}
.pw .hlist { margin-top: 26px; border-top-color: var(--hair); }
.pw .hlist li { border-bottom-color: var(--hair); }
.hlist__foot { margin-top: 16px; font-size: 17px; font-weight: 600; color: var(--ink); }

/* Paper: cream sheet, peach margin rule, sheets underneath */
.sheets { position: relative; }
.sheets::before, .sheets::after { content: ""; position: absolute; inset: 0; border-radius: 6px; background: var(--paper-3); box-shadow: 0 1px 0 rgb(20 40 75 / .06), 0 20px 40px -24px rgb(4 10 24 / .45); }
.sheets::before { transform: rotate(-1.2deg) translate(-6px, 10px); }
.sheets::after { transform: rotate(.8deg) translate(8px, 6px); background: var(--paper-2); }
.sheet { position: relative; z-index: 1; border-radius: 6px; background: var(--paper); color: #14284B; overflow: hidden; --focus: #14284B;
  box-shadow: 0 0 0 1px rgb(120 90 40 / .10), 0 2px 4px rgb(4 10 24 / .08), 0 26px 50px -22px rgb(4 10 24 / .4); }
.sheet::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .45  0 0 0 0 .3  0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }
.sheet::after { content: ""; position: absolute; top: 0; bottom: 0; left: 48px; width: 1.5px; background: var(--paper-rule); }

/* The written plan, in the audit report's paper style */
.notefig { padding: 18px 10px 0 0; }
.note__top { position: relative; padding: 20px 26px 14px 72px; border-bottom: 1px solid var(--paper-line); }
.note__row { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.note__title { font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.note__who { margin-top: 4px; font-size: 15px; color: #3E4F70; }
.note__sec { position: relative; padding: 16px 26px 18px 72px; }
.note__n { position: absolute; left: 14px; top: 16px; width: 22px; text-align: center; font-weight: 700; font-size: 15px; color: #14284B; }
.note__h { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.note__dl { margin-top: 10px; display: grid; gap: 10px; }
.note__dl dt { font-size: 12px; font-weight: 700; color: #3E4F70; }
.note__dl dd { margin-top: 1px; font-size: 15px; line-height: 1.45; color: #14284B; }
.note__more { position: relative; border-top: 1px solid var(--paper-line); }
.note__more li { position: relative; padding: 11px 26px 11px 72px; border-bottom: 1px solid #F1E6D2; font-size: 15px; font-weight: 600; color: #14284B; }
.note__more li:last-child { border-bottom: 0; }
.note__more .note__n { top: 11px; }
.note__foot { position: relative; padding: 11px 26px 13px 72px; border-top: 1px solid var(--paper-line); background: var(--paper-foot); font-size: 13px; line-height: 1.45; color: #3E4F70; }

/* ---------- Cards: website rebuild, Search, Search and Ads ---------- */
.cards { margin: 22px auto 0; max-width: 1040px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.cards--add { margin: 28px 0 0; max-width: none; align-items: stretch; }
.pcard { display: flex; flex-direction: column; border-radius: 22px; background: var(--surface); color: var(--ink); padding: 28px 30px 26px; box-shadow: var(--shadow-band); text-align: left; --focus: #14284B; }
.pcard--flat { box-shadow: var(--shadow-2); }
.pcard h3 { font-weight: 600; font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; }
.card__lead { margin-top: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); font-size: 15px; line-height: 1.5; color: var(--ink); }
.incl__lead { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--ink); }
.incl { margin-top: 10px; display: grid; gap: 10px; }
.incl li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; min-width: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.incl li b { color: var(--ink); font-weight: 600; }
.incl .ck { width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; display: grid; place-items: center; background: var(--chip-m); color: var(--chip-ink); }
.incl .ck .i { width: 12px; height: 12px; stroke-width: 2; }
.lead17 { margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 40em; }

/* Website and the stage ledger */
.web__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: start; margin-top: 28px; }
.scope { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.5; color: var(--ink); }
.ledger h3 { font-weight: 600; font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; }
.ledger .sheets { margin-top: 18px; }
.ltable { position: relative; width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.ltable th, .ltable td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--paper-line); }
.ltable thead th { font-size: 12px; font-weight: 700; color: #3E4F70; padding-top: 16px; padding-bottom: 10px; }
.ltable th:first-child, .ltable td:first-child { padding-left: 66px; }
.ltable tbody th { font-weight: 600; color: #14284B; width: 34%; }
.ltable td { color: #14284B; }
.ltable td.pay { width: 20%; font-weight: 600; white-space: nowrap; }
.ltable tbody tr:last-child th, .ltable tbody tr:last-child td { border-bottom: 0; }
.ltable tr.stop th, .ltable tr.stop td { background: rgb(253 235 196 / .45); }

/* ---------- Terms: one plain scannable list on the white ground ---------- */
.terms { margin-top: var(--sec); padding: var(--sec) 0; background: var(--white-ground); }
.terms__grid { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.tlist > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.tlist dt { font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--ink); }
.tlist dd { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tlist .link { display: inline; min-height: 0; color: var(--ink); }

/* Questions stay on the page ground here, so they never sit white on white under the terms */
.qsec { padding: var(--sec) 0; background: none; }

/* ---------- Close: the H2 and one line, beside Home's card ---------- */
.close__line { margin-top: 16px; font-size: 19px; line-height: 1.5; color: var(--on-band-2); max-width: 34em; }

@media (max-width: 1100px) { .web__grid { grid-template-columns: 1fr; } .notefig { max-width: 640px; } }
@media (max-width: 860px) { .cards, .cards--add { grid-template-columns: minmax(0, 1fr); } .cards--add { max-width: 640px; } }
@media (max-width: 760px) {
  :root { --sec: 48px; }
  .hero--inner { --bandx: -92px; }
  .hero--inner .hero__copy { padding-top: 18px; }
  .hero--inner .eyebrow { font-size: 14px; align-items: center; }
  .hero--inner .eyebrow::before { margin-top: 0; }
  .hero--inner h1 { margin-top: 10px; font-size: 40px; line-height: 1.04; }
  .hero--inner .lede { margin-top: 10px; font-size: 17px; line-height: 1.4; }
  .hero--inner .aform { margin-top: 16px; }
  .sheet::after { left: 24px; }
  .notefig { padding: 10px 6px 0 0; }
  .note__top { padding: 14px 14px 12px 40px; }
  .note__title { font-size: 17px; }
  .note__sec { padding: 12px 14px 14px 40px; }
  .note__n { left: 0; width: 24px; top: 12px; font-size: 13px; }
  .note__more li { padding: 9px 14px 9px 40px; font-size: 13px; }
  .note__more .note__n { top: 9px; }
  .note__foot { padding: 10px 14px 12px 40px; }
  /* Phones trim section 1 of the plan to its first row; section 2, "What it costs", shows all four */
  .plan .note__top + .note__sec .note__dl > div + div { display: none; }
  .pw__text { margin-top: 40px; }
  .pw .hlist { margin-top: 16px; }
  .hlist__foot { font-size: 15px; }
  .pcard { padding: 20px 18px 18px; border-radius: 18px; }
  .incl { gap: 8px; }
  .cards--add { margin-top: 18px; gap: 14px; }
  .web__grid { margin-top: 18px; }
  .ltable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ltable, .ltable tbody, .ltable tr, .ltable th, .ltable td { display: block; width: auto !important; }
  .ltable tr { position: relative; padding: 12px 14px 12px 40px; border-bottom: 1px solid var(--paper-line); }
  .ltable tbody tr:last-child { border-bottom: 0; }
  .ltable th, .ltable td, .ltable th:first-child, .ltable td:first-child { padding: 0; border: 0; }
  .ltable tbody th { font-size: 15px; }
  .ltable td { margin-top: 3px; white-space: normal !important; font-size: 15px; }
  .ltable td::before { content: attr(data-k) ": "; content: attr(data-k) ": " / ""; font-weight: 600; color: #3E4F70; }
  .ltable tr.stop { background: rgb(253 235 196 / .45); }
  .ltable tr.stop th, .ltable tr.stop td { background: none; }
  .tlist > div { grid-template-columns: 1fr; gap: 2px; padding: 11px 0; }
  .terms__grid { margin-top: 18px; }
  .qsec { padding: 40px 0 48px; }
  .close__line { font-size: 15px; }
}
@media (max-width: 374px) { .hero--inner h1 { font-size: 36px; } }

/* F41, 22 Oct: the close card's email line, as the hero's hint, on the cream card (fixed colours in both themes) */
.go .cta2__hint { margin-top: 14px; color: #3E4F70; }
.go .cta2__hint a { color: #14284B; }
