/* ==========================================================================
   V5 — editorial layer for the public website (loaded after site.css)
   Left-aligned, ruled, flat. Type stays Geist / Geist Mono.
   Rules of this layer: no label above every heading, no accent word in headings,
   no stack of identical shadowed cards, one memorable thing per page (the price ledger).
   ========================================================================== */
:root {
  --rule: #D3DCEB;
  --rule-soft: #E6ECF6;
  --paper: #FFFFFF;
  --wash: #F5F8FD;
  --yellow-wash: #FFF9DB;
  --radius-sm: 4px; --radius: 5px; --radius-md: 6px; --radius-lg: 6px; --radius-xl: 8px;
  --shadow-xs: none; --shadow-sm: none;
  --shadow-md: 0 1px 0 rgba(11, 21, 48, .04);
  --shadow-lg: 0 1px 0 rgba(11, 21, 48, .04);
  --shadow-xl: 0 12px 30px rgba(11, 21, 48, .10);
}
body { background: var(--paper); color: var(--body); }

/* ---- the template tells, switched off site-wide ---- */
body .eyebrow { display: none !important; }
body .serif-accent, body .highlight, body em.serif-accent { color: inherit !important; font-style: normal !important; background: none !important; }
body .hero .serif-accent, body .page-hero .serif-accent, body .hero .highlight, body .page-hero .highlight { color: inherit !important; }

/* ---- headings: left aligned, heading and intro side by side ---- */
body .section-header { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: .75rem 4rem; align-items: end; text-align: left; margin: 0 0 2.5rem; max-width: none; }
body .section-header > * { margin: 0; max-width: none; }
body .section-header h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -.035em; max-width: 18ch; }
body .section-header .lead { font-size: 1.05rem; color: var(--body); max-width: 52ch; }
body .section-header:has(> :only-child) { grid-template-columns: 1fr; }
body .lead { color: var(--body); }
section { padding-block: var(--section-y); }
section.alt, .tint { background: var(--wash); border-block: 1px solid var(--rule-soft); }

/* ---- header: flat, ruled ---- */
body .header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--rule); box-shadow: none; backdrop-filter: saturate(1.4) blur(8px); }
body .dropdown { border-radius: 6px; border: 1px solid var(--rule); box-shadow: 0 14px 34px rgba(11, 21, 48, .12); }
body .btn { border-radius: 6px; }
body .btn-outline { background: #fff; border: 1px solid var(--rule); color: var(--ink); }
body .btn-outline:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
body .btn-primary { background: var(--ink); color: #fff; }
body .btn-primary:hover { background: var(--navy-700); }

/* ==========================================================================
   Home hero + price ledger
   ========================================================================== */
.hx { background: var(--grad-sky); border-bottom: 1px solid var(--sky-200); padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.hx::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(37, 99, 235, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .055) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%); mask-image: linear-gradient(180deg, #000 0%, transparent 90%); }
.hx-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hx h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); line-height: 1.01; letter-spacing: -.045em; font-weight: 600; color: var(--ink); max-width: 11.5ch; margin: 0; }
.hx .lead { margin: 1.5rem 0 0; font-size: 1.15rem; max-width: 46ch; color: var(--ink-soft); }
.hx-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.hx-facts { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; color: var(--body); max-width: 46ch; }
.hx-facts li { padding-left: 1rem; border-left: 2px solid var(--yellow); line-height: 1.35; }
.hx-facts strong { color: var(--ink); font-weight: 600; }

.ledger { background: #fff; border: 1px solid #BCD0F0; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(29, 78, 216, .35); }
.ledger-head { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.25rem; background: var(--sky-50); border-bottom: 1px solid #BCD0F0; font-family: var(--font-mono); font-size: .76rem; color: var(--muted); }
.ledger-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem; border-top: 1px solid var(--rule-soft); color: var(--ink); text-decoration: none; transition: background .15s; }
.ledger-head + .ledger-row { border-top: 0; }
.ledger-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow); transform: scaleY(0); transform-origin: top; transition: transform .18s ease; }
.ledger-row:hover, .ledger-row:focus-visible { background: var(--yellow-wash); color: var(--ink); }
.ledger-row:hover::before, .ledger-row:focus-visible::before { transform: scaleY(1); }
.ledger-name { display: grid; gap: .1rem; min-width: 0; }
.ledger-name strong { font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; }
.ledger-name small { font-size: .86rem; color: var(--muted); line-height: 1.35; }
.ledger-price { font-size: 1.7rem; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger-price small { font-size: .55em; color: var(--muted); font-weight: 500; letter-spacing: 0; }

/* domain band */
.dband { padding-block: 1.75rem; background: #fff; border-bottom: 1px solid var(--rule); }
.dband-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 1.5rem 4rem; align-items: center; }
.dband-text h2 { font-size: 1.35rem; margin: 0 0 .2rem; letter-spacing: -.025em; }
.dband-text p { margin: 0; font-size: .95rem; color: var(--muted); }
.dband .domain-search { display: flex; gap: .5rem; padding: 0; background: none; border: 0; box-shadow: none; max-width: none; }
.dband .domain-search input { flex: 1; min-width: 0; height: 3.1rem; padding: 0 1rem; font: inherit; font-size: 1.02rem; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink); }
.dband .domain-search input:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: var(--ink); }
.dband .domain-search .btn { height: 3.1rem; padding-inline: 1.6rem; }
.tld-prices { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: .8rem 0 0; padding: 0; font-size: .92rem; }
.tld-prices a { color: var(--body); text-decoration: none; font-variant-numeric: tabular-nums; }
.tld-prices a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tld-prices b { color: var(--ink); font-weight: 600; margin-right: .15rem; }
.tld-prices small { color: var(--muted); }

