/* Isoponet public site. The tokens, type and shapes are the portal's (docs/design/ui-standard.md); nothing loads from outside this folder. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --surface: #f5f4ef; --panel: #ffffff; --ink: #16211c; --muted: #5a6660; --line: #e4e2da;
  --brand: #0b5d45; --brand-soft: #e7f1eb;
  --hero: linear-gradient(125deg, #123d33 0%, #145b43 60%, #177555 100%); --hero-shadow: 0 18px 50px rgba(16, 62, 47, .16);
  --action: #c4ef9a; --action-ink: #123d33; --action-hover: #d4f5b6;
  --mark-bg: #0b5d45; --mark-ink: #fff;
  --todo-bg: #ffe08a; --todo-ink: #4a3200; --todo-line: #b07a00;
  --focus: #ffd27d;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0e1512; --panel: #16201b; --ink: #e6ede8; --muted: #9fb0a7; --line: #2a3830;
    --brand: #5ccb9d; --brand-soft: #203c30;
    --hero: linear-gradient(125deg, #122b25 0%, #153d30 65%, #1a503a 100%); --hero-shadow: 0 18px 50px rgba(0, 0, 0, .2);
    --action: #bfe89a; --action-ink: #13271d; --action-hover: #d0f1b3;
    --mark-bg: #8dd4ae; --mark-ink: #10251c;
    --todo-bg: #3a2e12; --todo-ink: #f1c15b; --todo-line: #f1c15b;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 1rem/1.5 var(--font); font-feature-settings: "ss01"; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: .4rem; }
.icon { width: 1.2rem; height: 1.2rem; flex: none; fill: currentColor; }
.skip { position: absolute; left: .8rem; top: -4rem; z-index: 5; padding: .7rem 1rem; border-radius: .8rem; background: var(--action); color: var(--action-ink); font-weight: 750; }
.skip:focus { top: .8rem; }

.wrap { max-width: 60rem; margin: 0 auto; padding: 1rem 1.125rem 2.5rem; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding: .25rem 0 1.1rem; }
.mark { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.mark-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .9rem; color: var(--mark-ink); background: var(--mark-bg); }
.mark-icon svg { width: 1.35rem; height: 1.35rem; }
.mark-word { display: block; font-size: .95rem; line-height: 1.1; font-weight: 750; letter-spacing: -.02em; }
.mark-sub { display: block; margin-top: .22rem; color: var(--muted); font-size: .72rem; line-height: 1; font-weight: 600; }
.menu { display: flex; flex-wrap: wrap; gap: .2rem; margin: 0 -.7rem; }
.menu a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .75rem; border-radius: .8rem; color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
.menu a:hover { color: var(--brand); }
.menu a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

/* Hero: the one coloured block on a page */
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(15rem, .8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 1.8rem; color: #f4faf6; background: var(--hero); box-shadow: var(--hero-shadow); }
.hero::after { position: absolute; content: ""; width: 21rem; height: 21rem; right: 14%; top: -15rem; border: 1px solid rgba(220, 255, 238, .12); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(220, 255, 238, .035), 0 0 0 4rem rgba(220, 255, 238, .025); pointer-events: none; }
.hero-kicker { display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; color: #b8e2ca; font-size: .86rem; line-height: 1.3; font-weight: 700; }
.hero-dot { flex: none; width: .45rem; height: .45rem; border-radius: 50%; background: #b4e58b; box-shadow: 0 0 0 .25rem rgba(180, 229, 139, .12); }
.hero h1 { max-width: 11ch; color: #fff; font-size: clamp(2.2rem, 6vw, 4.1rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 760; }
.hero-intro { max-width: 34rem; margin-top: 1rem; color: #d7e9de; font-size: clamp(1rem, 2vw, 1.13rem); line-height: 1.65; }
.hero-actions { margin-top: 1.5rem; }
.hero-card { position: relative; z-index: 1; padding: 1.25rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 1.25rem; background: rgba(6, 34, 26, .28); backdrop-filter: blur(8px); }
.hero-card h2 { color: #fff; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; }
.hero-card p { margin-top: .65rem; color: #d7e9de; font-size: .9rem; line-height: 1.8; }
.hero-card .hero-card-note { line-height: 1.5; color: #c0e6ce; font-size: .82rem; }
.hero .chip { color: #fff; background: rgba(6, 34, 26, .4); border-color: rgba(255, 255, 255, .28); }

/* Buttons: one primary per page, the rest quiet */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.9rem; padding: .8rem 1.1rem; border: 1px solid transparent; border-radius: .8rem; font-size: .96rem; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn .icon { width: 1.15rem; height: 1.15rem; }
.btn-primary { color: var(--action-ink); background: var(--action); }
.btn-primary:hover { background: var(--action-hover); transform: translateY(-1px); }
.btn-quiet { color: var(--ink); border-color: var(--line); background: var(--panel); }
.btn-quiet:hover { color: var(--brand); border-color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn-primary:hover { transform: none; } }

/* Panels */
.grid { align-items: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.1rem; }
.panel { min-width: 0; padding: clamp(1.1rem, 3vw, 1.5rem); border: 1px solid var(--line); border-radius: 1.25rem; background: var(--panel); }
.panel-wide { margin-top: 1.1rem; }
.panel-head { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1rem; }
.tile { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: .75rem; color: var(--brand); background: var(--brand-soft); }
.tile .icon { width: 1.15rem; height: 1.15rem; }
.panel h2 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; }
.lede { margin-top: .28rem; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.body { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.body + .body { margin-top: .75rem; }
.body strong, .steps strong, .list strong { color: var(--ink); }
.panel-link { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.text-link { color: var(--brand); font-weight: 680; text-decoration: underline; text-underline-offset: .16em; }
.chip { display: inline-block; padding: .2rem .45rem; border: 1px solid var(--line); border-radius: .4rem; color: var(--ink); background: var(--surface); font: .8rem/1.35 var(--mono); overflow-wrap: anywhere; }

/* Steps: used only where there is a sequence */
.steps li { display: grid; grid-template-columns: 1.65rem 1fr; gap: .65rem; padding: .76rem 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.facts + .steps li:first-child { border-top: 0; padding-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.step-n { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-size: .75rem; font-weight: 800; }
.steps p { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.list li { position: relative; padding: .4rem 0 .4rem 1.1rem; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.list li::before { position: absolute; content: ""; left: 0; top: .95rem; width: .4rem; height: .4rem; border-radius: 50%; background: var(--brand); }

/* Plans: the price board */
.plan-list { display: grid; gap: .55rem; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem 1rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: .85rem; }
.plan-name { color: var(--ink); font-size: .94rem; font-weight: 720; line-height: 1.3; }
.plan-terms { margin-top: .25rem; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.plan-speed { margin-top: .35rem; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.plan-empty { grid-template-columns: 1fr; }
.plan-price { min-width: 0; color: var(--ink); font-size: 1.02rem; font-weight: 780; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: right; }
.plan-list-cards { grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1.1rem; }
.plan-cards { grid-template-columns: 1fr; align-content: start; padding: clamp(1.1rem, 3vw, 1.5rem); border-radius: 1.25rem; background: var(--panel); }
.plan-cards .plan-name { font-size: 1.08rem; letter-spacing: -.02em; }
.plan-cards .plan-price { order: -1; text-align: left; font-size: 2rem; line-height: 1.1; letter-spacing: -.04em; font-weight: 780; }
.plan-cards .plan-terms { font-size: .95rem; color: var(--ink); }
.plan-cards .plan-speed { font-size: .84rem; padding-top: .7rem; border-top: 1px solid var(--line); margin-top: .8rem; }

/* Facts: label and value rows */
.facts > div { display: grid; grid-template-columns: minmax(7rem, 9rem) 1fr; gap: .2rem 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts > div:last-child { padding-bottom: 0; }
.facts dt { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.facts dd { font-size: .92rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.facts-long > div { grid-template-columns: minmax(8rem, 10.5rem) 1fr; }
.facts-long dd { font-weight: 400; color: var(--muted); }

.facts + .steps { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }

/* Contact */
.contact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.contact-row { display: flex; align-items: center; gap: .9rem; min-width: 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 1.25rem; color: var(--ink); background: var(--panel); text-decoration: none; }
a.contact-row:hover { border-color: var(--brand); }
.contact-row-primary { border-color: transparent; color: var(--action-ink); background: var(--action); }
a.contact-row-primary:hover { background: var(--action-hover); border-color: transparent; }
.contact-icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: .8rem; color: var(--brand); background: var(--brand-soft); }
.contact-row-primary .contact-icon { color: var(--action-ink); background: rgba(255, 255, 255, .5); }
.contact-icon .icon { width: 1.3rem; height: 1.3rem; }
.contact-copy { display: grid; min-width: 0; gap: .15rem; }
.contact-title { font-size: 1rem; font-weight: 750; line-height: 1.3; }
.contact-body { color: var(--muted); font-size: .88rem; line-height: 1.4; overflow-wrap: anywhere; }
.contact-row-primary .contact-body { color: var(--action-ink); }

/* Page heads and long text */
.page-head { padding: .5rem .1rem 1.4rem; }
.page-head h1 { max-width: 20ch; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; letter-spacing: -.05em; font-weight: 760; }
.page-lede { max-width: 38rem; margin-top: .8rem; color: var(--muted); font-size: 1.04rem; line-height: 1.6; }
.page-meta { margin-top: .8rem; color: var(--muted); font-size: .86rem; }
.page-head .btn { margin-top: 1rem; }
.page-plans .plan-list-cards { margin-bottom: 0; }
.prose { max-width: 46rem; padding: clamp(1.25rem, 4vw, 2.25rem); }
.prose h2 { margin-top: 2rem; font-size: 1.15rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: .96rem; line-height: 1.7; }
.prose p { margin-top: .7rem; }
.prose ul { margin-top: .6rem; padding-left: 1.2rem; list-style: disc; }
.prose li { padding: .2rem 0; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); }
.prose .facts { margin-top: .9rem; }
.prose .facts dd { font-size: .94rem; line-height: 1.6; }

/* FAQ: native details, no script */
.faq { display: grid; gap: .55rem; max-width: 46rem; }
.faq details { border: 1px solid var(--line); border-radius: .85rem; background: var(--panel); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.1rem; padding: .75rem 1rem; font-size: .98rem; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .55rem; height: .55rem; margin-right: .2rem; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 1rem 1rem; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.faq .answer p + p { margin-top: .6rem; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* The closing band on the home page */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.1rem; padding: clamp(1.1rem, 3vw, 1.5rem); border-radius: 1.25rem; background: var(--brand-soft); }
.band h2 { font-size: 1.15rem; letter-spacing: -.02em; }
.band p { margin-top: .2rem; color: var(--muted); font-size: .92rem; }
.band .band-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }

/* Footer */
.site-footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 1.5rem; margin-top: 2rem; padding: 1.5rem .2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; line-height: 1.6; }
.foot-name { color: var(--ink); font-weight: 700; }
.foot-head { color: var(--ink); font-weight: 700; margin-bottom: .2rem; }
.foot-links a, .site-footer .text-link { display: inline-block; padding: .3rem 0; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--brand); text-decoration: underline; }
.foot-line { grid-column: 1 / -1; font-size: .8rem; }

/* A fact Harry hasn't decided: loud on purpose, so it can't be published by accident */
.todo { padding: .05rem .35rem; border: 1px dashed var(--todo-line); border-radius: .3rem; color: var(--todo-ink); background: var(--todo-bg); font: 600 .78em/1.5 var(--mono); overflow-wrap: anywhere; }
.legal-banner { max-width: 46rem; margin-top: .9rem; padding: .7rem .9rem; border: 1px dashed var(--todo-line); border-radius: .85rem; color: var(--todo-ink); background: var(--todo-bg); font-size: .9rem; }
.legal-banner .todo { border: 0; padding: 0; background: none; }
.legal-banner.legal-draft { border: 1px solid var(--line); color: var(--muted); background: var(--brand-soft); }

@media (max-width: 42rem) {
  .wrap { padding: .75rem .8rem 1.5rem; }
  .site-header { padding: .2rem .1rem .5rem; }
  .menu { margin: 0 -.5rem; }
  .menu a { padding: 0 .6rem; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; gap: 1.35rem; padding: 1.45rem 1.25rem; border-radius: 1.35rem; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero-card { padding: 1rem; }
  .btn { width: 100%; }
  .band .band-actions { width: 100%; }
  .band .band-actions .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: 1fr; gap: .8rem; margin-top: .8rem; }
  .panel-wide { margin-top: .8rem; }
  .panel { border-radius: 1.05rem; }
  .plan-list-cards { gap: .8rem; }
  .contact-list { grid-template-columns: 1fr; gap: .8rem; }
  .facts > div, .facts-long > div { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; }
  .prose { padding: 1.1rem; }
}
@media (min-width: 42.01rem) and (max-width: 52rem) { .contact-list { grid-template-columns: 1fr; } }
