

.sn-dom-page {
    --sn-ink: #14231a;
    --sn-paper: #f6f8f3;
    --sn-paper-raised: #ffffff;
    --sn-accent: #1f6b12;
    --sn-accent-deep: #14440b;
    --sn-accent-soft: #e3f3da;
    --sn-line: #dbe6d3;
    --sn-muted: #56655a;
    --sn-shadow: 0 1px 2px rgba(20,35,26,.05), 0 12px 32px -16px rgba(20,35,26,.22);
    background: var(--sn-paper);
}
.sn-dom-mono {
    font-family: "SF Mono", "Cascadia Code", Consolas, ui-monospace, "Roboto Mono", monospace;
}
.sn-dom-display {
    font-family: Georgia, "Iowan Old Style", "Palatino Linotype", ui-serif, "Times New Roman", serif;
}

/* ── Hero ── */
.sn-dom-hero {
    background: var(--sn-paper-raised);
    color: var(--sn-ink);
    padding: 60px 24px 64px;
    position: relative;
    border-bottom: 1px solid var(--sn-line);
    /* The mockup's decorative glow (.sn-dom-mockup::before, right:-40px) reached past the
       window edge once the hero grid widened to 95vw, scrolling the page 8px sideways.
       clip (not hidden) trims it without making the hero a scroll container. */
    overflow-x: clip;
}
.sn-dom-hero-grid {
    max-width: var(--sn-unified-max-width, clamp(1024px, 95vw, 1920px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.sn-dom-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sn-accent-deep);
    margin-bottom: 16px;
}
.sn-dom-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sn-accent); display: inline-block; }
.sn-dom-h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 0;
    color: var(--sn-ink);
}
.sn-dom-h1-accent { color: var(--sn-accent-deep); }
.sn-dom-hero-sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--sn-muted);
    margin: 18px 0 26px;
    max-width: 42ch;
}

