/* ==========================================================================
   Nometric marketing site
   Tokens match the WHMCS theme (whmcs/templates/nometric/css/nometric.css).
   ========================================================================== */

:root {
    --nm-ink: #0d1117;
    --nm-ink-2: #161b26;
    --nm-ink-3: #232a38;
    --nm-paper: #f5f4ef;
    --nm-surface: #ffffff;
    --nm-line: #e4e2da;
    --nm-line-strong: #cfccc1;
    --nm-text: #1a1f29;
    --nm-muted: #5d6472;
    --nm-on-ink: #f5f4ef;
    --nm-on-ink-muted: #9aa1ae;

    --nm-accent: #ff5a1f;
    --nm-accent-hover: #e2460d;
    --nm-accent-soft: #fff0e9;
    --nm-accent-text: #c93d0a;

    --nm-connect: #ff5a1f;
    --nm-voice: #7a5cff;
    --nm-host: #0fa89b;
    --nm-ok: #1fbf7a;

    --nm-radius: 12px;
    --nm-radius-sm: 8px;
    --nm-shadow: 0 1px 2px rgba(13, 17, 23, .04), 0 4px 16px rgba(13, 17, 23, .06);
    --nm-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --nm-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --nm-cat: var(--nm-accent);
}

.nm-cat-connect { --nm-cat: var(--nm-connect); }
.nm-cat-voice   { --nm-cat: var(--nm-voice); }
.nm-cat-host    { --nm-cat: var(--nm-host); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--nm-paper);
    color: var(--nm-text);
    font: 16px/1.6 var(--nm-font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--nm-display);
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--nm-ink);
    line-height: 1.15;
    margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
a { color: var(--nm-accent-hover); }
a:hover { color: var(--nm-ink); }
img { max-width: 100%; }
::selection { background: var(--nm-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--nm-accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
@media (max-width: 767px) { .hide-sm { display: none !important; } }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--nm-radius-sm);
    border: 1px solid transparent;
    font: 600 14px/1.2 var(--nm-font);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
}
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-primary { background: var(--nm-accent); border-color: var(--nm-accent); color: #fff; }
.btn-primary:hover { background: var(--nm-accent-hover); border-color: var(--nm-accent-hover); color: #fff; }
.btn-ink { background: var(--nm-ink); border-color: var(--nm-ink); color: #fff; }
.btn-ink:hover { background: var(--nm-ink-3); color: #fff; }
.btn-outline { background: var(--nm-surface); border-color: var(--nm-line-strong); color: var(--nm-ink); }
.btn-outline:hover { border-color: var(--nm-ink); color: var(--nm-ink); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--nm-ink); }
.btn-ghost { color: var(--nm-ink); }
.btn-ghost:hover { background: var(--nm-paper); color: var(--nm-ink); }

/* ---------- Brand (footer) ---------- */

.nm-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--nm-ink); font: 700 21px/1 var(--nm-display); letter-spacing: -.03em; text-decoration: none; }
.nm-brand:hover { color: var(--nm-ink); }
.nm-brand-light, .nm-brand-light:hover { color: var(--nm-on-ink); }

/* Anchor targets clear the sticky navbar */
[id] { scroll-margin-top: 88px; }

/* ---------- Status pulse ---------- */


.nm-pulse { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--nm-ok); flex: none; }
.nm-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--nm-ok); animation: nm-pulse 2s ease-out infinite; }
@keyframes nm-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nm-pulse::after { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Hero ---------- */

.nm-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--nm-cat) 30%, transparent), transparent 60%),
        radial-gradient(700px 380px at -10% 110%, rgba(122, 92, 255, .22), transparent 60%),
        var(--nm-ink);
    color: var(--nm-on-ink);
    padding: 88px 0 80px;
}
.nm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
    pointer-events: none;
}
.nm-hero .wrap { position: relative; }
.nm-hero h1 {
    color: var(--nm-on-ink);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.04;
    margin: 20px 0;
    max-width: 880px;
}
.nm-hero h1 span { color: var(--nm-accent); }
.nm-hero-product h1 { font-size: clamp(34px, 5vw, 54px); }
.nm-lede { font-size: 18px; color: var(--nm-on-ink-muted); max-width: 640px; }
.nm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--nm-ink-3);
    background: rgba(255, 255, 255, .04);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--nm-on-ink-muted);
}
.nm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nm-hero-domain { margin-top: 56px; max-width: 760px; }
.nm-hero-domain-label { font-size: 13px; color: var(--nm-on-ink-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }

.nm-hero-grid { display: grid; gap: 40px; align-items: center; }
.nm-hero-grid > * { min-width: 0; }
@media (min-width: 960px) { .nm-hero-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }

.nm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nm-cat);
}
.nm-hero .nm-kicker { color: var(--nm-cat); }

