/* Nuntio home page. Painted teal, signal yellow, mint paper, one typeface. */
:root {
    --nx-paint: #0b5a52;
    --nx-paint-2: #07403a;
    --nx-sun: #f2c230;
    --nx-mint: #e9f1ee;
    --nx-mint-2: #dbe9e4;
    --nx-paper: #f1f6f4;
    --nx-ink: #10201d;
    --nx-ink-2: #3a4a46;
    --nx-ink-3: #5c6b66;
    --nx-line: #e2e9e6;
    --nx-line-2: #d3dfdb;
    --nx-red: #b3261e;
    --nx-lift: 0 16px 40px -24px rgba(16, 32, 29, .3);
}
.nx { color: var(--nx-ink); background: #fff; }
.nx h1, .nx h2, .nx h3 { color: inherit; margin: 0; font-weight: 800; }
.nx p { margin: 0; }
.nx .nx-sec { padding: 112px 0 0; }
.nx-wrap { max-width: 1680px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 96px); }
/* On the home page the shared header and footer line up with the wider content. */
.nx-page .site-header .container, .nx-page .site-footer .container { max-width: 1680px; padding: 0 clamp(20px, 5vw, 96px); }
.nx-h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.035em; max-width: 720px; }
.nx-lead { margin-top: 18px !important; font-size: 18px; line-height: 1.6; color: var(--nx-ink-2); max-width: 36em; }
.nx-lead a { color: var(--nx-paint); font-weight: 700; }
.nx-head { max-width: 720px; }
.nx-kicker { font-size: 15px; font-weight: 700; color: var(--nx-paint); }

/* Buttons */
.nx-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; border: 2px solid transparent; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.nx-btn-lg { height: 56px; padding: 0 28px; }
.nx-btn-paint { background: var(--nx-paint); color: #fff; }
.nx-btn-paint:hover { background: var(--nx-paint-2); color: #fff; }
.nx-btn-line { border-color: var(--nx-line-2); color: var(--nx-ink); }
.nx-btn-line:hover { border-color: var(--nx-ink); color: var(--nx-ink); }
.nx-btn-ink { border-color: var(--nx-ink); color: var(--nx-ink); }
.nx-btn-ink:hover { background: var(--nx-ink); color: #fff; }
.nx a:focus-visible, .nx button:focus-visible, .nx input:focus-visible, .nx textarea:focus-visible, .nx select:focus-visible { outline: 3px solid var(--nx-sun); outline-offset: 2px; }

/* ============ Hero ============ */
.nx .nx-hero { padding: 88px 0 72px; }
.nx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.nx-hero-copy { display: flex; flex-direction: column; gap: 28px; }
.nx-hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.04em; max-width: 11ch; }
.nx-hero-lead { font-size: 20px; line-height: 1.6; color: var(--nx-ink-2); max-width: 30em; }
.nx-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-checks { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--nx-ink-2); }
.nx-checks li { display: flex; align-items: center; gap: 10px; }
.nx-checks svg { flex-shrink: 0; color: var(--nx-paint); }

.nx-hero-art { position: relative; height: 600px; border-radius: 32px; overflow: hidden; background: var(--nx-mint); }
.nx-dot { position: absolute; border-radius: 50%; }
.nx-dot-a { left: -60px; top: -60px; width: 260px; height: 260px; background: var(--nx-mint-2); }
.nx-dot-b { right: -40px; bottom: 60px; width: 180px; height: 180px; background: var(--nx-sun); opacity: .35; }
.nx-hero-art img { position: absolute; left: 32px; bottom: 44px; width: calc(100% - 64px); height: 380px; object-fit: contain; }
.nx-chip { position: absolute; left: 28px; top: 28px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; border-radius: 12px; background: var(--nx-paint); color: #fff; font-size: 14px; font-weight: 800; }

/* ============ Features ============ */
.nx-features .nx-wrap { display: flex; flex-direction: column; gap: 112px; }
.nx-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.nx-row-flip .nx-row-copy { order: 2; }
.nx-row-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.nx-row-copy h3 { font-size: 32px; line-height: 1.15; letter-spacing: -0.03em; }
.nx-row-copy p { font-size: 17px; line-height: 1.65; color: var(--nx-ink-2); }
.nx-warn { font-size: 13px; font-weight: 600; color: var(--nx-red); background: #fbf3f1; padding: 2px 6px; border-radius: 6px; }

.nx-stage { padding: 28px; border-radius: 24px; background: var(--nx-paper); }
.nx-card { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--nx-lift); display: flex; flex-direction: column; gap: 12px; }
.nx-card-top { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.nx-card-top span { font-size: 13px; font-weight: 700; color: var(--nx-paint); }
.nx-card-rate { align-items: baseline; }
.nx-card-rate strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--nx-paint); }
.nx-group { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--nx-line); }
.nx-group.is-on { border-color: var(--nx-paint); background: #f3faf7; }
.nx-group i { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; }
.nx-group span { margin-left: auto; font-size: 14px; color: var(--nx-ink-3); }
.nx-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--nx-line-2); font-size: 14px; color: var(--nx-ink-3); }
.nx-card-foot b { color: var(--nx-ink); }
.nx-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--nx-mint); }
.nx-nets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-size: 14px; }
.nx-nets div { display: flex; justify-content: space-between; }