/* ==========================================================================
   Plans: one ruled table per product line, not a row of floating cards
   ========================================================================== */
.plan-controls { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.tabs { display: flex; gap: .25rem; }
.tabs button { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: .7rem 1rem; font: inherit; font-weight: 550; font-size: 1rem; color: var(--muted); cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--yellow); }
.plan-controls .pricing-toggle { margin: 0 0 .5rem; border-radius: 6px; background: var(--wash); border: 1px solid var(--rule); padding: 3px; align-items: center; }
.pricing-toggle button { border-radius: 4px; font-weight: 550; padding: .4rem .95rem; }
.pricing-toggle button.active { background: var(--ink); color: #fff; box-shadow: none; }
.pricing-toggle .save { margin: 0 .35rem 0 .6rem; background: none; color: var(--yellow-ink); font-size: .8rem; font-weight: 600; letter-spacing: 0; padding: 0; }

body .pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); border-radius: 8px; background: #fff; overflow: hidden; align-items: stretch; }
body .pricing-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .pricing-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .price-card { background: #fff; border: 0; border-left: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 1.6rem 1.5rem 1.5rem; transform: none !important; color: var(--body); }
body .price-card:first-child { border-left: 0; }
body .price-card h3 { font-size: 1.15rem; color: var(--ink); }
body .price-card .price-tag { color: var(--muted); min-height: 2.6em; margin-bottom: .6rem; }
body .price-num { font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 600; color: var(--ink); }
body .price-card ul { border-top: 1px solid var(--rule-soft); }
body .price-card ul li::before { background-color: var(--sky-100); }
body .price-card .btn { background: #fff; border: 1px solid var(--ink); color: var(--ink); }
body .price-card .btn:hover { background: var(--ink); color: #fff; }
body .price-card.featured { background: var(--yellow-wash); border-color: var(--rule); box-shadow: inset 0 4px 0 var(--yellow); color: var(--body); }
body .price-card.featured h3, body .price-card.featured .price-num { color: var(--ink); }
body .price-card.featured .price-num small, body .price-card.featured .price-tag, body .price-card.featured .price-period { color: var(--muted) !important; }
body .price-card.featured ul { border-color: #F1E3A0; color: var(--ink-soft); }
body .price-card.featured ul li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23A16207' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4'/%3E%3C/svg%3E"); }
body .price-card.featured .btn { background: var(--yellow); border-color: var(--yellow); color: var(--navy-950); }
body .price-card.featured .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
body .price-badge { position: absolute; top: 1.15rem; right: 1.25rem; left: auto; display: block; transform: none; width: max-content; margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; font-size: .82rem; font-weight: 600; color: var(--yellow-ink); }
.plan-more { margin: 1.25rem 0 0; font-size: .95rem; color: var(--muted); }
.plan-more a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ==========================================================================
   Split sections, ruled rows, steps, FAQ, closing band
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split-head { position: sticky; top: 7rem; }
.split-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; margin: 0; }
.split-head .lead { margin: 1rem 0 0; max-width: 40ch; }
.split-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rows li { display: flex; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.rows h3 { font-size: 1.05rem; margin: 0 0 .25rem; letter-spacing: -.015em; }
.rows p { margin: 0; max-width: 56ch; }
.tile { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; background: var(--sky-100); color: var(--sky-700); border: 1px solid var(--sky-200); }
.tile svg { width: 19px; height: 19px; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; margin: 0; padding: 0; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-mono); font-size: .9rem; color: var(--yellow-ink); margin-bottom: .6rem; }
.steps h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.steps p { margin: 0; font-size: .96rem; }

body .faq-grid { display: block; border-top: 1px solid var(--rule); max-width: none; gap: 0; }
body .faq-item { background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 0; }
body .faq-item summary { padding: 1.15rem 2rem 1.15rem 0; font-weight: 550; font-size: 1.05rem; color: var(--ink); }
body .faq-item-content { padding: 0 2rem 1.3rem 0; max-width: 62ch; }
body .container-narrow { max-width: var(--container); }

.cta-band { background: var(--yellow); padding-block: clamp(2.25rem, 5vw, 3.5rem); border-top: 1px solid #EAB308; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.7rem); color: var(--navy-950); letter-spacing: -.04em; }
.cta-band .btn-primary { background: var(--navy-950); color: #fff; }
.cta-band .btn-outline { background: transparent; border-color: var(--navy-950); color: var(--navy-950); }
.cta-band .btn-outline:hover { background: var(--navy-950); color: #fff; }

/* ==========================================================================
   Inner pages: same markup, new character
   ========================================================================== */
body .page-hero { text-align: left; padding-block: clamp(2.5rem, 5vw, 4rem); }
body .page-hero-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
body .page-hero:not(:has(.ledger)) .page-hero-inner { grid-template-columns: minmax(0, 52rem); }
body .page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.04; letter-spacing: -.04em; max-width: 16ch; }
body .page-hero .lead { max-width: 54ch; font-size: 1.12rem; }
body .page-hero-visual:not(:has(.ledger)) { display: none; }
body .page-hero .breadcrumbs { font-size: .9rem; }

/* cards that used to float: flat, ruled, small radius */
body .feature-card, body .policy-link-card, body .team-card, body .metric-card, body .hosting-card, body .testimonial, body .compare-card {
  box-shadow: none; border: 1px solid var(--rule); border-radius: 8px; transform: none; }
body .feature-card:hover, body .policy-link-card:hover, body .team-card:hover, body .hosting-card:hover { transform: none; box-shadow: none; border-color: var(--ink); }
body .features { border-top: 1px solid var(--rule); }
body .features .feature { border-color: var(--rule); }
body .feature-icon, body .strip-icon, body .dropdown-icon { border-radius: 6px; }

/* dark blocks inside pages become light; the footer is the only navy surface */
body .cta-section { background: var(--yellow); color: var(--navy-950); border-radius: 8px; text-align: left; box-shadow: none; padding: clamp(1.75rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 3rem; }
body .cta-section h2, body .cta-section p { color: var(--navy-950); margin: 0; max-width: 40ch; }
body .cta-section .cta-actions { margin: 0; justify-content: flex-start; }
body .cta-section .btn-lime, body .cta-section .btn-primary { background: var(--navy-950); color: #fff; }
body .cta-section .btn-outline { background: transparent; border-color: var(--navy-950); color: var(--navy-950); }
body .cta-section::before, body .cta-section::after { display: none; }
body .stats-section, body .datacenters { background: var(--wash); color: var(--body); border-block: 1px solid var(--rule-soft); border-radius: 0; box-shadow: none; }
body .stats-section h2, body .datacenters h2, body .stat-num, body .stats-section .stat-num { color: var(--ink); }
body .stat-label, body .stats-section p, body .datacenters p, body .dc-latency span { color: var(--muted); }
body .dc-latency b { color: var(--ink); }

/* footer: flatter */
body .footer { border-top: 0; }
body .footer-badges .fb { border-radius: 4px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  body .pricing-grid, body .pricing-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .price-card:nth-child(odd) { border-left: 0; }
  body .price-card:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 860px) {
  .hx-grid, .split, .dband-grid, body .page-hero-inner { grid-template-columns: 1fr; }
  body .section-header { grid-template-columns: 1fr; }
  .split-head { position: static; }
  .ledger-price { font-size: 1.45rem; }
}
@media (max-width: 600px) {
  body .pricing-grid, body .pricing-grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
  body .price-card { border-left: 0; border-top: 1px solid var(--rule); }
  body .price-card:first-child { border-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .tabs { overflow-x: auto; max-width: 100%; }
  .dband .domain-search { flex-direction: column; }
  .dband .domain-search .btn { width: 100%; }
}

/* ---- tables: .check/.no on a <td> must stay table cells; plain header text, no all-caps ---- */
td.check, td.no { display: table-cell; cursor: default; text-align: center; }
.compare-table td.check { color: var(--yellow-ink); }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
body .compare-table, body .table-scroll { border-radius: 8px; border-color: var(--rule); }
body .compare-table th, body .table th, body .data-table th { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--wash); }
body .compare-table th.highlighted { background: var(--yellow-wash); color: var(--ink); box-shadow: inset 0 3px 0 var(--yellow); }
body .compare-table td:first-child { color: var(--ink); font-weight: 500; }

/* ---- small fixes found in review ---- */
body .page-hero .ledger-row, body .page-hero .ledger-row:hover { color: var(--ink); }
body .price-badge { text-transform: none; letter-spacing: 0; }
.pricing-toggle { width: max-content; max-width: 100%; justify-self: start; }
body .footer-col h5 { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: #fff; }
@media (max-width: 600px) {
  body .pricing-grid { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin-inline: 0; scroll-snap-type: none; }
}