.nm-subnav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
@media (max-width: 639px) {
    .nm-subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
    .nm-subnav a { flex: none; }
    .nm-domain .btn { padding: 0 16px; }
    .nm-spec-card { padding: 20px; }
}
.nm-subnav a {
    padding: 6px 14px;
    border: 1px solid var(--nm-ink-3);
    border-radius: 999px;
    font-size: 13px;
    color: var(--nm-on-ink-muted);
    text-decoration: none;
}
.nm-subnav a:hover { color: var(--nm-on-ink); border-color: var(--nm-on-ink-muted); }
.nm-subnav a.is-active { background: var(--nm-on-ink); color: var(--nm-ink); border-color: var(--nm-on-ink); }

.nm-spec-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--nm-ink-3);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(6px);
}
.nm-spec-card h2 { color: var(--nm-on-ink); font-size: 16px; margin-bottom: 16px; }
.nm-spec-card dl { margin: 0; }
.nm-spec-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--nm-ink-3);
}
.nm-spec-card dt { color: var(--nm-on-ink-muted); font-size: 14px; }
.nm-spec-card dd { margin: 0; font-family: var(--nm-display); font-weight: 600; color: var(--nm-on-ink); text-align: right; }

/* Domain search */
.nm-domain {
    position: relative;
    display: flex;
    gap: 6px;
    background: var(--nm-surface);
    border-radius: var(--nm-radius);
    padding: 6px;
    margin-top: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.nm-hero-domain .nm-domain { margin-top: 0; }
.nm-domain i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--nm-muted); }
.nm-domain input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    font: 17px var(--nm-font);
    padding: 14px 12px 14px 44px;
    color: var(--nm-ink);
    background: transparent;
}
.nm-domain .btn { padding: 0 26px; }
.nm-domain-tlds { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; font-size: 14px; color: var(--nm-on-ink-muted); }
.nm-domain-tlds b { color: var(--nm-on-ink); font-weight: 600; }

/* ---------- Sections ---------- */

.nm-section { padding: 88px 0; }
.nm-section-alt { background: var(--nm-surface); border-top: 1px solid var(--nm-line); border-bottom: 1px solid var(--nm-line); }
.nm-section-ink { background: var(--nm-ink); color: var(--nm-on-ink-muted); }
.nm-section-ink h2, .nm-section-ink h3 { color: var(--nm-on-ink); }
.nm-section-head { margin-bottom: 40px; max-width: 720px; }
.nm-section-head .nm-kicker { color: var(--nm-accent-hover); }
.nm-section-ink .nm-section-head .nm-kicker { color: var(--nm-accent); }
.nm-section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 8px 0 0; letter-spacing: -.025em; }

/* Pillars */
.nm-pillars { display: grid; gap: 20px; }
@media (min-width: 900px) { .nm-pillars { grid-template-columns: repeat(3, 1fr); } }
.nm-pillar {
    position: relative;
    overflow: hidden;
    background: var(--nm-surface);
    border: 1px solid var(--nm-line);
    border-radius: var(--nm-radius);
    padding: 32px;
    transition: border-color .2s, transform .2s;
}
.nm-pillar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--nm-cat); }
.nm-pillar:hover { border-color: var(--nm-line-strong); transform: translateY(-2px); }
.nm-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--nm-cat) 12%, white);
    color: var(--nm-cat);
    font-size: 20px;
    margin-bottom: 20px;
}
.nm-pillar h3 { font-size: 24px; }
.nm-pillar p { color: var(--nm-muted); }
.nm-pillar-links { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--nm-line); }
.nm-pillar-links li { border-bottom: 1px solid var(--nm-line); }
.nm-pillar-links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; color: var(--nm-ink); font-weight: 500; text-decoration: none; }
.nm-pillar-links a i { color: var(--nm-line-strong); font-size: 12px; transition: transform .2s, color .2s; }
.nm-pillar-links a:hover { color: var(--nm-cat); }
.nm-pillar-links a:hover i { color: var(--nm-cat); transform: translateX(3px); }