.nx-rocket { position: relative; height: 440px; border-radius: 28px; overflow: hidden; background: var(--nx-paint); }
.nx-rocket-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.nx-rocket-ship { position: absolute; left: 50%; top: 14px; width: 250px; height: 316px; transform: translateX(-50%); }
.nx-note { position: absolute; width: max-content; max-width: 250px; box-sizing: border-box; background: #fff; border-radius: 18px 18px 18px 6px; padding: 12px 14px; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .45); display: flex; gap: 10px; align-items: flex-start; }
.nx-note-a { left: 24px; top: 40px; }
.nx-note-b { right: 24px; top: 168px; }
.nx-note > i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 800; font-style: normal; }
.nx-note-name { white-space: nowrap; display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.nx-note-name span { margin-left: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--nx-ink-3); }
.nx-note p { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--nx-ink-2); }
.nx-unknown { position: absolute; left: 32px; bottom: 32px; background: rgba(255, 255, 255, .14); border: 1.5px dashed rgba(255, 255, 255, .35); border-radius: 16px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; }
.nx-unknown > i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.nx-unknown s { display: block; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.nx-unknown small { display: block; font-size: 12px; color: rgba(255, 255, 255, .65); }

/* ============ Who it's for ============ */
.nx-use-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nx-use { display: flex; flex-direction: column; gap: 14px; }
.nx-use img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.nx-use h3 { font-size: 19px; letter-spacing: -0.01em; }
.nx-use p { margin-top: -4px; font-size: 15px; line-height: 1.55; color: var(--nx-ink-2); }

/* ============ Pricing ============ */
.nx-pricing { padding: 64px; border-radius: 32px; background: var(--nx-paper); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.nx-calc { margin-top: 30px; background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--nx-lift); }
.nx-calc label { font-size: 15px; font-weight: 700; }
.nx-calc input { height: 56px; width: 100%; box-sizing: border-box; padding: 0 18px; border: 1.5px solid var(--nx-line-2); border-radius: 14px; font: inherit; font-size: 22px; font-weight: 800; color: var(--nx-ink); background: #fff; }
.nx-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-presets button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--nx-line-2); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--nx-ink); cursor: pointer; }
.nx-presets button:hover { border-color: var(--nx-paint); color: var(--nx-paint); }
.nx-calc-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--nx-line); }
.nx-calc-total small { display: block; font-size: 14px; color: var(--nx-ink-3); }
.nx-calc-total b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; }
.nx-calc-rate { text-align: right; font-size: 14px; color: var(--nx-ink-2); }
.nx-calc-rate strong { display: block; color: var(--nx-paint); }

.nx-tiers { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; align-self: start; box-shadow: var(--nx-lift); }
.nx-tier { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .8fr); align-items: center; gap: 8px; padding: 18px 24px; font-size: 15.5px; border-bottom: 1px solid #eef3f1; transition: background .15s; }
.nx-tier.is-on { background: #e6f2ef; box-shadow: inset 4px 0 0 var(--nx-paint); }
.nx-tier-head { padding: 16px 24px; font-size: 13px; font-weight: 700; color: var(--nx-ink-3); border-bottom-color: var(--nx-line); }
.nx-tier > span:last-child { text-align: right; }
.nx-tier-name { font-weight: 800; }
.nx-tier-name small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--nx-paint); }
.nx-tier-range { color: var(--nx-ink-2); }
.nx-tier-cost { font-size: 20px; font-weight: 800; }
.nx-tiers-cta { padding: 20px 24px; }
.nx-tiers-cta .nx-btn { width: 100%; }
.nx-price-note { margin-top: 16px !important; font-size: 14px; color: var(--nx-ink-3); }