/* ── Omnibox search bar ── */
.sn-dom-omnibox {
    display: flex;
    align-items: center;
    max-width: 620px;
    background: var(--sn-paper-raised);
    border: 1.5px solid var(--sn-line);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(20,35,26,.07);
    padding: 6px 6px 6px 16px;
    gap: 6px;
}
.sn-dom-omnibox-lock { color: var(--sn-muted); flex-shrink: 0; display: flex; }
.sn-dom-omnibox input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 17px;
    padding: 12px 6px;
    color: var(--sn-ink);
    pointer-events: auto;
    -webkit-user-select: text;
    user-select: text;
}
.sn-dom-omnibox input::placeholder { color: var(--sn-muted); opacity: .85; }
.sn-dom-omnibox-btn {
    background: var(--sn-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sn-dom-omnibox-btn:hover:not(:disabled) { background: var(--sn-accent-deep); }
.sn-dom-omnibox-btn:disabled { background: #9aa89a; cursor: wait; }
.sn-dom-omnibox-btn.searching { background: var(--sn-accent-deep); }

.sn-dom-tld-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 14px;
    max-width: 620px;
    overflow-x: auto;
    scrollbar-width: none;
}
.sn-dom-tld-chips::-webkit-scrollbar { display: none; }
.sn-dom-tld-chip {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 13px;
    background: var(--sn-accent-soft);
    color: var(--sn-accent-deep);
    border: 1px solid var(--sn-line);
    border-radius: 7px;
    padding: 6px 12px;
    cursor: pointer;
}
.sn-dom-tld-chip:hover { background: #d3ecc4; }
.sn-dom-tld-chip .sn-dom-mono { font-weight: 700; }

.sn-dom-hint { margin: 16px 0 0; font-size: 13.5px; color: var(--sn-muted); }

/* ── Hero mockup ── */
.sn-dom-mockup { position: relative; }
.sn-dom-mockup::before {
    content: "";
    position: absolute;
    top: -60px; right: -40px;
    width: 340px; height: 340px;
    background: radial-gradient(circle, var(--sn-accent-soft) 0%, rgba(227,243,218,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.sn-dom-browser-card {
    position: relative;
    z-index: 1;
    background: var(--sn-paper-raised);
    border: 1px solid var(--sn-line);
    border-radius: 14px;
    box-shadow: var(--sn-shadow);
    overflow: hidden;
}
.sn-dom-browser-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--sn-line);
}
.sn-dom-browser-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sn-line); }
.sn-dom-browser-bar {
    flex: 1;
    margin-left: 6px;
    background: var(--sn-paper);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 13px;
    color: var(--sn-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.sn-dom-browser-bar .sn-dom-mono { color: var(--sn-ink); }
.sn-dom-site-preview { padding: 18px; display: grid; gap: 10px; }
.sn-dom-site-hero-block {
    height: 88px;
    border-radius: 8px;
    background: linear-gradient(120deg, var(--sn-accent-soft), transparent 70%), var(--sn-paper);
    border: 1px solid var(--sn-line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0 16px;
}
.sn-dom-fake-line { height: 8px; border-radius: 4px; background: var(--sn-line); }
.sn-dom-fake-line.w60 { width: 60%; }
.sn-dom-fake-line.w40 { width: 40%; margin-top: 4px; }
.sn-dom-fake-line.accent { background: var(--sn-accent); width: 28%; height: 10px; margin-top: 6px; }
.sn-dom-site-rows { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.sn-dom-mini-card { border: 1px solid var(--sn-line); border-radius: 7px; padding: 10px; display: grid; gap: 6px; }
.sn-dom-badge-live {
    position: absolute;
    z-index: 2;
    top: -12px;
    right: 22px;
    background: var(--sn-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: 20px;
    box-shadow: var(--sn-shadow);
    display: flex;
    align-items: center;
    gap: 6px;
}
.sn-dom-badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #a6e884; }

/* ── Body / section shell ── */
.sn-dom-body { max-width: var(--sn-unified-max-width, clamp(1024px, 95vw, 1920px)); margin: 0 auto; padding: 36px 24px 8px; }
.sn-dom-section { max-width: var(--sn-unified-max-width, clamp(1024px, 95vw, 1920px)); margin: 0 auto; padding: 40px 24px; }
.sn-dom-section-head { max-width: 56ch; margin-bottom: 26px; }
.sn-dom-section-head .sn-dom-eyebrow { color: var(--sn-accent-deep); }
.sn-dom-section-head .sn-dom-eyebrow::before { background: var(--sn-accent); }
.sn-dom-section-head h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 600; color: var(--sn-ink); margin: 0; }
.sn-dom-section-head p { color: var(--sn-muted); margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; }

/* ── "Every domain includes" strip ── */
.sn-dom-includes {
    margin-top: 28px;
    background: var(--sn-accent-soft);
    border: 1px solid var(--sn-line);
    border-radius: 12px;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.sn-dom-includes-item { display: flex; flex-direction: column; gap: 9px; }
.sn-dom-includes-item svg { width: 19px; height: 19px; color: var(--sn-accent-deep); flex-shrink: 0; }
.sn-dom-includes-item span { font-size: 13px; line-height: 1.4; color: var(--sn-ink); font-weight: 500; }

/* ── Result rows (generated by JS — classes referenced in script below) ── */
.sn-dom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1.5px solid var(--sn-line);
    border-radius: 10px;
    margin-bottom: 10px;
    background: var(--sn-paper-raised);
    transition: box-shadow .12s, border-color .12s;
}
.sn-dom-row.available:hover {
    box-shadow: 0 2px 12px rgba(31,107,18,.15);
    border-color: #9de07a;
}
.sn-dom-row.unavailable { background: #fafafa; }

.sn-dom-name { font-size: 18px; font-weight: 700; color: var(--sn-ink); }
.sn-dom-row.unavailable .sn-dom-name { color: #9ca3af; }

.sn-dom-avail-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--sn-accent-deep);
    background: var(--sn-accent-soft);
    border-radius: 12px;
    padding: 2px 9px;
    margin-left: 8px;
    vertical-align: middle;
}

.sn-dom-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.sn-dom-price { font-size: 17px; font-weight: 800; color: var(--sn-ink); white-space: nowrap; }
.sn-dom-price small { font-size: 12px; font-weight: 400; color: var(--sn-muted); margin-left: 2px; }
.sn-dom-unavail-label { font-size: 14px; color: #9ca3af; font-style: italic; }

.sn-dom-buy-btn {
    background: var(--sn-accent);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .12s;
    white-space: nowrap;
}
.sn-dom-buy-btn:hover { background: var(--sn-accent-deep); }

/* ── View More ── */
#sn-dom-more-wrap { text-align: center; margin-top: 18px; margin-bottom: 8px; }
#sn-dom-more-btn {
    background: none;
    border: 1.5px solid var(--sn-accent);
    color: var(--sn-accent-deep);
    border-radius: 8px;
    padding: 11px 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#sn-dom-more-btn:hover { background: var(--sn-accent-soft); }

/* ── Error ── */
#sn-dom-error {
    text-align: center;
    padding: 16px;
    color: #b91c1c;
    font-size: 16px;
    display: none;
}

/* ── Skeleton loader ── */
.sn-dom-skeleton {
    border-radius: 10px;
    margin-bottom: 10px;
    height: 58px;
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7e9 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: sn-shimmer 1.4s infinite linear;
}
@keyframes  sn-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Popular extensions ── */
.sn-dom-tag-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sn-dom-tag {
    position: relative;
    background: var(--sn-paper-raised);
    border: 1px solid var(--sn-line);
    border-radius: 12px;
    padding: 20px 16px 16px;
    box-shadow: var(--sn-shadow);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    display: block;
    width: 100%;
}
.sn-dom-tag:hover { border-color: #9de07a; }
.sn-dom-tag-flag {
    position: absolute; top: -9px; left: 16px;
    background: var(--sn-accent-deep); color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase;
    padding: 3px 8px; border-radius: 5px;
}
.sn-dom-tag-ext { font-size: 20px; font-weight: 700; color: var(--sn-ink); }
.sn-dom-tag-desc { margin-top: 8px; font-size: 13px; color: var(--sn-muted); line-height: 1.4; }

/* ── How it works ── */
.sn-dom-process { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sn-dom-process::before {
    content: "";
    position: absolute;
    top: 20px; left: 8%; right: 8%;
    border-top: 2px dashed var(--sn-line);
    z-index: 0;
}
.sn-dom-step { position: relative; z-index: 1; }
.sn-dom-step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--sn-paper-raised);
    border: 2px solid var(--sn-accent);
    color: var(--sn-accent-deep);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
    margin-bottom: 14px;
}
.sn-dom-step h3 { font-size: 16px; font-weight: 600; margin: 0; color: var(--sn-ink); }
.sn-dom-step p { font-size: 14px; color: var(--sn-muted); margin: 6px 0 0; line-height: 1.5; }

/* ── Trust strip ── */
.sn-dom-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    border-top: 1px solid var(--sn-line);
    border-bottom: 1px solid var(--sn-line);
    padding: 20px 4px;
}
.sn-dom-trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--sn-muted); }
.sn-dom-trust-item svg { width: 16px; height: 16px; color: var(--sn-accent-deep); flex-shrink: 0; }

/* ── FAQ ── */
.sn-dom-faq details {
    border-bottom: 1px solid var(--sn-line);
    padding: 15px 0;
}
.sn-dom-faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--sn-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.sn-dom-faq summary::-webkit-details-marker { display: none; }
.sn-dom-faq summary::after {
    content: "+";
    font-size: 19px;
    color: var(--sn-accent-deep);
    font-weight: 400;
    margin-left: 12px;
    flex-shrink: 0;
}
.sn-dom-faq details[open] summary::after { content: "\2212"; }
.sn-dom-faq details p { margin: 10px 0 2px; color: var(--sn-muted); font-size: 14px; line-height: 1.6; max-width: 68ch; }

/* ── Closing CTA ── */
.sn-dom-cta-band {
    background: var(--sn-ink);
    color: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.sn-dom-cta-band h2 { font-size: 22px; font-weight: 600; margin: 0; }
.sn-dom-cta-band .sn-dom-mono { color: #a6e884; }
.sn-dom-cta-btn {
    background: var(--sn-accent);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.sn-dom-cta-btn:hover { background: var(--sn-accent-deep); }

@media (max-width: 760px) {
    .sn-dom-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .sn-dom-mockup { display: none; }
    .sn-dom-includes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sn-dom-tag-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sn-dom-process { grid-template-columns: minmax(0, 1fr); }
    .sn-dom-process::before { display: none; }
}
@media (max-width: 560px) {
    .sn-dom-h1 { font-size: 27px; }
    .sn-dom-omnibox input { padding: 14px 14px; font-size: 16px; }
    .sn-dom-omnibox-btn { padding: 14px 16px; min-width: 90px; font-size: 14px; }
    .sn-dom-name { font-size: 16px; }
    .sn-dom-buy-btn { padding: 9px 14px; font-size: 14px; }
    .sn-dom-cta-band { padding: 28px 22px; }
}