/* Stats + why */
.nm-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--nm-ink-3);
    border-radius: var(--nm-radius);
    overflow: hidden;
    gap: 1px;
    background: var(--nm-ink-3);
}
@media (min-width: 900px) { .nm-stats { grid-template-columns: repeat(4, 1fr); } }
.nm-stats div { background: var(--nm-ink); padding: 28px; }
.nm-stats strong { display: block; font: 700 clamp(32px, 4vw, 48px)/1 var(--nm-display); color: var(--nm-on-ink); letter-spacing: -.03em; margin-bottom: 8px; }
.nm-stats span { font-size: 14px; }
.nm-why { display: grid; gap: 32px; margin-top: 56px; }
@media (min-width: 900px) { .nm-why { grid-template-columns: repeat(3, 1fr); } }
.nm-why i { color: var(--nm-accent); font-size: 22px; margin-bottom: 16px; }
.nm-why h3 { font-size: 20px; }

/* Features */
.nm-features { display: grid; gap: 1px; background: var(--nm-line); border: 1px solid var(--nm-line); border-radius: var(--nm-radius); overflow: hidden; }
@media (min-width: 640px) { .nm-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .nm-features { grid-template-columns: repeat(3, 1fr); } }
.nm-feature { background: var(--nm-surface); padding: 28px; }
.nm-feature i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--nm-cat) 12%, white); color: var(--nm-cat); margin-bottom: 18px; }
.nm-feature h3 { font-size: 18px; }
.nm-feature p { color: var(--nm-muted); font-size: 15px; margin: 0; }

/* Plans */
.nm-plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .nm-plans { grid-template-columns: repeat(3, 1fr); } }
.nm-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--nm-paper);
    border: 1px solid var(--nm-line);
    border-radius: var(--nm-radius);
    padding: 32px;
}
.nm-plan.is-featured { background: var(--nm-ink); border-color: var(--nm-ink); color: var(--nm-on-ink-muted); }
.nm-plan.is-featured h3, .nm-plan.is-featured .nm-plan-price { color: var(--nm-on-ink); }
.nm-plan-flag {
    position: absolute;
    top: -12px;
    left: 32px;
    background: var(--nm-cat);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
}
.nm-plan h3 { font-size: 20px; margin-bottom: 12px; }
.nm-plan-price { font: 700 40px/1 var(--nm-display); color: var(--nm-ink); letter-spacing: -.03em; margin-bottom: 24px; }
.nm-plan-price small { font: 500 14px var(--nm-font); color: var(--nm-muted); letter-spacing: 0; margin-left: 4px; }
.nm-plan.is-featured .nm-plan-price small { color: var(--nm-on-ink-muted); }
.nm-plan ul { list-style: none; padding: 24px 0 0; margin: 0 0 28px; border-top: 1px solid var(--nm-line); flex: 1; }
.nm-plan.is-featured ul { border-color: var(--nm-ink-3); }
.nm-plan li { display: flex; gap: 10px; align-items: baseline; padding: 5px 0; font-size: 15px; }
.nm-plan li i { color: var(--nm-cat); font-size: 12px; }
.nm-plan .btn { width: 100%; }
.nm-plan-note { margin: 24px 0 0; font-size: 13px; color: var(--nm-muted); }

/* FAQ */
.nm-faq-wrap { display: grid; gap: 24px; }
@media (min-width: 960px) { .nm-faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.nm-faq details { border-bottom: 1px solid var(--nm-line); }
.nm-faq details:first-child { border-top: 1px solid var(--nm-line); }
.nm-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font: 600 17px var(--nm-display);
    color: var(--nm-ink);
}
.nm-faq summary::-webkit-details-marker { display: none; }
.nm-faq summary::after { content: "+"; font: 400 24px/1 var(--nm-font); color: var(--nm-muted); transition: transform .2s; }
.nm-faq details[open] summary::after { transform: rotate(45deg); }
.nm-faq details p { color: var(--nm-muted); padding-bottom: 20px; margin: 0; }

