/* en3 Mail portal. Graphite palette from the en3 suite tokens (P2). */
@font-face { font-family: "Geist"; src: url("/_p/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/_p/geist-mono-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ground: #f3f2ee; --raised: #ffffff; --field: #e4e2dc; --tone: #ebe9e4; --tone-2: #d8d5ce;
  --ink: #111110; --muted: #57554f; --line: #e0ded8; --line-2: #cbc8c0; --night: #111110; --night-ink: #f3f2ee;
  --thread: #ec4800; --thread-strong: #cf3f00; --thread-soft: #ffe3d6; --thread-text: #a33200;
  --spark: #9ad7ff; --ok: #157a46; --ok-soft: #dcefe3; --alert: #b3261e; --alert-soft: #f8dedb; --warn-soft: #fbefc9; --warn: #8a6400;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-code: "Geist Mono", ui-monospace, monospace;
  --radius-card: 14px; --radius-field: 10px; --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0e0e0d; --raised: #181817; --field: #1f1e1c; --tone: #1f1e1c; --tone-2: #2a2927;
    --ink: #f2f1ed; --muted: #a3a19a; --line: #2a2927; --line-2: #383633; --night: #050505; --night-ink: #f2f1ed;
    --thread: #ff6a2b; --thread-strong: #ff8650; --thread-soft: #3a1a0c; --thread-text: #ff8650;
    --ok: #3ccf7e; --ok-soft: #10291b; --alert: #ff6b5b; --alert-soft: #3a1512; --warn-soft: #2e2509; --warn: #f5b301;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.5 var(--font-sans); }
a { color: inherit; text-decoration-color: var(--thread); text-underline-offset: 3px; }
a:hover { color: var(--thread-text); }
code, .mono { font-family: var(--font-code); font-size: 0.9em; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); letter-spacing: -0.035em; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); background: var(--ground); position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
.brand .mark { width: 26px; height: 26px; border-radius: 7px; background: var(--night); position: relative; }
.brand .mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 12px; height: 3px; border-radius: 2px; background: var(--thread); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 7px 12px; border-radius: var(--radius-pill); font-size: 14px; color: var(--muted); }
.nav a:hover { background: var(--tone); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--night); color: var(--night-ink); }

.wrap { max-width: 1080px; margin: 0 auto; padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 40px) 80px; }
.narrow { max-width: 440px; }

