:root {
    --ink: #0b1220;
    --ink-2: #273142;
    --muted: #5d6676;
    --line: #e3e6eb;
    --bg: #ffffff;
    --bg-soft: #f4f5f7;
    --night: #070b14;
    --night-2: #0e1626;
    --accent: #3d6bff;
    --accent-2: #2a55e6;
    --warm: #ffb45e;
    --ok: #1f9d63;
    --error: #c2331f;
    --radius: 14px;
    --wrap: 1200px;
    --head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: var(--accent-2); }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 800 1.45rem/1 var(--head); letter-spacing: -0.02em; }
.brand .reg { font: 600 .42em/1 var(--body); vertical-align: top; position: relative; top: -.15em; margin-left: 2px; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .92; }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-nav .nav-cta { padding: 10px 18px; border-radius: 999px; border: 1.5px solid currentColor; opacity: 1; }
.site-nav .nav-cta:hover { text-decoration: none; background: var(--accent); border-color: var(--accent); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s; content: ''; }
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
       font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

/* Hero */
.hero { position: relative; min-height: max(600px, calc(100svh - 76px)); display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.hero-media, .hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -1; }
.hero-video { object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.playing, .hero-video.paused-shown { opacity: 1; }
.hero-shade { background:
    linear-gradient(90deg, rgba(5,9,18,.78) 0%, rgba(5,9,18,.45) 45%, rgba(5,9,18,.08) 100%),
    linear-gradient(0deg, rgba(5,9,18,.75) 0%, rgba(5,9,18,0) 45%),
    linear-gradient(180deg, rgba(5,9,18,.55) 0%, rgba(5,9,18,0) 22%); }
.hero-content { padding-top: 72px; padding-bottom: clamp(72px, 12vh, 132px); }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: 22px;
           padding-left: 44px; position: relative; }
.eyebrow::before { content: ''; position: absolute; left: 0; top: 50%; width: 32px; height: 2px; background: var(--warm); }
.hero h1 { font-size: clamp(2.9rem, 7vw, 6.2rem); max-width: 13.5ch; margin-bottom: 24px; letter-spacing: -0.035em; line-height: .98; }
.hero-lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 40ch; color: rgba(255,255,255,.88); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-pause { position: absolute; right: 28px; bottom: 28px; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: rgba(5,9,18,.35);
              color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); }