/* ============ Developers ============ */
.nx-dev-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.nx-dev-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.nx-dev-copy .nx-lead { margin-top: 0 !important; font-size: 17px; }
.nx-dev-copy .nx-btn { margin-top: 8px; }
.nx-code { border-radius: 22px; background: var(--nx-ink); overflow: hidden; min-width: 0; }
.nx-code-top { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .65); }
.nx-code-top b { color: #fff; }
.nx-code pre { margin: 0; padding: 24px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.8; color: #cfe3dd; white-space: pre-wrap; word-break: break-all; }
.nx-code .k { color: var(--nx-sun); }
.nx-code .s { color: #8fd8c8; }
.nx-code .c { color: rgba(255, 255, 255, .45); }

/* ============ Steps ============ */
.nx-steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nx-step { padding: 32px; border-radius: 22px; border: 1.5px solid var(--nx-line); display: flex; flex-direction: column; gap: 12px; }
.nx-step b { width: 44px; height: 44px; border-radius: 50%; background: var(--nx-paint); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.nx-step h3 { margin-top: 8px; font-size: 21px; letter-spacing: -0.01em; }
.nx-step p { font-size: 15.5px; line-height: 1.6; color: var(--nx-ink-2); }

/* ============ FAQ ============ */
.nx-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; }
.nx-faq-side .nx-lead { font-size: 17px; }
.nx-qa { padding: 24px 0; border-top: 1px solid var(--nx-line); }
.nx-qa:last-child { border-bottom: 1px solid var(--nx-line); }
.nx-qa h3 { font-size: 19px; letter-spacing: -0.01em; }
.nx-qa p { margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--nx-ink-2); }

/* ============ Contact ============ */
.nx .nx-contact { padding-bottom: 112px; }
.nx-contact-grid { padding: 56px 64px; border-radius: 32px; background: var(--nx-paint); color: #fff; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.nx-contact-grid .nx-lead { color: rgba(255, 255, 255, .8); }
.nx-form { position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; color: var(--nx-ink); border-radius: 20px; padding: 24px; }
.nx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nx-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.nx-form input, .nx-form select, .nx-form textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--nx-line-2); border-radius: 12px; font: inherit; font-size: 15px; font-weight: 500; color: var(--nx-ink); background: #fff; }
.nx-form textarea { resize: vertical; }
.nx-form .nx-btn { align-self: flex-start; }
.nx-form-error { padding: 10px 14px; border-radius: 10px; background: #fbf3f1; color: var(--nx-red); font-size: 14px; font-weight: 600; }

/* ============ Tablet ============ */
@media (max-width: 1080px) {
    .nx-hero-grid, .nx-row, .nx-pricing, .nx-dev-grid, .nx-faq-grid, .nx-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .nx-row-flip .nx-row-copy { order: 0; }
    .nx-hero h1 { max-width: 14ch; }
    .nx-hero-art { height: 480px; }
    .nx-hero-art img { height: 320px; }
    .nx-use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-features .nx-wrap { gap: 80px; }
}

/* ============ Phone ============ */
@media (max-width: 640px) {
    .nx-wrap { padding: 0 16px; }
    .nx .nx-sec { padding-top: 72px; }
    .nx .nx-hero { padding: 40px 0 24px; }
    .nx-hero-copy { gap: 20px; }
    .nx-hero h1 { font-size: 40px; line-height: 1.06; }
    .nx-hero-lead { font-size: 17px; }
    .nx-hero-cta .nx-btn { flex: 1 1 100%; }
    .nx-hero-art { height: 420px; border-radius: 26px; }
    .nx-dot-a { width: 180px; height: 180px; left: -50px; top: -50px; }
    .nx-dot-b { width: 120px; height: 120px; right: -30px; bottom: 40px; }
    .nx-hero-art img { left: 18px; bottom: 24px; width: calc(100% - 36px); height: 300px; }
    .nx-chip { left: 16px; top: 16px; height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13px; }
    .nx-lead { font-size: 16px; }
    .nx-features .nx-wrap { gap: 64px; }
    .nx-row { gap: 24px; }
    .nx-row-copy h3 { font-size: 23px; line-height: 1.2; }
    .nx-row-copy p { font-size: 16px; }
    .nx-stage { padding: 16px; border-radius: 20px; }
    .nx-card { padding: 16px; }
    .nx-rocket { height: 400px; border-radius: 22px; }
    .nx-rocket-ship { width: 200px; height: 253px; top: 60px; }
    .nx-note { max-width: 220px; }
    .nx-note-a { left: 14px; top: 18px; }
    .nx-note-b { right: 14px; top: 150px; }
    .nx-unknown { left: 14px; bottom: 16px; }
    .nx-use-grid { margin-top: 28px; gap: 16px 12px; }
    .nx-use img { border-radius: 14px; }
    .nx-use h3 { font-size: 16px; }
    .nx-use p { font-size: 14px; }
    .nx-pricing { margin: 0 -4px; padding: 24px 16px; border-radius: 24px; gap: 24px; }
    .nx-calc { padding: 18px; }
    .nx-tier { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 16px; font-size: 15px; }
    .nx-tier-range { grid-column: 1; grid-row: 2; font-size: 13px; }
    .nx-tier-cost { grid-row: 1 / span 2; grid-column: 2; font-size: 18px; }
    .nx-tier-head span:nth-child(2) { display: none; }
    .nx-tiers-cta { padding: 16px; }
    .nx-code pre { padding: 18px; font-size: 12.5px; white-space: pre; word-break: normal; overflow-x: auto; }
    .nx-steps { margin-top: 28px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .nx-step { padding: 22px; }
    .nx-contact-grid { padding: 28px 16px; border-radius: 24px; gap: 24px; }
    .nx .nx-contact { padding-bottom: 72px; }
    .nx-form { padding: 18px; }
    .nx-form-row { grid-template-columns: minmax(0, 1fr); }
}
