:root {
  --ink: #141619;
  --ink-soft: #4b5057;
  --paper: #f4f4f3;
  --paper-bright: #ffffff;
  --panel-3: #e9e9e7;
  --mint: #d7e8d3;
  --mint-strong: #78a978;
  --forest: #254a3e;
  --amber: #9a6b12;
  --coral: #b0431d;
  --line-dark: rgba(20, 22, 25, .2);
  --line: rgba(20, 22, 25, .13);
  --line-2: rgba(20, 22, 25, .06);
  --muted-dark: #4b5057;
  --muted: #83888e;
  --wash: rgba(20, 22, 25, .05);
  --forest-wash: rgba(37, 74, 62, .1);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --header: 64px;
  --r-card: 18px;
  --r-input: 12px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.is-dashboard { background: var(--paper); color: var(--ink); overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; stroke-width: 1.8; }
[hidden] { display: none !important; }

.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; background: var(--mint); color: var(--ink); padding: 10px 14px; border-radius: var(--r-pill); font-weight: 700; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

.site-header { height: var(--header); display: flex; align-items: center; gap: 34px; padding: 0 clamp(20px, 4vw, 64px); border-bottom: 1px solid var(--line); background: rgba(244, 244, 243, .78); backdrop-filter: blur(18px) saturate(140%); position: sticky; top: 0; z-index: 40; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 18px; white-space: nowrap; }
.wordmark__icon { width: 24px; height: 24px; display: block; flex: 0 0 auto; border-radius: 6px; }
.wordmark__dot { color: var(--mint-strong); }
.site-nav { display: flex; align-items: center; gap: 28px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.site-nav a { transition: color .2s; }
.site-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.text-button, .icon-button, .button, .mobile-nav button { border: 0; cursor: pointer; }
.text-button { background: none; padding: 10px; font-size: 14px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: var(--r-pill); padding: 0 17px; font-weight: 700; font-size: 14px; transition: transform .15s, background .15s, border-color .15s; }
.button:hover { filter: brightness(1.1); }
.button--light { background: var(--ink); color: #fff; }
.button--dark, .button--ink { background: var(--ink); color: #fff; }
.button--outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button--outline:hover { border-color: var(--line-dark); filter: none; }
.button--outline-dark { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.icon-button { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--r-pill); background: transparent; }
.apps-button { border: 1px solid var(--line); color: var(--muted); flex: 0 0 auto; background: #fff; }
.apps-button:hover, .apps-button[aria-expanded="true"] { border-color: var(--forest); background: var(--forest-wash); color: var(--forest); }
.apps-button svg { width: 19px; height: 19px; }
.apps-button--dashboard { border-color: var(--line); color: var(--muted); background: #fff; }
.apps-button--dashboard:hover, .apps-button--dashboard[aria-expanded="true"] { border-color: var(--forest); background: var(--forest-wash); color: var(--forest); }
.menu-button { display: none; border: 1px solid var(--line); }
.mobile-nav { position: absolute; top: var(--header); left: 0; right: 0; padding: 14px 20px 20px; background: var(--paper-bright); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 4px; }
.mobile-nav a, .mobile-nav button { padding: 14px; text-align: left; background: transparent; border-bottom: 1px solid var(--line); }

.hero { min-height: calc(100vh - var(--header) - 40px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .8fr); align-items: center; gap: clamp(50px, 7vw, 110px); padding: 74px clamp(20px, 7vw, 112px) 82px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"); }
.hero__copy, .hero__console { position: relative; z-index: 1; }
.kicker { color: var(--muted); font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; display: flex; align-items: center; gap: 9px; margin: 0 0 18px; }
.kicker > span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-strong); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 6.4vw, 92px); line-height: .98; letter-spacing: -0.02em; margin: 0; max-width: 800px; }
.hero h1 em, .developer-copy h2 em { color: var(--forest); font-weight: inherit; font-style: italic; }
.hero__lede { color: var(--muted); max-width: 620px; margin: 28px 0 30px; font-size: clamp(17px, 1.5vw, 21px); }
.domain-search { height: 64px; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; max-width: 700px; padding: 7px 7px 7px 19px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill); color: var(--ink); box-shadow: 0 1px 0 var(--line-2), 0 18px 40px rgba(20,22,25,.06); }
.domain-search:focus-within { border-color: var(--mint-strong); }
.domain-search > svg { color: var(--muted); }
.domain-search input { min-width: 0; height: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 17px; }
.domain-search button { height: 48px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: var(--r-pill); padding: 0 19px; background: var(--ink); color: #fff; cursor: pointer; font-weight: 700; white-space: nowrap; }
.domain-search button:disabled { opacity: .6; cursor: progress; }
.search-hint { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.search-results { max-width: 700px; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.search-result { min-height: 74px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 13px 14px 13px 18px; border-bottom: 1px solid var(--line); }
.search-result:last-child { border-bottom: 0; }
.search-result strong { display: block; font-size: 16px; font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.search-result small { color: var(--muted-dark); }
.result-status { color: var(--forest); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.result-status.is-taken { color: var(--coral); }
.search-result .price { text-align: right; font-weight: 700; }
.search-result .price small { display: block; font-weight: 400; }
.search-result > button { min-height: 38px; border: 0; background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 0 14px; cursor: pointer; font-weight: 700; }
.search-message { padding: 18px; display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.search-message svg { color: var(--forest); flex: 0 0 auto; margin-top: 2px; }
.search-message strong { display: block; color: var(--ink); margin-bottom: 3px; }
.dashboard-results .search-message { color: var(--ink-soft); background: var(--paper-bright); border-bottom: 1px solid var(--line); }
.dashboard-results .search-message strong { color: var(--ink); }
.dashboard-results .search-message svg { color: var(--forest); }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 27px; color: var(--muted); font-size: 12px; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row svg { width: 15px; color: var(--forest); }

.hero__console { border: 1px solid var(--line); background: #fff; border-radius: 22px; box-shadow: 0 1px 0 var(--line-2), 0 24px 60px rgba(20,22,25,.08); }
.console-bar { min-height: 48px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 15px; font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; }
.console-bar > div { display: flex; gap: 6px; }
.console-bar > div span { width: 8px; height: 8px; border-radius: 50%; background: #d8d5ca; }
.console-bar > div span:first-child { background: var(--coral); }
.console-bar > div span:nth-child(2) { background: var(--amber); }
.console-bar > div span:last-child { background: var(--mint-strong); }
.console-bar p { margin: 0; }
.console-live { justify-self: end; color: var(--forest); }
.console-body { padding: clamp(25px, 4vw, 46px); }
.console-label { margin: 0 0 5px; color: var(--muted); font: 10px var(--mono); }
.console-body h2 { margin: 0 0 36px; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 44px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-body h2 span { color: var(--forest); }
.launch-steps { display: grid; gap: 0; }
.launch-step { display: flex; align-items: center; gap: 14px; min-height: 73px; border-top: 1px solid var(--line); }
.launch-step > span { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: var(--muted); font: 10px var(--mono); }
.launch-step.is-complete > span { background: var(--forest); color: #fff; border-color: var(--forest); }
.launch-step.is-complete > span svg { width: 15px; }
.launch-step strong, .launch-step small { display: block; }
.launch-step small { color: var(--muted); margin-top: 2px; }
.code-line { margin-top: 28px; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid rgba(255,255,255,.1); background: var(--ink); color: #e2e0d8; font: 13px var(--mono); border-radius: var(--r-input); }
.code-line span { color: var(--mint); }
.code-line svg { margin-left: auto; width: 14px; }

.tld-strip { background: var(--paper-bright); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); padding: 90px clamp(20px, 7vw, 112px); display: grid; grid-template-columns: minmax(260px, .7fr) minmax(500px, 1.3fr); gap: 80px; }
.section-heading h2, .product-band h2, .developer-copy h2, .enterprise-band h2, .closing-search h2 { font: 500 clamp(30px, 3.4vw, 46px)/1.08 var(--serif); letter-spacing: -0.02em; margin: 0; }
.section-heading .kicker, .developer-copy .kicker, .enterprise-band .kicker { color: var(--muted); }
.section-heading > p:last-child { color: var(--muted); max-width: 480px; margin: 20px 0 0; }
.tld-list { border-top: 1px solid var(--line); }
.tld-list button { width: 100%; min-height: 76px; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink); }
.tld-list button:hover { background: var(--wash); border-radius: 12px; }
.tld-list strong { font: 600 27px var(--serif); }
.tld-list span { color: var(--muted); }

.product-band { padding: 110px clamp(20px, 7vw, 112px); }
.section-heading--wide { max-width: 990px; }
.product-band h2 { color: var(--ink); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; gap: 14px; }
.capability-grid article { min-height: 330px; position: relative; padding: 31px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-bright); }
.capability-grid article > svg { width: 30px; height: 30px; color: var(--forest); }
.capability-grid .number { position: absolute; top: 25px; right: 25px; margin: 0; color: var(--muted); font: 12px var(--mono); }
.capability-grid h3 { margin: 110px 0 14px; font: 600 27px var(--serif); }
.capability-grid article > p:last-child { color: var(--muted); max-width: 35ch; }

.developer-band { background: var(--panel-3); border-top: 1px solid var(--line-2); color: var(--ink); padding: 100px clamp(20px, 7vw, 112px); display: grid; grid-template-columns: minmax(300px, .78fr) minmax(500px, 1.22fr); gap: clamp(50px, 8vw, 130px); align-items: center; overflow: hidden; }
.developer-copy h2 em { color: var(--forest); }
.developer-copy > p:not(.kicker, .editor-note) { color: var(--ink-soft); font-size: 17px; max-width: 600px; margin: 24px 0; }
.developer-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.editor-note { color: var(--muted); font-size: 12px; }
.editor-window { border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-card); overflow: hidden; background: #20201e; color: #e8e6dd; box-shadow: 0 24px 60px rgba(20,22,25,.18); min-width: 0; }
.editor-tabs { height: 44px; display: flex; align-items: stretch; border-bottom: 1px solid rgba(255,255,255,.13); color: #85847e; font-size: 12px; }
.editor-tabs > span { padding: 0 14px; display: flex; gap: 10px; align-items: center; border-right: 1px solid rgba(255,255,255,.13); }
.editor-tabs > span:first-child { padding-inline: 12px; }
.editor-tabs .is-active { color: #fff; border-top: 2px solid var(--mint); }
.editor-tabs button { color: inherit; border: 0; background: none; }
.editor-main { min-height: 390px; display: grid; grid-template-columns: 165px minmax(0, 1fr); }
.file-tree { padding: 18px 12px; border-right: 1px solid rgba(255,255,255,.13); display: flex; flex-direction: column; gap: 10px; font-size: 11px; color: #a3a29b; }
.file-tree strong { color: #cac8c0; font-size: 10px; }
.file-tree span { display: flex; align-items: center; gap: 6px; }
.file-tree svg { width: 13px; height: 13px; }
.file-tree .tree-indent { padding-left: 17px; color: #e1dfd6; }
.editor-main pre { margin: 0; padding: 28px 20px; overflow: auto; font: 13px/2 var(--mono); }
.editor-main code { display: grid; grid-template-columns: 28px minmax(max-content, 1fr); }
.line-no { color: #55554f; user-select: none; }
.code-key { color: #93c7bb; }
.cursor { display: inline-block; width: 2px; height: 16px; margin-left: 3px; background: var(--mint); vertical-align: middle; animation: blink 1s steps(1) infinite; }
.editor-status { height: 25px; background: var(--forest); color: #dce8df; display: flex; justify-content: space-between; padding: 4px 10px; font-size: 10px; }
@keyframes blink { 50% { opacity: 0; } }

.enterprise-band { padding: 100px clamp(20px, 7vw, 112px); background: var(--paper-bright); border-top: 1px solid var(--line); color: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.enterprise-list { border-top: 1px solid var(--line); }
.enterprise-list > p { margin: 0; padding: 25px 0; display: grid; grid-template-columns: 35px 1fr; gap: 13px; border-bottom: 1px solid var(--line); }
.enterprise-list svg { color: var(--forest); }
.enterprise-list strong, .enterprise-list span { display: block; }
.enterprise-list span { color: var(--muted); }
.enterprise-list strong { color: var(--ink); margin-bottom: 3px; }
.closing-search { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px 20px; border-top: 1px solid var(--line); background: var(--paper-bright); }
.closing-search .kicker { display: block; }
.closing-search h2 { margin-bottom: 30px; }
footer { min-height: 110px; padding: 30px clamp(20px, 4vw, 64px); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; background: var(--paper-bright); }
footer .wordmark { color: var(--ink); margin-right: auto; }
footer nav { display: flex; gap: 20px; }

/* Dashboard */
.dashboard { height: 100vh; grid-template-columns: 232px minmax(0, 1fr); background: var(--paper); color: var(--ink); }
.dashboard:not([hidden]) { display: grid; }
.dashboard-sidebar { background: var(--paper-bright); border-right: 1px solid var(--line); color: var(--ink); padding: 22px 13px 14px; display: flex; flex-direction: column; min-height: 0; z-index: 20; }
.dashboard-brand { color: var(--ink); background: transparent; border: 0; padding: 0 10px 25px; cursor: pointer; }
.dashboard-sidebar nav { display: grid; gap: 3px; }
.dashboard-sidebar nav button, .sidebar-bottom > button { width: 100%; min-height: 42px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 10px; padding: 0 11px; background: transparent; color: var(--muted); cursor: pointer; text-align: left; font-size: 13px; }
.dashboard-sidebar nav button:hover, .dashboard-sidebar nav button.is-active, .sidebar-bottom > button:hover { background: var(--forest-wash); color: var(--ink); }
.dashboard-sidebar nav button.is-active { box-shadow: inset 2px 0 var(--forest); }
.sidebar-bottom > button.is-active { background: var(--forest-wash); color: var(--ink); box-shadow: inset 2px 0 var(--forest); }
.dashboard-sidebar svg { width: 16px; }
.sidebar-bottom { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.sidebar-bottom > button:last-child { min-height: 56px; }
.sidebar-bottom > button:last-child > span:nth-child(2) { display: grid; flex: 1; color: var(--ink); }
.sidebar-bottom small { color: var(--muted); }
.avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--mint); color: var(--forest); font-weight: 700; }
.dashboard-shell { height: 100vh; min-width: 0; display: grid; grid-template-rows: 64px minmax(0, 1fr); }
.dashboard-topbar { padding: 0 24px; background: var(--paper-bright); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.breadcrumbs svg { width: 13px; }
.breadcrumbs strong { color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.domain-cart { min-height: 38px; padding-inline: 13px 9px; background: var(--paper-bright); }
.domain-cart b { min-width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--forest); color: #fff; font: 700 11px var(--mono); }
.command-search { min-width: 230px; height: 36px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0 8px 0 11px; background: #fff; color: var(--muted); cursor: pointer; font-size: 12px; }
.command-search kbd { margin-left: auto; padding: 2px 5px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); font: 10px var(--sans); }
.dashboard-menu { display: none; }
.dashboard-content { min-height: 0; overflow: auto; padding: 42px clamp(22px, 4vw, 64px) 70px; }
.dashboard-view { display: none; max-width: 1180px; margin: 0 auto; }
.dashboard-view.is-active { display: block; animation: view-in .22s ease-out; }
@keyframes view-in { from { opacity: 0; transform: translateY(5px); } }
.view-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 31px; }
.view-heading h1 { margin: 3px 0 5px; font: 500 clamp(30px, 3.4vw, 44px)/1.05 var(--serif); letter-spacing: -0.02em; }
.view-heading p { color: var(--muted); margin: 0; }
.overline { color: var(--forest) !important; font: 500 10px var(--mono); text-transform: uppercase; }
.portfolio-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.segmented { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--panel-3); }
.segmented button { height: 30px; border: 0; border-radius: var(--r-pill); background: transparent; padding: 0 13px; color: var(--muted); cursor: pointer; font-size: 12px; }
.segmented button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.filter-button { border: 0; background: transparent; color: var(--muted); display: flex; gap: 7px; cursor: pointer; }
.empty-state { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-bottom: 1px solid var(--line); }
.empty-icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--mint); border-radius: 16px; color: var(--forest); margin-bottom: 20px;  }
.empty-icon svg { width: 27px; height: 27px; }
.empty-state h2 { font: 600 28px var(--serif); margin: 0 0 8px; }
.empty-state p { color: var(--muted); max-width: 480px; margin: 0 0 21px; }
.empty-state > div { display: flex; gap: 9px; }
.domain-table { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-bright); overflow: hidden; }
.table-head, .domain-row { min-height: 56px; display: grid; grid-template-columns: minmax(0, 2fr) .8fr .9fr .7fr auto; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.table-head { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; min-height: 40px; background: var(--paper); }
.domain-row { min-height: 72px; }
.domain-row:last-child { border-bottom: 0; }
.domain-row:hover { background: var(--paper); }
.domain-row strong, .domain-row small { display: block; }
.domain-row__identity { min-width: 0; }
.domain-row strong { font: 600 16px/1.25 var(--sans); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.domain-row strong .tld { color: var(--forest); }
.domain-row small { color: var(--muted); margin-top: 2px; font-size: 12px; }
.domain-row__renews, .domain-row__privacy { color: var(--ink-soft); }
.domain-row__manage { min-height: 38px; padding: 0 14px; font-size: 13px; gap: 7px; white-space: nowrap; }
.domain-row__manage svg { width: 15px; height: 15px; }
.status-pill { width: max-content; padding: 4px 8px; border-radius: var(--r-pill); background: var(--forest-wash); color: var(--forest); font: 10px var(--mono); text-transform: uppercase; }
.status-pill.is-pending { background: rgba(154,107,18,.12); color: var(--amber); }

/* Native selects (DNS domain picker, record form) styled to match the pill inputs. */
.ns-select, .record-form select { -webkit-appearance: none; appearance: none; height: 44px; min-width: 240px; max-width: 100%; padding: 0 40px 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234b5057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--ink); font: 600 14px var(--sans); cursor: pointer; box-shadow: 0 1px 0 var(--line-2); text-overflow: ellipsis; }
.ns-select:hover, .record-form select:hover { border-color: var(--line-dark); }
.ns-select:focus-visible, .record-form select:focus-visible { outline: 2px solid var(--forest); outline-offset: 0; border-color: transparent; }
.record-form select { height: 42px; min-width: 0; border-radius: var(--r-input); background-color: var(--paper); font-weight: 500; }
.view-heading .ns-select { flex: 0 0 auto; align-self: center; }

.dashboard-search { height: 62px; display: grid; grid-template-columns: 23px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 7px 7px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: 0 1px 0 var(--line-2); }
.dashboard-search input { height: 100%; min-width: 0; border: 0; outline: 0; font-size: 17px; }
.dashboard-results { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-bright); overflow: hidden; }
.search-placeholder { min-height: 330px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--muted); }
.search-placeholder > svg { width: 34px; height: 34px; color: var(--forest); }
.search-placeholder h2 { color: var(--ink); font: 600 25px var(--serif); margin: 14px 0 4px; }
.dashboard-result-row { min-height: 86px; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); }
.dashboard-result-row > div:first-child, .dashboard-result-row > .result-identity { min-width: 0; }
.result-identity { display: block; width: 100%; padding: 16px 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: 10px; }
.result-identity:hover h3, .result-identity:focus-visible h3 { color: var(--forest); }
.result-hint { display: inline-flex; align-items: center; margin-top: 6px; color: var(--forest); font: 600 11px var(--sans); opacity: 0; transition: opacity .12s ease; }
.dashboard-result-row:hover .result-hint, .result-identity:focus-visible .result-hint { opacity: 1; }
.dashboard-result-row h3 { margin: 0; font: 600 18px/1.25 var(--sans); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.dashboard-result-row h3 .tld { color: var(--forest); }
.dashboard-result-row p { color: var(--muted); margin: 3px 0 0; font-size: 12px; }
.dashboard-result-row .result-price { text-align: right; }
.dashboard-result-row .result-price strong, .dashboard-result-row .result-price span { display: block; }
.dashboard-result-row .result-price span { color: var(--muted); font-size: 11px; }
.dashboard-result-row.is-unavailable { opacity: .65; }
.dashboard-result-row.is-exact { background: var(--forest-wash); }
.result-badge { display: inline-block; margin-left: 10px; vertical-align: middle; padding: 3px 9px; border-radius: var(--r-pill); background: var(--forest); color: #fff; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.result-badge--premium { background: var(--amber); }
.result-badge--suggestion { background: transparent; color: var(--forest); border: 1px solid color-mix(in oklab, var(--forest) 40%, transparent); }
.result-badge--restricted { background: rgba(154,107,18,.16); color: var(--amber); }
.results-group { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 20px 10px; background: var(--paper); border-bottom: 1px solid var(--line); }
.results-group h2 { margin: 0; font: 600 13px var(--sans); letter-spacing: -0.005em; }
.results-group p { margin: 0; color: var(--muted); font-size: 12px; }
.results-end { padding: 18px 20px 22px; text-align: center; color: var(--muted); font-size: 12.5px; }
.results-end button { border: 0; background: none; color: var(--forest); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.results-more { display: block; width: calc(100% - 40px); margin: 16px 20px; min-height: 44px; border: 1px dashed var(--line-2); border-radius: var(--r-input); background: var(--paper); color: var(--forest); font: 600 13px var(--sans); cursor: pointer; }
.results-more:hover { border-color: var(--forest); background: var(--forest-wash); }
.results-toolbar { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.results-toolbar p { margin: 0; color: var(--muted); font-size: 13px; }
.results-toolbar + .dashboard-results { margin-top: 12px; }
.results-toolbar__status { display: flex; flex-direction: column; gap: 7px; }
.scan-bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.scan-bar > span { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--forest); transition: width .35s ease; }
.scan-note { color: var(--muted); font: 11px var(--mono) !important; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filter-find { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper-bright); }
.filter-find svg { width: 16px; color: var(--muted); flex: 0 0 auto; }
.filter-find input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: 13px var(--sans); outline: none; }
.filter-field { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper-bright); color: var(--muted); font-size: 12px; white-space: nowrap; }
.filter-field select { border: 0; background: none; color: var(--ink); font: 600 12.5px var(--sans); cursor: pointer; outline: none; }
.filter-field b { color: var(--forest); font-weight: 600; }
.filter-field--range input { width: 110px; accent-color: var(--forest); }
.filter-reset { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: var(--forest-wash); color: var(--forest); font: 600 12.5px var(--sans); cursor: pointer; }
.filter-reset svg { width: 14px; }
.category-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper-bright); color: var(--ink-soft); font: 12.5px var(--sans); cursor: pointer; }
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip b { color: var(--muted); font: 10px var(--mono); }
.chip.is-active { border-color: transparent; background: var(--forest); color: #fff; }
.chip.is-active b { color: #c9dccf; }
.order-renewal { margin-top: -10px; }
.order-summary [data-checkout-credit] { color: var(--forest); }

.task-panel { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-bright); overflow: hidden; }
.task-panel > div { min-height: 220px; padding: 26px; border-right: 1px solid var(--line); }
.task-panel > div:last-child { border: 0; }
.task-panel span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 11px var(--mono); }
.task-panel h2 { font: 600 21px var(--serif); margin: 42px 0 7px; }
.task-panel p { color: var(--muted); font-size: 13px; }
.inline-form { max-width: 680px; margin-top: 30px; }
.inline-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.inline-form > div { display: flex; gap: 8px; }
.inline-form input { height: 46px; min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: var(--r-input); background: #fff; padding: 0 13px; }
.inline-form > p { color: var(--forest); font-size: 12px; }
.template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.subsection-title { font: 600 15px var(--sans); margin: 34px 0 12px; }
.records-table { margin-top: 6px; }
.records-head, .record-row { display: grid; grid-template-columns: 80px 1.1fr 2.2fr 90px 76px; align-items: center; gap: 12px; padding: 0 14px; min-height: 46px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.records-head { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; min-height: 36px; }
.record-row:last-child { border-bottom: 0; }
.record-row .type { font: 500 11px var(--mono); color: var(--forest); }
.record-row .value { font: 12.5px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record-row .actions { display: flex; gap: 4px; justify-content: flex-end; }
.record-row .actions button { width: 32px; height: 32px; border-radius: var(--r-pill); border: 1px solid transparent; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.record-row .actions button:hover { border-color: var(--line); color: var(--ink); background: var(--paper); }
.record-row.is-editing { background: var(--forest-wash); }
.records-empty { padding: 26px 14px; text-align: center; color: var(--muted); font-size: 13px; }
.record-form { display: grid; grid-template-columns: 110px 1fr 2fr auto auto auto; gap: 10px; align-items: end; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.record-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.record-form input, .record-form select { height: 42px; border: 1px solid var(--line); border-radius: var(--r-input); background: var(--paper); color: var(--ink); padding: 0 12px; font: inherit; font-size: 14px; }
.record-form input:focus, .record-form select:focus { outline: 2px solid var(--forest); outline-offset: 0; border-color: transparent; }
.record-form [data-record-prio]:not([hidden]) { display: grid; }
.record-form .button { height: 42px; }
.records-status { margin: 12px 0 0; color: var(--muted); font-size: 13px; min-height: 1.2em; }
.records-status.is-error { color: var(--coral); }
.records-status.is-ok { color: var(--forest); }
.ns-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 4px; }
.ns-presets button { text-align: left; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 14px; color: var(--ink); cursor: pointer; display: grid; gap: 4px; }
.ns-presets button:hover { border-color: var(--line-dark); }
.ns-presets button.is-active { border-color: var(--forest); background: var(--forest-wash); box-shadow: inset 0 0 0 1px var(--forest); }
.ns-presets strong { font-size: 14px; }
.ns-presets small { color: var(--muted); font-size: 12px; }
.ns-presets code { display: block; margin-top: 6px; color: var(--muted); font: 11px var(--mono); white-space: pre-line; }
.ns-editor { margin-top: 16px; }
.ns-editor label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.ns-editor label span { color: var(--muted); font-weight: 400; margin-left: 6px; }
.ns-editor textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-input); background: var(--paper); color: var(--ink); padding: 12px 14px; font: 13px/1.6 var(--mono); resize: vertical; }
.ns-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.ns-actions p { margin: 0; color: var(--muted); font-size: 13px; }
.ns-actions p.is-error { color: var(--coral); }
.ns-actions p.is-ok { color: var(--forest); }
.template-grid > button { min-height: 110px; display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; text-align: left; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-bright); padding: 18px; color: var(--ink); cursor: pointer; }
.template-grid > button:hover { border-color: var(--line-dark); background: #fff; }
.template-grid > button > svg:first-child { width: 26px; height: 26px; color: var(--forest); }
.template-grid strong, .template-grid small { display: block; }
.template-grid small { color: var(--muted); }
.activity-panel { margin-top: 28px; border: 1px solid var(--line); background: var(--paper-bright); border-radius: var(--r-card); overflow: hidden; }
.activity-panel > div { min-height: 55px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); }
.activity-panel h2 { font-size: 14px; margin: 0; }
.activity-panel button { border: 0; background: transparent; color: var(--forest); font-size: 12px; cursor: pointer; }
.activity-panel > p { min-height: 130px; margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.settings-list { border-top: 1px solid var(--line); }
.settings-list label { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); cursor: pointer; }
.settings-list label > span { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; }
.settings-list label svg { grid-row: span 2; color: var(--forest); }
.settings-list small { color: var(--muted); }
.settings-list input, .renewal-toggle input { position: absolute; opacity: 0; }
.settings-list b, .renewal-toggle b { width: 42px; height: 23px; border-radius: 20px; padding: 3px; background: #c4c6c9; transition: background .2s; }
.settings-list b::after, .renewal-toggle b::after { content: ""; display: block; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .2s; }
.settings-list input:checked + b, .renewal-toggle input:checked + b { background: var(--forest); }
.settings-list input:checked + b::after, .renewal-toggle input:checked + b::after { transform: translateX(19px); }
.billing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 18px; }
.billing-summary { min-height: 220px; padding: 23px; background: var(--forest); color: #fff; border-radius: var(--r-card); display: flex; flex-direction: column; }
.billing-summary p { color: #c9dccf; margin: 0; }
.billing-summary strong { font: 600 43px var(--serif); margin-top: 8px; }
.billing-summary span { margin-top: auto; color: #c9dccf; font-size: 12px; }
.billing-layout .activity-panel { margin: 0; }

/* Checkout — a full-screen takeover, not a dialog floating over the dashboard */
.checkout-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; color: var(--ink); background: var(--paper-bright); }
.checkout-dialog::backdrop { background: var(--paper-bright); }
.checkout-shell { margin: 0; height: 100dvh; display: flex; flex-direction: column; }
.checkout-header { flex: 0 0 auto; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.checkout-header > div:first-child { display: flex; align-items: center; gap: 10px; }
.checkout-header .wordmark__icon { width: 20px; height: 20px; border-radius: 5px; }
.checkout-progress { height: auto; display: flex; align-items: center; justify-content: center; padding: 0; background: transparent; border: 0; }
.checkout-progress span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.checkout-progress span.is-active { color: var(--forest); }
.checkout-progress span b { font-weight: 600; }
.checkout-progress i { width: 70px; height: 1px; background: var(--line); margin: 0 13px; }
.checkout-hero { flex: 0 0 auto; padding: clamp(22px, 4vw, 40px) clamp(16px, 4vw, 40px) clamp(18px, 3vw, 28px); background: var(--paper); border-bottom: 1px solid var(--line); }
.checkout-hero h2 { margin: 6px 0 0; font: 500 clamp(30px, 6vw, 58px)/1 var(--serif); letter-spacing: -0.03em; word-break: break-all; }
.checkout-hero__note { margin: 12px 0 0; max-width: 60ch; color: var(--muted); font-size: 13px; }
.checkout-body { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); min-height: 0; overflow: auto; }
.checkout-body--single { grid-template-columns: minmax(0, 1fr); }
.checkout-main { padding: clamp(20px, 4vw, 40px); max-width: 760px; }
.checkout-main h2 { font: 600 clamp(24px, 3vw, 34px) var(--serif); margin: 3px 0 27px; }
.saved-details { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 14px 16px; border: 1px solid color-mix(in oklab, var(--forest) 30%, transparent); border-radius: 14px; background: var(--forest-wash); }
.saved-details > svg { color: var(--forest); flex: 0 0 auto; }
.saved-details span { flex: 1; min-width: 0; }
.saved-details strong, .saved-details small { display: block; }
.saved-details small { color: var(--ink-soft); overflow-wrap: anywhere; }
.saved-details button { border: 0; background: none; color: var(--forest); font: 600 12px var(--sans); cursor: pointer; white-space: nowrap; }
.remember-check { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; color: var(--ink-soft); font-size: 12px; cursor: pointer; }
.remember-check input { margin-top: 2px; accent-color: var(--forest); }
.card-actions { display: flex; gap: 10px; margin-top: 24px; }
.card-dialog .checkout-main { max-width: 560px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.contact-grid label { min-width: 0; color: var(--muted); font-size: 11px; font-weight: 700; }
.contact-grid label > span { float: right; font-weight: 400; }
.contact-grid input { width: 100%; height: 42px; margin-top: 5px; border: 1px solid var(--line); border-radius: var(--r-input); padding: 0 10px; background: #fff; color: var(--ink); outline: none; }
.contact-grid input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(37, 74, 62, .12); }
.contact-grid .contact-wide { grid-column: 1 / -1; }
.terms-check { display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; color: var(--muted); font-size: 11px; cursor: pointer; }
.terms-check input { margin-top: 2px; accent-color: var(--forest); }
.payment-element { min-height: 190px; padding-top: 3px; }
.order-summary .button:disabled { opacity: .55; cursor: progress; transform: none; }
.checkout-option, .renewal-toggle { display: flex; align-items: center; gap: 12px; min-height: 70px; border-top: 1px solid var(--line); }
[data-checkout-intro] > .checkout-option:first-child { border-top: 0; }
.checkout-option > svg:first-child { color: var(--forest); }
.checkout-option > svg:last-child { margin-left: auto; color: var(--forest); }
.checkout-option span, .renewal-toggle span { flex: 1; }
.checkout-option strong, .checkout-option small, .renewal-toggle strong, .renewal-toggle small { display: block; }
.checkout-option small, .renewal-toggle small { color: var(--muted); }
.renewal-toggle { cursor: pointer; border-bottom: 1px solid var(--line); }
.checkout-notice { display: flex; gap: 9px; margin-top: 22px; padding: 12px; background: rgba(154,107,18,.12); color: var(--ink); border-radius: 14px; font-size: 12px; }
.checkout-notice p { margin: 0; }
.checkout-notice svg { flex: 0 0 auto; }
.order-summary { padding: 31px 25px; background: var(--paper); border-left: 1px solid var(--line); position: sticky; top: 0; align-self: start; min-height: 100%; }
.order-summary h3 { margin: 0 0 25px; }
.order-summary p { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 12px; }
.order-summary p strong { color: var(--ink); }
.order-items { display: grid; max-height: min(34vh, 300px); overflow: auto; margin: 0 0 14px; padding: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-items p { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.order-items p:last-child { border-bottom: 0; }
.order-items span { min-width: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.order-items strong { flex: 0 0 auto; }
.order-summary hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.order-summary .order-total { font-size: 14px; }
.order-summary .order-total strong { font-size: 18px; }
.order-summary .button { width: 100%; margin-top: 20px; }
.order-keep-shopping { width: 100%; min-height: 38px; margin-top: 6px; border: 0; background: transparent; color: var(--forest); font: 600 12px var(--sans); cursor: pointer; }
.order-summary > small { display: block; color: var(--muted); text-align: center; margin-top: 10px; }
.toast { position: fixed; z-index: 1000; right: 18px; bottom: 18px; max-width: 360px; padding: 13px 16px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.25); font-size: 13px; }

/* DNS card */
.dns-card { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-bright); overflow: hidden; }
.dns-card__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 26px 28px 20px; }
.dns-card__head h2 { margin: 2px 0 0; font: 500 clamp(22px, 2.4vw, 30px)/1.1 var(--serif); letter-spacing: -0.02em; word-break: break-all; }
.dns-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; }
.dns-status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dns-status.is-live { border-color: color-mix(in oklab, var(--forest) 40%, transparent); color: var(--forest); }
.dns-status.is-live .dns-status__dot { background: var(--forest); }
.dns-status.is-pending { border-color: color-mix(in oklab, var(--amber) 40%, transparent); color: var(--amber); }
.dns-status.is-pending .dns-status__dot { background: var(--amber); }
.dns-status.is-off .dns-status__dot { background: var(--coral); }
.dns-tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--line-2); }
.dns-tabs button { border: 0; background: transparent; color: var(--muted); padding: 12px 10px; font: 600 13.5px var(--sans); cursor: pointer; position: relative; }
.dns-tabs button:hover { color: var(--ink); }
.dns-tabs button.is-active { color: var(--ink); }
.dns-tabs button.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--forest); border-radius: 2px; }
.dns-tab { padding: 22px 28px 26px; }
.dns-lede { margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; max-width: 70ch; }
.dns-lede code, .host-card code { font: 12px var(--mono); background: var(--wash); padding: 1px 5px; border-radius: 5px; }
.host-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.host-card { text-align: left; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-bright); padding: 16px; color: var(--ink); cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; transition: border-color .15s, background .15s; }
.host-card:hover { border-color: var(--line-dark); background: var(--paper); }
.host-card.is-active { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: var(--forest-wash); }
.host-card .host-logo { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 13px var(--sans); }
.host-card strong { display: block; font-size: 14px; }
.host-card small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; line-height: 1.45; }
.host-card .host-tag { display: inline-block; margin-top: 8px; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
@media (max-width: 760px) { .host-grid { grid-template-columns: 1fr; } .dns-card__head { flex-direction: column; align-items: flex-start; } .dns-tab { padding: 18px 16px 22px; } .dns-card__head { padding: 20px 16px 16px; } }

/* Domain detail drawer */
.domain-drawer { position: fixed; inset: 0; z-index: 900; display: block; }
.domain-drawer[hidden] { display: none; }
.domain-drawer__scrim { position: absolute; inset: 0; background: rgba(20,22,25,.4); }
.domain-drawer__panel { position: absolute; top: 0; right: 0; width: min(460px, 100%); height: 100%; display: flex; flex-direction: column; background: var(--paper-bright); border-left: 1px solid var(--line); box-shadow: -20px 0 60px rgba(0,0,0,.18); }
.domain-drawer__panel > header { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 24px 22px 18px; border-bottom: 1px solid var(--line); }
.domain-drawer__panel h2 { margin: 4px 0 0; font: 500 clamp(22px, 4vw, 30px)/1.05 var(--serif); letter-spacing: -0.02em; word-break: break-all; }
.domain-drawer__body { flex: 1 1 auto; overflow: auto; padding: 4px 22px 22px; }
.domain-drawer__panel > footer { flex: 0 0 auto; display: flex; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.domain-drawer__panel > footer:empty { display: none; }
.domain-drawer__panel > footer .button { flex: 1; }
.drawer-section { padding: 20px 0; border-bottom: 1px solid var(--line); }
.drawer-section:last-child { border-bottom: 0; }
.drawer-section h3 { margin: 0 0 12px; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.drawer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.drawer-row:first-of-type { border-top: 0; }
.drawer-row > span { color: var(--muted); font-size: 12.5px; }
.drawer-row > strong { text-align: right; font-size: 13.5px; overflow-wrap: anywhere; }
.drawer-row > small { grid-column: 1 / -1; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.drawer-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

/* Notifications */
.notification-wrap { position: relative; }
.notification-dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px var(--paper-bright); }
.notification-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 80; width: min(360px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-bright); box-shadow: 0 20px 50px rgba(0,0,0,.16); overflow: hidden; }
.notification-panel > header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.notification-panel > header button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.notification-panel > header button:hover { background: var(--forest-wash); color: var(--forest); }
.notification-panel > footer { padding: 10px 16px; border-top: 1px solid var(--line); background: var(--paper); }
.notification-panel > footer button { border: 0; background: none; color: var(--forest); font: 600 12px var(--sans); cursor: pointer; padding: 0; }
.notification-panel > div { max-height: 340px; overflow: auto; }
.notification-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 30px 22px; text-align: center; color: var(--muted); font-size: 12.5px; }
.notification-empty svg { width: 24px; color: var(--forest); }
.notification-empty strong { color: var(--ink); }
.notification-item { display: flex; align-items: flex-start; gap: 11px; width: 100%; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.notification-item:last-child { border-bottom: 0; }
.notification-item:hover { background: var(--paper); }
.notification-item svg { width: 17px; flex: 0 0 auto; margin-top: 2px; color: var(--forest); }
.notification-item.is-alert svg { color: var(--coral); }
.notification-item strong, .notification-item small { display: block; }
.notification-item strong { font-size: 13px; }
.notification-item small { color: var(--muted); font-size: 11.5px; line-height: 1.5; margin-top: 2px; }

/* Saved cards */
.payment-methods { padding: 6px 0; }
.payment-methods > p { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 96px; margin: 0; color: var(--muted); font-size: 12.5px; text-align: center; padding: 0 18px; }
.payment-method { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.payment-method:last-child { border-bottom: 0; }
.payment-method svg { width: 18px; color: var(--forest); flex: 0 0 auto; }
.payment-method span { flex: 1; min-width: 0; }
.payment-method strong, .payment-method small { display: block; }
.payment-method small { color: var(--muted); font-size: 11.5px; }
.link-button { border: 0; background: none; color: var(--forest); font: 600 12px var(--sans); cursor: pointer; }

/* Support */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.support-card { display: flex; flex-direction: column; gap: 5px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-bright); color: inherit; text-decoration: none; }
.support-card:hover { border-color: var(--forest); background: var(--forest-wash); }
.support-card svg { width: 22px; color: var(--forest); margin-bottom: 6px; }
.support-card strong { font-size: 15px; }
.support-card small { color: var(--forest); font: 12px var(--mono); overflow-wrap: anywhere; }
.support-card span { margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.faq-list { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-bright); overflow: hidden; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { padding: 17px 20px; font: 600 14px var(--sans); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--forest); font-weight: 400; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary:hover { background: var(--paper); }
.faq-list p { margin: 0; padding: 0 20px 20px; max-width: 78ch; color: var(--ink-soft); font-size: 13.5px; line-height: 1.65; }
.support-footer { margin-top: 18px; color: var(--muted); font-size: 12px; }
.support-footer p { margin: 0; max-width: 80ch; }

body.is-drawer-open, body.is-checkout-open { overflow: hidden; }

@media (max-width: 1050px) {
  .site-nav { display: none; }
  .menu-button { display: inline-grid; }
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero__console { max-width: 680px; width: 100%; transform: none; }
  .tld-strip, .developer-band, .enterprise-band { grid-template-columns: 1fr; gap: 50px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 230px; }
  .capability-grid h3 { margin-top: 55px; }
  .developer-band { padding-bottom: 110px; }
  .dashboard { grid-template-columns: 210px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  :root { --header: 64px; }
  .site-header { padding-inline: 16px; }
  .header-actions .text-button, .header-actions .button { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-nav:not([hidden]) { display: flex; }
  .hero { min-height: auto; padding: 36px 18px 52px; gap: 40px; }
  .hero .kicker { margin-bottom: 14px; font-size: 10.5px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); line-height: 1; }
  .hero__lede { font-size: 16px; margin: 18px 0 22px; }
  .domain-search { height: auto; min-height: 56px; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding: 8px 8px 8px 14px; border-radius: 22px; }
  .domain-search input { height: 40px; font-size: 16px; }
  .domain-search button { grid-column: 1 / -1; width: 100%; height: 46px; justify-content: center; }
  .search-hint { margin-top: 10px; }
  .trust-row { gap: 14px 18px; margin-top: 20px; }
  .search-result { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 14px; gap: 8px 12px; }
  .search-result > button { grid-column: 1 / -1; }
  .hero__console { display: none; }
  .console-body { padding: 24px 20px; }
  .console-body h2 { font-size: 31px; }
  .tld-strip, .product-band, .developer-band, .enterprise-band { padding: 70px 18px; }
  .tld-strip { gap: 38px; }
  .tld-list button { grid-template-columns: 70px 1fr auto; }
  .capability-grid { margin-top: 40px; }
  .capability-grid article { padding: 23px; }
  .editor-main { grid-template-columns: 1fr; min-height: 330px; }
  .file-tree { display: none; }
  .editor-main pre { padding: 22px 12px; font-size: 11px; }
  .enterprise-band { gap: 38px; }
  .closing-search { min-height: 350px; }
  footer { align-items: flex-start; flex-wrap: wrap; }
  footer p { width: 100%; order: 3; }

  body.is-dashboard { overflow: hidden; }
  .dashboard { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: fixed; inset: 0 auto 0 0; width: 232px; transform: translateX(-100%); transition: transform .2s; box-shadow: 10px 0 50px rgba(28,28,26,.18); }
  .dashboard.is-menu-open .dashboard-sidebar { transform: translateX(0); }
  .dashboard-menu { display: inline-grid; }
  .dashboard-topbar { padding: 0 12px; }
  .breadcrumbs span, .command-search, .topbar-actions > .icon-button:not(.apps-button) { display: none; }
  /* Icon-only round buttons: hide the label instead of font-size:0 so the icon stays centered. */
  .topbar-actions .button, .view-heading > .button { width: 40px; height: 40px; min-height: 40px; padding: 0; gap: 0; flex: 0 0 auto; }
  .topbar-actions .button span, .view-heading > .button span { display: none; }
  .topbar-actions .domain-cart b { display: inline-grid; }
  .topbar-actions .domain-cart { width: 52px; padding: 0 5px 0 8px; justify-content: space-between; }
  .topbar-actions .domain-cart svg { width: 17px; height: 17px; }
  .topbar-actions .domain-cart b { min-width: 21px; width: 21px; height: 21px; font-size: 10px; }
  .topbar-actions .button svg, .view-heading > .button svg { margin: 0; width: 20px; height: 20px; }
  .dashboard-content { padding: 24px 16px 60px; }
  .view-heading { align-items: flex-start; margin-bottom: 22px; }
  .view-heading h1 { font-size: 30px; }
  .portfolio-toolbar { align-items: flex-end; gap: 10px; }
  .segmented { max-width: calc(100vw - 90px); overflow-x: auto; }
  .empty-state > div { flex-direction: column; width: 100%; max-width: 300px; }
  .table-head { display: none; }
  .domain-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name status" "manage manage"; gap: 12px; padding: 16px; }
  .domain-row__identity { grid-area: name; }
  .domain-row .status-pill { grid-area: status; align-self: start; }
  .domain-row__renews, .domain-row__privacy { display: none; }
  .domain-row__manage { grid-area: manage; width: 100%; min-height: 42px; }
  .dashboard-search { height: 56px; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; padding: 6px 6px 6px 14px; }
  .dashboard-search input { font-size: 16px; }
  .dashboard-search .button { min-height: 42px; padding: 0 16px; font-size: 13px; }
  .results-toolbar { gap: 12px; margin-top: 18px; }
  .results-toolbar p { font-size: 12.5px; }
  .results-toolbar .segmented { max-width: none; width: 100%; }
  .results-toolbar .segmented button { flex: 1; }
  .filter-bar { gap: 8px; }
  .filter-find { flex: 1 1 100%; }
  .filter-field { flex: 1 1 calc(50% - 4px); justify-content: space-between; }
  .filter-field--range { flex: 1 1 100%; }
  .filter-field--range input { flex: 1; width: auto; }
  .filter-reset { flex: 1 1 100%; justify-content: center; }
  .category-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .category-chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .dashboard-results { margin-top: 12px; }
  .dashboard-result-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "action action"; gap: 10px 12px; padding: 14px 16px; min-height: 0; }
  .dashboard-result-row > div:first-child, .dashboard-result-row > .result-identity { grid-area: name; padding: 0; }
  .result-hint { opacity: 1; }
  .dashboard-result-row .result-price { grid-area: price; }
  .dashboard-result-row > .button { grid-area: action; min-height: 42px; }
  .dashboard-result-row h3 { font-size: 16px; }
  .dashboard-result-row h3 .result-badge { margin-left: 6px; padding: 2px 7px; }
  .results-group { padding: 12px 16px 8px; flex-direction: column; gap: 2px; align-items: flex-start; }
  .task-panel, .template-grid, .billing-layout { grid-template-columns: 1fr; }
  .ns-presets { grid-template-columns: 1fr 1fr; }
  .ns-panel__head { flex-direction: column; }
  .ns-select { width: 100%; min-width: 0; }
  .view-heading { flex-wrap: wrap; }
  .view-heading .ns-select { flex: 1 1 100%; }
  .records-head { display: none; }
  .record-row { grid-template-columns: 1fr auto; padding: 12px 14px; row-gap: 4px; }
  .record-row .value { grid-column: 1 / -1; white-space: normal; word-break: break-all; }
  .record-form { grid-template-columns: 1fr 1fr; }
  .record-form .record-form__value, .record-form .button { grid-column: 1 / -1; }
  .task-panel > div { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }
  .task-panel > div:last-child { border-bottom: 0; }
  .template-grid > button { min-height: 90px; }
  .settings-list label { align-items: center; }
  .checkout-body { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .contact-wide { grid-column: auto; }
  .order-summary { border-left: 0; border-top: 1px solid var(--line); position: static; min-height: 0; }
  .checkout-header { height: 56px; padding: 0 16px; }
  .checkout-progress span b { display: none; }
  .checkout-progress i { width: 26px; margin: 0 8px; }
  .domain-drawer__panel { width: 100%; top: auto; bottom: 0; height: min(86dvh, 100%); border-left: 0; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; }
  .card-actions { flex-direction: column; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-height: 500px) and (min-width: 560px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 24px 35px 30px; }
  .hero h1 { font-size: 44px; line-height: .9; }
  .hero__lede, .hero__console, .search-hint, .trust-row { display: none; }
  .hero .kicker { margin-bottom: 10px; }
  .domain-search { height: 56px; grid-template-columns: 22px minmax(0, 1fr) auto; margin-top: 18px; }
  .domain-search button { grid-column: auto; width: auto; }
  .tld-strip { padding-top: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.cart-continue { margin-top: 12px; width: 100%; position: sticky; bottom: 12px; z-index: 2; }
.domain-drawer__panel footer { display: flex; flex-direction: column; gap: 10px; }
.domain-row__manage:disabled { opacity: .65; cursor: default; }
[data-checkout-error] { color: #9c3024; margin: 12px 24px; }
@media (max-width: 760px) {
  .cart-continue { position: fixed; left: 16px; right: 16px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; margin: 0; z-index: 30; box-shadow: 0 5px 24px rgb(20 22 25 / 20%); }
  [data-dashboard-view="search"]:has(.cart-continue:not([hidden])) { padding-bottom: 100px; }
}