/* Contact */
.nm-contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .nm-contact { grid-template-columns: 1.6fr 1fr; gap: 64px; } }
.nm-form { display: grid; gap: 18px; background: var(--nm-surface); border: 1px solid var(--nm-line); border-radius: 16px; padding: 32px; }
.nm-form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .nm-form-row { grid-template-columns: 1fr 1fr; } }
.nm-form label { display: grid; gap: 6px; font-weight: 500; font-size: 14px; color: var(--nm-ink); }
.nm-form input, .nm-form select, .nm-form textarea {
    width: 100%;
    font: 15px var(--nm-font);
    padding: 11px 14px;
    border: 1px solid var(--nm-line-strong);
    border-radius: var(--nm-radius-sm);
    background: var(--nm-surface);
    color: var(--nm-text);
}
.nm-form input:focus, .nm-form select:focus, .nm-form textarea:focus { outline: 0; border-color: var(--nm-ink); box-shadow: 0 0 0 3px rgba(255, 90, 31, .18); }
.nm-form .btn { justify-self: start; }
.nm-contact-side { display: grid; gap: 28px; align-content: start; }
.nm-contact-side h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.nm-contact-side h3 i { color: var(--nm-accent); }
.nm-contact-side p { color: var(--nm-muted); margin: 0; }

/* ---------- CTA band + footer ---------- */