/* cards + grid */
.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(16px, 2.4vw, 24px); margin-bottom: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 1000px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.stat .n { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* forms */
label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--field); border: 1px solid transparent; border-radius: var(--radius-field); padding: 11px 12px; min-height: 44px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--thread); outline-offset: 1px; background: var(--raised); }
.field { margin-bottom: 14px; }
.inline { display: flex; gap: 8px; align-items: stretch; }
.inline > input { flex: 1; min-width: 0; }
.suffix { display: flex; align-items: center; padding: 0 12px; background: var(--tone); border-radius: var(--radius-field); color: var(--muted); white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--night); background: var(--night); color: var(--night-ink); font: 500 15px var(--font-sans); cursor: pointer; text-decoration: none; transition: transform 140ms var(--ease), background 180ms var(--ease); }
.btn:hover { color: var(--night-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.thread { background: var(--thread-strong); border-color: var(--thread-strong); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { color: var(--ink); background: var(--tone); }
.btn.danger { background: transparent; color: var(--alert); border-color: var(--alert); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--alert); text-decoration: underline; cursor: pointer; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.val { font-family: var(--font-code); font-size: 12.5px; word-break: break-all; background: var(--tone); padding: 6px 8px; border-radius: 6px; display: block; max-width: 520px; }

/* pills, notes, bars */
.pill { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 500; background: var(--tone); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.bad { background: var(--alert-soft); color: var(--alert); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.thread { background: var(--thread-soft); color: var(--thread-text); }
.note { border-radius: var(--radius-field); padding: 12px 14px; margin-bottom: 16px; background: var(--tone); font-size: 14px; }
.note.ok { background: var(--ok-soft); }
.note.bad { background: var(--alert-soft); }
.note.warn { background: var(--warn-soft); }
.meter { height: 8px; background: var(--tone-2); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.meter > i { display: block; height: 100%; background: var(--night); border-radius: 99px; }
.meter.hot > i { background: var(--thread); }
.secret { font-family: var(--font-code); font-size: 15px; background: var(--night); color: var(--night-ink); padding: 12px 14px; border-radius: var(--radius-field); word-break: break-all; user-select: all; }

/* landing */
.hero { padding: clamp(40px, 8vw, 100px) 0 clamp(30px, 5vw, 60px); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 0.95; max-width: 13ch; }
.hero h1 .t { color: var(--thread); }
.lead { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 54ch; }
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps .card { position: relative; padding-top: 48px; }
.steps .card::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; top: 18px; left: 24px; font: 500 13px var(--font-code); color: var(--thread-text); }
.thread-line { height: 3px; width: 64px; background: var(--thread); border-radius: 2px; margin: 0 0 18px; }
.foot { border-top: 1px solid var(--line); padding: 24px clamp(16px, 4vw, 40px); color: var(--muted); font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--font-code); font-size: 13px; }
@media (max-width: 640px) {
  .bar { flex-wrap: wrap; }
  .tbl.stack thead { display: none; }
  .tbl.stack tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .tbl.stack td { display: block; border: 0; padding: 4px 0; }
  .tbl.stack td[data-l]::before { content: attr(data-l); display: block; font-size: 12px; color: var(--muted); }
}

/* DNS records + guided setup */
.cv { display: flex; align-items: stretch; gap: 6px; min-width: 0; }
.cv .val { flex: 1; min-width: 0; max-width: none; display: flex; align-items: center; word-break: break-all; }
.cv .val.tight { flex: 0 0 auto; }
.copy { flex: 0 0 auto; min-height: 30px; min-width: 56px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--raised, #fff); color: var(--ink); font: 500 12px var(--font-sans); cursor: pointer; transition: background 140ms var(--ease); }
.copy:hover { background: var(--tone); }
.copy.done { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.tbl.dns { table-layout: fixed; min-width: 880px; }
.tbl.dns th, .tbl.dns td { padding: 12px 10px; vertical-align: top; }
.tbl.dns .c-st { width: 92px; } .tbl.dns .c-ty { width: 112px; } .tbl.dns .c-ho { width: 21%; } .tbl.dns .c-va { width: 31%; } .tbl.dns .c-pr { width: 108px; } .tbl.dns .c-wh { width: auto; }
.tbl.dns .found { margin-top: 6px; word-break: break-all; }
.exports { margin: 0 0 14px; gap: 10px; align-items: center; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 16px; }
.seg a { padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); font-size: 13px; color: var(--ink); text-decoration: none; }
.seg a[aria-current] { background: var(--night); color: var(--night-ink); border-color: var(--night); }
.help { margin-bottom: 14px; } .help summary { cursor: pointer; font-weight: 500; } .help ol { margin: 10px 0 6px; padding-left: 20px; } .help li { margin-bottom: 4px; }
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 18px; overflow-x: auto; }
.stepper li { flex: 1 0 auto; }
.stepper a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius-field); border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 13px; white-space: nowrap; }
.stepper .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tone-2); font: 500 12px var(--font-code); }
.stepper .cur a { border-color: var(--night); color: var(--ink); background: var(--raised, #fff); }
.stepper .done .n { background: var(--ok); color: #fff; } .stepper .todo .n { background: var(--alert); color: #fff; }
.stepper em { font-style: normal; font-size: 11px; color: var(--muted); }
.stephead { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.what p { margin: 6px 0 0; max-width: 70ch; }
.rec { margin-bottom: 14px; } .rec h3 { margin: 0; font-size: 16px; } .rec.is-ok { border-color: var(--ok); } .rec.is-bad { border-color: var(--alert); }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 18px; margin: 12px 0 0; }
.fld dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; } .fld dd { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.fld:has(.val:not(:empty)) { min-width: 0; }
.stepbar { margin: 16px 0 28px; gap: 10px; }
.ok-text { color: var(--ok); margin-top: 10px; }
@media (max-width: 640px) {
  .tbl.dns { min-width: 0; table-layout: auto; }
  .stepper a .t { display: none; } .stepper .cur a .t { display: inline; }
  .fields { grid-template-columns: 1fr; }
}
.cv { align-items: flex-start; }
.cv .val { padding: 5px 8px; min-height: 30px; }
.cv .val.tight, .tbl.dns .c-pr .val { white-space: nowrap; }
.copy { min-height: 30px; height: 30px; align-self: flex-start; }
.tbl.dns .c-ty { width: 120px; } .tbl.dns .c-pr { width: 124px; } .tbl.dns .c-st { width: 88px; }
.tbl.dns td[data-l="Priority"] .val { word-break: normal; white-space: nowrap; }
.stepper { flex-wrap: wrap; overflow: visible; }
.stepper li { flex: 1 1 auto; }
@media (max-width: 640px) { .stepper li.cur { flex-basis: 100%; order: 9; } .stepper li { flex: 0 0 auto; } }

/* ---- site: landing + pricing (config driven) ---- */
.eyebrow { font: 500 13px var(--font-code); color: var(--thread-text); letter-spacing: 0.04em; margin: 0 0 14px; }
.big { font-size: clamp(2rem, 1rem + 4vw, 4rem); line-height: 1; letter-spacing: -0.04em; margin: 0 0 0.4em; overflow-wrap: anywhere; }
.angles { margin-top: clamp(16px, 4vw, 48px); }
.angle { display: grid; gap: clamp(24px, 5vw, 72px); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.angle.flip .angle-t { order: 2; }
.angle-i { color: var(--muted); }
.ill { display: block; width: 100%; max-width: 360px; height: auto; margin-inline: auto; }
.angle .lead { margin-bottom: 0; }
.band { padding: clamp(56px, 8vw, 96px) 0 0; border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 96px); }
.band > h2 { font-size: 1.6rem; }
.angles + .band { margin-top: 0; }
.get { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.get > div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.get dt { font-weight: 600; margin-bottom: 6px; } .get dd { margin: 0; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.teaser { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.teaser > div { min-width: 0; flex: 1 1 360px; }
.final { text-align: left; padding-bottom: 24px; }
.final .big { max-width: 16ch; }
.phead { padding: clamp(24px, 5vw, 56px) 0 8px; }
.phead h1 { max-width: 14ch; font-size: clamp(2.4rem, 1rem + 5vw, 4.6rem); line-height: 0.98; overflow-wrap: anywhere; }
.tog { display: flex; gap: 8px 28px; flex-wrap: wrap; margin-top: 8px; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 24px; }
.plan { display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line-2); border-radius: var(--radius-card); background: var(--raised); }
.plan.pick { border: 2px solid var(--thread); padding: calc(clamp(20px, 3vw, 32px) - 1px); }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; } .plan p { overflow-wrap: anywhere; }
.price { margin: 18px 0 2px; } .amt { font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.per { min-height: 3.2em; } .save { color: var(--ok); font-weight: 500; }
.lim { list-style: none; padding: 0; margin: 12px 0 24px; border-top: 1px solid var(--line); flex: 1; }
.lim li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lim b { font-variant-numeric: tabular-nums; }
.addon { margin-top: 16px; overflow-wrap: anywhere; }
.tbl.sup { font-size: 15px; } .tbl.sup th[scope="row"] { color: var(--ink); font-weight: 600; white-space: normal; } .tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dlist { list-style: none; display: flex; gap: 10px 28px; flex-wrap: wrap; padding: 0; margin: 0; }
.dlist li { font-size: 1.1rem; } .dlist b { color: var(--thread-text); font-variant-numeric: tabular-nums; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; } .faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; overflow-wrap: anywhere; } .faq p { margin: 10px 0 0; color: var(--muted); max-width: 70ch; }
@media (max-width: 760px) { .angle { grid-template-columns: minmax(0, 1fr); } .angle.flip .angle-t { order: 0; } .angle-i { order: 2; } .ill { max-width: 240px; margin-inline: 0; } .tbl.sup tr { padding: 12px 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.band { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(32px, 5vw, 56px); }
.plan > p.muted:first-of-type { min-height: 3em; }
.phead h1 { text-wrap: balance; }
.tbl.sup th[scope="row"] { border-bottom: 1px solid var(--line); }
.faq + p, .band + p { margin-top: 24px; }