.hero-pause[hidden] { display: none; }
.hero-pause svg { width: 18px; height: 18px; fill: currentColor; }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 780px; margin-bottom: 56px; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.badge { position: absolute; top: 36px; right: 22px; padding: 6px 10px; border-radius: 999px; background: rgba(255,180,94,.18); color: #8a4b05;
         font: 600 .7rem/1 var(--body); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px 28px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #cdd3dc; box-shadow: 0 18px 40px -24px rgba(11,18,32,.35); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 48px; height: 48px; margin-bottom: 26px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.band { background: var(--night); color: #fff; padding: clamp(56px, 7vw, 84px) 0; background-image: radial-gradient(1200px 300px at 85% 120%, rgba(61,107,255,.28), transparent 70%); }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { border-left: 2px solid rgba(255,255,255,.18); padding-left: 24px; }
.stat-big { display: block; font: 800 clamp(1.9rem, 3.4vw, 2.7rem)/1.05 var(--head); letter-spacing: -0.025em; margin-bottom: 10px; }
.stat-text { color: rgba(255,255,255,.72); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.checks { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: rgba(61,107,255,.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.5' fill='none' stroke='%233d6bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; }
.step-n { font: 800 1.1rem/1.3 var(--head); color: var(--accent); }

.domains { background: var(--bg-soft); }
.domains .split { align-items: center; }
.address-bar { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(11,18,32,.35), 0 0 0 1px var(--line); padding: 18px 22px 26px; }
.ab-dots { display: flex; gap: 7px; margin-bottom: 18px; }
.ab-dots i { width: 11px; height: 11px; border-radius: 50%; background: #dfe3ea; }
.ab-field { display: flex; align-items: center; gap: 2px; border: 1.5px solid var(--line); border-radius: 999px; padding: 16px 22px; font: 600 clamp(1.15rem, 2.4vw, 1.6rem)/1 var(--body); color: var(--ink); white-space: nowrap; overflow: hidden; }
.ab-lock { width: 14px; height: 16px; margin-right: 10px; border: 2px solid var(--ok); border-radius: 3px; position: relative; top: 2px; flex: none; }
.ab-lock::before { content: ''; position: absolute; left: 1px; top: -8px; width: 8px; height: 8px; border: 2px solid var(--ok); border-bottom: 0; border-radius: 6px 6px 0 0; }
.ab-scheme { color: #9aa2b0; font-weight: 500; }
.ab-tld { color: var(--accent); }
.ab-caret { width: 2px; height: 1.2em; background: var(--ink); margin-left: 3px; animation: blink 1.1s steps(1) infinite; }
.ab-tlds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ab-tlds span { padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-weight: 600; font-size: .92rem; }
@keyframes blink { 50% { opacity: 0; } }

.about h2 { max-width: 14ch; }
.about-text p { font-size: 1.15rem; color: var(--ink-2); }

/* Contact */
.contact { background: var(--night); color: #fff; background-image: radial-gradient(900px 500px at 0% 0%, rgba(61,107,255,.22), transparent 70%); }
.contact .kicker { color: #8fb0ff; }
.contact .lede { color: rgba(255,255,255,.75); }
.checks.light li { color: rgba(255,255,255,.85); }
.checks.light li::before { background-color: rgba(143,176,255,.16); }
.contact-card { background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full, .full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #d5dae2; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%235d6676' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center/12px no-repeat; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61,107,255,.15); }
.field .input-validation-error { border-color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.fine { font-size: .86rem; color: var(--muted); margin: 0; }
.fine-wrap { display: grid; gap: 6px; }
.checked-by a { display: inline-flex; align-items: center; gap: 6px; color: inherit; font-weight: 500; text-decoration: none; }
.checked-by a:hover { color: var(--ink); text-decoration: underline; }
.vfy-mark { flex: none; }
.errors { grid-column: 1 / -1; background: #fdf1ef; border: 1px solid #f3c7bf; color: #7a1f12; border-radius: 10px; padding: 14px 18px; font-size: .95rem; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.note { font-size: .92rem; color: var(--error); margin: 0; }
.sent { text-align: center; padding: 40px 10px; }
.sent svg { width: 64px; height: 64px; margin: 0 auto 18px; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sent p { color: var(--muted); margin: 0; }

/* Simple pages */
.page { padding: 150px 0 110px; }
.page h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page h2 { font-size: 1.45rem; margin-top: 1.8em; letter-spacing: -0.01em; }
.page p { color: var(--ink-2); }
.page .lede { color: var(--muted); }

/* Footer */
.site-footer { background: #05080f; color: rgba(255,255,255,.7); padding: 64px 0 30px; font-size: .95rem; }
.site-footer .brand { color: #fff; }
.footer-row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { margin: 14px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.footer-nav a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-legal { padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.5); }

@media (max-width: 1100px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .band-grid { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding: 22px 0 0; }
}
@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #fff; color: var(--ink);
                border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); display: none; }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .site-nav .nav-cta { margin-top: 14px; text-align: center; border-radius: 999px; background: var(--accent); border-color: var(--accent); color: #fff; }
}
@media (max-width: 680px) {
    .cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    html { scroll-padding-top: 66px; }
    body { font-size: 16px; }
    .wrap { padding: 0 20px; }
    .header-row { height: 66px; }
    .site-nav { top: 66px; }
    .hero h1 { max-width: none; }
    .hero-content { padding-bottom: 96px; }
    /* Text spans the full width on phones, so the whole picture is shaded evenly. */
    .hero-shade { background: linear-gradient(0deg, rgba(5,9,18,.88) 0%, rgba(5,9,18,.62) 50%, rgba(5,9,18,.45) 100%); }
    .eyebrow { font-size: .7rem; letter-spacing: .1em; padding-left: 0; }
    .eyebrow::before { display: none; }
    .hero-pause { right: 20px; bottom: 24px; width: 42px; height: 42px; }
    .contact-form { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .hero-actions .btn { width: auto; flex: 1 1 auto; }
}
/* Smooth scrolling starts after the page loads, so arriving at /#contact jumps straight there. */
html.smooth { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html.smooth { scroll-behavior: auto; }
    .ab-caret { animation: none; }
    .btn:hover, .card:hover { transform: none; }
}
