@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Geist:wght@700;800&display=swap');

:root {
    color-scheme: light;
    --ink: #201839;
    --muted: #58516b;
    --accent: #5935c6;
    --accent-dark: #4625a6;
    --line: #e7e1ef;
    --lavender: #f5f1ff;
    --font: "DM Sans", system-ui, sans-serif;
    --heading: "Geist", "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 16px/1.55 var(--font); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #7951eb; outline-offset: 4px; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .6rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }

.top { border-bottom: 1px solid var(--line); }
.top-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; font: 800 25px/1 var(--heading); letter-spacing: -.06em; }
.brand-dot { color: var(--accent); }
.brand-mark { display: flex; align-items: end; justify-content: center; gap: 2px; width: 34px; height: 34px; padding-bottom: 9px; margin-right: 9px; border-radius: 9px; background: var(--accent); }
.brand-mark i { width: 4px; height: 9px; background: white; border-radius: 2px; transform: skewY(-15deg); }
.brand-mark i:nth-child(2) { height: 12px; }
.brand-mark i:nth-child(3) { height: 16px; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 38px); color: var(--muted); font-size: .9rem; font-weight: 700; }
.top nav a:hover { color: var(--accent); }
.top-action { color: var(--accent-dark); border: 1px solid #ddd0fa; border-radius: 8px; padding: 9px 14px; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.top-action:hover { background: var(--lavender); }
.top-action span { margin-left: 5px; }

.hero { overflow: hidden; background: linear-gradient(112deg, #faf8ff 18%, #f1eaff 100%); }
.hero-grid { min-height: 472px; padding-block: 57px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 34px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent-dark); font-size: .76rem; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #8057e5; }
h1 { margin: 16px 0 19px; font-size: clamp(2.6rem, 5.6vw, 5rem); font-weight: 800; line-height: 1.04; letter-spacing: -.071em; }
h1 em { color: var(--accent); font-style: normal; }
.intro { max-width: 420px; margin-bottom: 26px; color: var(--muted); font-size: 1.04rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; color: #fff; background: var(--accent); font-weight: 700; cursor: pointer; }
.button:hover { background: var(--accent-dark); }

.illustration { position: relative; padding: 28px 24px 26px 5px; isolation: isolate; }
.illustration::before { position: absolute; z-index: -1; inset: 0; border-radius: 50%; background: radial-gradient(ellipse, #daccff 10%, transparent 70%); content: ""; }
.app-window { overflow: hidden; border: 1px solid #ddd0f7; border-radius: 16px; background: white; box-shadow: 0 22px 60px #47239525; transform: rotate(-4deg); }
.app-bar { display: flex; align-items: center; gap: 4px; padding: 10px 13px; border-bottom: 1px solid var(--line); background: #faf8ff; }
.app-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #cfc1ed; }
.app-bar code { flex: 1; text-align: center; font-size: .67rem; color: #635382; }
.app-body { display: grid; grid-template-columns: 20% 1fr; min-height: 220px; }
.app-sidebar { display: grid; align-content: start; gap: 13px; padding: 19px 12px; background: #faf8ff; border-right: 1px solid var(--line); }
.app-sidebar b, .app-sidebar i { height: 5px; border-radius: 4px; background: #e4daf5; }
.app-sidebar b { height: 8px; margin-bottom: 7px; background: #b6a0ef; }
.app-sidebar i:nth-child(2n) { width: 65%; }
.app-content { padding: 14px 16px 16px; }
.app-title { font: 800 1rem/1.2 var(--heading); }
.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 11px 0 9px; }
.app-cards div, .app-chart { border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; }
.app-cards span, .app-chart > span { display: block; font-size: .64rem; color: var(--muted); }
.app-cards b { display: block; font: 800 1.2rem/1.2 var(--heading); color: var(--accent-dark); }
.bars { display: flex; align-items: end; justify-content: space-around; gap: 6px; height: 65px; padding-top: 6px; background: repeating-linear-gradient(to top, #f1ecf8 0 1px, transparent 1px 16px); }
.bars i { width: min(10%, 25px); height: 44%; border-radius: 4px 4px 0 0; background: #c2abf9; }
.bars i:nth-child(2) { height: 64%; }
.bars i:nth-child(3) { height: 48%; }
.bars i:nth-child(4) { height: 78%; background: #956de9; }
.bars i:nth-child(5) { height: 59%; }
.bars i:nth-child(6) { height: 92%; background: #7046d1; }
.bars i:nth-child(7) { height: 72%; }
.app-toast { position: absolute; right: 0; bottom: 38px; display: flex; gap: 9px; align-items: center; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 10px 22px #47239522; font-size: .79rem; }
.app-toast > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #dff5ea; color: #176c46; }
.app-toast small { display: block; color: var(--muted); font-size: .68rem; }
.app-caption { margin-top: 20px; text-align: right; color: var(--muted); font-size: .72rem; }

.lookup { padding-block: 43px 50px; background: #fff; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.14; letter-spacing: -.045em; }
.lookup h2 { margin-bottom: 19px; }
.lookup-box { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 9px 24px #3520560a; }
.service-nav { display: grid; grid-template-columns: repeat(5, 1fr); background: #fbfaff; border-bottom: 1px solid var(--line); }
.service-link { display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 3px solid transparent; }
.service-link:not(:last-child) { border-right: 1px solid var(--line); }
.service-link:focus-visible { outline-offset: -4px; }
.service-link:hover, .service-link.selected { background: var(--lavender); color: var(--accent-dark); }
.service-link.selected { border-bottom-color: var(--accent); }
.service-link small { display: block; color: var(--muted); font-size: .79rem; }
.icon { flex: 0 0 22px; height: 22px; position: relative; color: var(--accent); }
.globe { border: 1.5px solid currentColor; border-radius: 50%; }
.globe::before { position: absolute; inset: -1px 5px; border: 1px solid currentColor; border-radius: 50%; content: ""; }
.globe::after { position: absolute; top: 9px; inset-inline: 0; border-top: 1px solid currentColor; content: ""; }
.server::before, .server::after { position: absolute; inset-inline: 0; height: 9px; border: 1.5px solid currentColor; border-radius: 3px; content: ""; background: radial-gradient(circle at 4px center, currentColor 1px, transparent 1.5px); }
.server::before { top: 1px; }
.server::after { bottom: 1px; }
.lock::before { position: absolute; inset: 0 5px 10px; border: 1.5px solid currentColor; border-radius: 7px 7px 0 0; content: ""; }
.lock::after { position: absolute; inset: 8px 2px 0; border: 1.5px solid currentColor; border-radius: 3px; content: ""; background: radial-gradient(circle, currentColor 1px, transparent 1.5px); }
.lookup-content { padding: 20px clamp(14px, 3vw, 27px) 24px; }
.lookup-content label { display: block; margin-bottom: 7px; font-weight: 700; }
.search-row { display: flex; gap: 9px; }
.search-row input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid #d8cee4; border-radius: 9px; color: var(--ink); background: white; }
.search-row input::placeholder { color: #756986; }
.search-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; color: var(--muted); }
.tlds { display: flex; flex-wrap: wrap; gap: 6px; }
.tlds span, .status { padding: 3px 10px; border-radius: 20px; background: var(--lavender); color: var(--accent-dark); font-size: .78rem; font-weight: 700; }
.notice { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--lavender); color: var(--accent-dark); font-size: .9rem; }
.lookup-content > .notice:first-child { margin: 0 0 12px; }
.results { list-style: none; padding: 0; margin: 16px 0 0; }
.results li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; border-top: 1px solid var(--line); padding: 8px 0; overflow-wrap: anywhere; }
.status.available { background: #e2f6ea; color: #17643c; }
.status.registered { background: #faecec; color: #8b343c; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin-top: 10px; font-size: .9rem; }
th, td { padding: 8px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); }

.applications { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 70px); padding-block: 36px 55px; border-top: 1px solid var(--line); }
.applications h2 { margin-top: 9px; }
.applications dl { margin: 0; }
.applications dl div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.applications dl div:first-child { padding-top: 0; }
.applications dt { font-weight: 800; }
.applications dd { margin: 2px 0 0; color: var(--muted); }
.contact { display: inline-block; margin-top: 16px; color: var(--accent-dark); text-decoration: underline; text-underline-offset: .25em; }
footer { background: #f7f4fc; }
.product-hero { padding-block: 40px; }
.product-hero .intro { max-width: 590px; }
.domain-prices { margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block: 12px; }
.actions form { margin: 0; }
button.top-action { background: white; cursor: pointer; }
.top-action[aria-current] { background: var(--lavender); }
.mail { height: 16px; border: 1.5px solid currentColor; border-radius: 3px; }
.mail::before { content: ""; position: absolute; inset: 0 2px auto; height: 7px; border-bottom: 1px solid currentColor; border-radius: 50%; }
.portal { padding-block: 36px 56px; min-height: 55vh; }
.portal h1 { font-size: clamp(2rem, 6vw, 3.7rem); }
.portal h2 { font-size: clamp(1.3rem, 4vw, 2rem); margin-top: 25px; }
.portal-card { border: 1px solid var(--line); margin-top: 12px; padding: 14px 18px; border-radius: 10px; }
.portal-card p { color: var(--muted); }
.portal-card summary { cursor: pointer; margin-top: 12px; font-weight: 700; }
.portal-form { display: grid; justify-items: start; gap: 12px; max-width: 650px; margin-block: 14px; }
.portal-form label { display: grid; gap: 4px; width: 100%; font-weight: 700; }
.portal-form input:not([type=checkbox]), .portal-form select, .portal-form textarea { min-width: 0; width: 100%; padding: 8px 10px; border: 1px solid #d8cee4; border-radius: 7px; font: inherit; font-weight: 400; }
.portal-form .checkbox { display: flex; align-items: start; }
.portal-form .checkbox a, .portal-card a { color: var(--accent-dark); text-decoration: underline; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; width: 100%; }
.news-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.editor-blocks { display: grid; gap: 12px; width: 100%; }
.editor-blocks fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 12px; }
.editor-blocks legend { font-weight: 800; }
.editor-blocks label + label { margin-top: 8px; }
[data-drag-handle] { color: var(--muted); cursor: grab; padding: 5px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding-block: 20px; color: var(--muted); font-size: .86rem; }

@media (max-width: 740px) {
    .wrap { width: calc(100% - 36px); }
    .top nav { display: none; }
    .top-inner { min-height: 62px; }
    .hero-grid { grid-template-columns: 1fr; padding-block: 39px 28px; gap: 21px; }
    .illustration { width: min(100%, 480px); margin-inline: auto; }
    .service-nav { grid-template-columns: repeat(3, 1fr); }
    .service-link { padding: 12px 9px; gap: 7px; justify-content: center; text-align: center; font-size: .82rem; }
    .service-link small { display: none; }
    .applications { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
    .service-nav { grid-template-columns: repeat(2, 1fr); }
    .icon { flex: 0 0 22px; width: 22px; }
    .search-row { flex-direction: column; }
    .search-row .button { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