.nm-cta-band { background: var(--nm-accent); color: #fff; padding: 40px 0; }
.nm-cta-band .wrap { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 768px) { .nm-cta-band .wrap { flex-direction: row; align-items: center; justify-content: space-between; } }
.nm-cta-band h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.nm-cta-band p { margin: 0; color: rgba(255, 255, 255, .88); }
.nm-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.nm-cta-band .btn-outline-light:hover { color: var(--nm-accent-hover); }

.nm-footer { background: var(--nm-ink); color: var(--nm-on-ink-muted); padding: 72px 0 28px; font-size: 14px; }
.nm-footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.nm-footer-brand { grid-column: 1 / -1; }
@media (min-width: 960px) {
    .nm-footer-grid { grid-template-columns: 2fr repeat(5, 1fr); }
    .nm-footer-brand { grid-column: auto; }
}
.nm-footer-brand p { max-width: 320px; margin-top: 14px; }
.nm-footer h6 { color: var(--nm-on-ink); font-size: 14px; margin-bottom: 14px; }
.nm-footer ul { list-style: none; padding: 0; margin: 0; }
.nm-footer li { margin-bottom: 8px; }
.nm-footer a { color: var(--nm-on-ink-muted); text-decoration: none; }
.nm-footer a:hover { color: var(--nm-on-ink); }
.nm-footer-base {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--nm-ink-3);
    padding-top: 22px;
    margin-top: 48px;
    font-size: 13px;
}
.nm-footer-base p { margin: 0; }
.nm-footer-base ul { display: flex; flex-wrap: wrap; gap: 20px; }
.nm-footer-base li { margin: 0; }
@media (min-width: 768px) { .nm-footer-base { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Skip link ---------- */

.nm-skip { position: absolute; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: var(--nm-radius-sm); background: var(--nm-ink); color: #fff; font-weight: 600; text-decoration: none; }
.nm-skip:focus { top: 12px; color: #fff; }

/* ---------- Home hero additions ---------- */

.nm-hero-slim { padding: 72px 0 64px; }
.nm-postcode {
    position: relative;
    display: flex;
    gap: 6px;
    max-width: 560px;
    margin-top: 32px;
    padding: 6px;
    border-radius: var(--nm-radius);
    background: var(--nm-surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.nm-postcode i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--nm-muted); }
.nm-postcode input { flex: 1; min-width: 0; padding: 14px 12px 14px 44px; border: 0; outline: 0; background: transparent; color: var(--nm-ink); font: 17px var(--nm-font); text-transform: uppercase; }
.nm-postcode input::placeholder { text-transform: none; }
.nm-postcode .btn { padding: 0 22px; }
.nm-hero-note { margin: 16px 0 0; color: var(--nm-on-ink-muted); font-size: 14px; }
.nm-hero-note a { color: var(--nm-on-ink); }
.nm-hero-note a:hover { color: var(--nm-accent); }
@media (max-width: 559px) {
    .nm-postcode { flex-wrap: wrap; }
    .nm-postcode input { flex-basis: 100%; }
    .nm-postcode i { top: 31px; }
    .nm-postcode .btn { flex: 1; padding: 12px; }
}

.nm-hero-inner { max-width: 760px; }

/* ---------- Comparison table ---------- */

.nm-compare { overflow-x: auto; border: 1px solid var(--nm-line); border-radius: var(--nm-radius); background: var(--nm-surface); }
.nm-compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.nm-compare th, .nm-compare td { padding: 16px 20px; border-bottom: 1px solid var(--nm-line); text-align: left; vertical-align: top; }
.nm-compare tbody tr:last-child th, .nm-compare tbody tr:last-child td { border-bottom: 0; }
.nm-compare thead th { background: var(--nm-paper); font: 600 16px var(--nm-display); }
.nm-compare thead th a { color: var(--nm-ink); text-decoration: none; }
.nm-compare thead th a:hover { color: var(--nm-accent-hover); }
.nm-compare thead th.nm-cat-connect { box-shadow: inset 0 3px 0 var(--nm-connect); }
.nm-compare tbody th { width: 22%; color: var(--nm-muted); font-weight: 500; }
.nm-compare b { color: var(--nm-ink); font-family: var(--nm-display); font-size: 17px; }

/* ---------- Steps ---------- */

.nm-steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 900px) { .nm-steps { grid-template-columns: repeat(3, 1fr); } }
.nm-steps li { position: relative; padding: 28px; border: 1px solid var(--nm-line); border-radius: var(--nm-radius); background: var(--nm-paper); }
.nm-steps li > span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; background: var(--nm-ink); color: #fff; font: 700 15px var(--nm-display); }
.nm-steps h3 { font-size: 19px; }
.nm-steps p { margin: 0; color: var(--nm-muted); font-size: 15px; }

/* ---------- Forms: checkboxes ---------- */

.nm-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.nm-checks legend { width: 100%; margin-bottom: 6px; color: var(--nm-ink); font-size: 14px; font-weight: 500; }
.nm-check { position: relative; display: inline-flex !important; cursor: pointer; }
.nm-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nm-check span { padding: 9px 14px; border: 1px solid var(--nm-line-strong); border-radius: 999px; background: var(--nm-surface); font-size: 14px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.nm-check input:checked + span { border-color: var(--nm-ink); background: var(--nm-ink); color: #fff; }
.nm-check input:focus-visible + span { outline: 2px solid var(--nm-accent); outline-offset: 2px; }

/* ---------- About ---------- */

@media (min-width: 640px) { .nm-features.nm-features-2 { grid-template-columns: repeat(2, 1fr); } }
.nm-timeline { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--nm-line); }
.nm-timeline li { position: relative; padding: 0 0 28px 28px; }
.nm-timeline li:last-child { padding-bottom: 0; }
.nm-timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border: 2px solid var(--nm-paper); border-radius: 50%; background: var(--nm-accent); box-shadow: 0 0 0 2px var(--nm-accent); }
.nm-timeline span { display: block; color: var(--nm-ink); font: 700 20px var(--nm-display); }
.nm-timeline p { margin: 2px 0 0; color: var(--nm-muted); }
.nm-about-cta { max-width: 720px; text-align: center; }
.nm-about-cta h2 { font-size: clamp(28px, 3.6vw, 40px); }
.nm-about-cta p { color: var(--nm-muted); font-size: 17px; }
.nm-about-cta .nm-hero-actions { justify-content: center; }

/* ---------- 404 ---------- */

.nm-404 { max-width: 640px; padding-top: 40px; padding-bottom: 40px; text-align: center; }
.nm-404-code { display: block; font: 700 clamp(96px, 18vw, 160px)/1 var(--nm-display); letter-spacing: -.06em; background: linear-gradient(135deg, var(--nm-ink) 30%, var(--nm-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nm-404 p { color: var(--nm-muted); }
.nm-404 .nm-hero-actions { justify-content: center; }
