/* Nu Hosting — shared theme (moved from index.php) */
html, body { margin: 0; padding: 0; }
img { max-width: 100%; }
/* Layout: left-aligned editorial hero with an isometric server rack as the one memorable object; everything below is quiet, rule-based and left-aligned. */
:root {
  --bg: #F7F9FC;
  --surface: #EAF0F9;
  --fg: #14223F;
  --muted: #4B5A78;
  --line: #CBD6E8;
  --accent: #FF5630;
  --accent-ink: #C23A16;
  --accent-soft: #FFE6DD;
  --on-accent: #0F1B33;
  --ok: #36B37E;
  --band: #14264A;
  --on-band: #FFFFFF;
  --on-band-muted: #D3DCEE;
  --tile: #FFFFFF;
  --iso-top: #B9CBEA;
  --iso-left: #7F9BCB;
  --iso-right: #5F7DB3;
  --iso-line: #E4ECF8;
  --ground: #DCE5F4;
  --glow-a: rgba(255,86,48,.12);
  --glow-b: rgba(120,160,225,.20);
  --dot: rgba(20,38,74,.14);
  --grid: rgba(20,38,74,.08);
  --outline: rgba(255,86,48,.55);
  --dot-on-dark: rgba(255,255,255,.10);
  --o-top: #FF8A6E;
  --o-left: #FF5630;
  --o-right: #D9421F;
  --font-display: "Kanit", "Prompt", system-ui, sans-serif;
  --font-body: "Sarabun", "Noto Sans Thai", system-ui, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(48px, 8vw, 96px); }
.band.tint { background: var(--surface); position: relative; isolation: isolate; }
.band.tint::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.5px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.band.dark { position: relative; isolation: isolate; overflow: hidden; color: var(--on-band);
  background: radial-gradient(55% 150% at 92% 60%, rgba(255,86,48,.34), transparent 62%), var(--band); }
.band.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot-on-dark) 1.2px, transparent 1.5px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.band.dark .wrap { position: relative; z-index: 1; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); max-width: 22ch; }
.lead { color: var(--muted); max-width: 60ch; margin-top: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border-radius: 6px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: #FF6F4D; box-shadow: 0 10px 24px rgba(255,86,48,.38); }
.btn.ghost { border-color: currentColor; }
.btn.ghost:hover { background: var(--surface); }
.dark .btn.ghost:hover { background: rgba(255,255,255,.08); }

/* header */
html { scroll-padding-top: var(--head-h, 81px); }
body { padding-top: var(--head-h, 81px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 101; }
.site-head { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-head.scrolled { box-shadow: 0 8px 24px -12px rgba(20,38,74,.16); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: auto; max-width: 100%; }
.site-head .brand img { height: 52px; }
.foot-brand { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.nav { display: flex; gap: 4px 22px; margin-left: auto; overflow-x: auto; min-width: 0; max-width: 100%; }
.nav a { white-space: nowrap; text-decoration: none; padding: 6px 0; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav { padding: 4px; margin-block: -4px; }
.nav-trigger { font: inherit; font-weight: 500; color: var(--muted); background: none; border: 0; border-radius: 6px; padding: 6px 12px; margin-inline: -12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-trigger:hover { color: var(--fg); }
.nav-trigger svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nav-trigger[aria-expanded="true"] { background: var(--accent); color: var(--on-accent); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 40px -16px rgba(23,43,77,.35); max-height: calc(100vh - var(--head-h, 81px) - 8px); max-height: calc(100dvh - var(--head-h, 81px) - 8px);
  overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); }
.mega.open { visibility: visible; opacity: 1; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(16px, 3vw, 40px); padding-block: 24px 8px; }
.mg { min-width: 0; }
.mg h3 { display: flex; align-items: center; gap: 12px; background: var(--band); color: var(--on-band); padding: 12px 16px; font-size: 1.08rem; font-weight: 500; border-radius: 6px; }
.mg h3 svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mg ul { list-style: none; margin: 6px 0 0; padding: 0; }
.mg li a { display: flex; align-items: baseline; gap: 12px; padding: 9px 16px; border-radius: 6px; text-decoration: none; color: var(--fg); font-weight: 500; line-height: 1.45; transition: background-color .15s ease, color .15s ease; }
.mg li a::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--accent); transform: translateY(-1px) rotate(45deg); }
.mg li a:hover { background: var(--surface); color: var(--accent-ink); }
.mega-foot { display: flex; justify-content: center; padding-block: 12px 22px; }
.mega-foot .btn { min-height: 44px; padding: 8px 28px; }
@media (prefers-reduced-motion: no-preference) {
  .mega { transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .mega.open { transition-delay: 0s; }
  .nav-trigger svg { transition: transform .2s ease; }
}
.head-cta { min-height: 42px; padding: 6px 18px; font-size: .98rem; }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(88px, 11vw, 148px);
  background: radial-gradient(60% 80% at 88% 0%, var(--glow-a), transparent 65%), radial-gradient(55% 70% at 0% 100%, var(--glow-b), transparent 65%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.5px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 70% at 75% 25%, #000, transparent); mask-image: radial-gradient(70% 70% at 75% 25%, #000, transparent); }
.hero .wrap { position: relative; z-index: 1; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 72px); display: block; z-index: 1; fill: var(--band); }
.deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fc { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); opacity: var(--o, .9); }
.px { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); background: var(--accent); opacity: var(--o, .6); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1, .hero h2.hl { font-size: clamp(2.4rem, 5.4vw, 4.3rem); max-width: 14ch; }
.hero .lead { font-size: 1.15rem; margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 24px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { flex: none; width: 28px; height: 28px; stroke: var(--accent-ink); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.facts b { display: block; font-family: var(--font-display); font-weight: 500; line-height: 1.3; }
.facts span { color: var(--muted); font-size: .95rem; line-height: 1.5; display: block; }

/* rack */
.rack { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 420 / 400; }
.rack svg { display: block; width: 100%; height: 100%; }
.rack .ground { fill: var(--ground); }
.rack .f-top { fill: var(--iso-top); }
.rack .f-left { fill: var(--iso-left); }
.rack .f-right { fill: var(--iso-right); }
.rack .o.f-top { fill: var(--o-top); }
.rack .o.f-left { fill: var(--o-left); }
.rack .o.f-right { fill: var(--o-right); }
.rack .slot { stroke: var(--iso-line); stroke-width: 1.6; stroke-linecap: round; fill: none; }
.rack .o-slot { stroke: #FFB09D; }
.rack .led { fill: var(--ok); }
.rack .led.warm { fill: #FFC400; }
.rack .led.on-o { fill: #FFFFFF; }
@media (prefers-reduced-motion: no-preference) {
  .rack .led { animation: blink 2.6s ease-in-out infinite; }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--bg); color: var(--fg);
  border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-display); font-weight: 500; font-size: .95rem; line-height: 1.3; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.chip.a { top: 4%; right: 0; }
.chip.b { bottom: 8%; left: 0; }

/* domain form */
.dgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(24px, 5vw, 72px); align-items: center; }
.dgrid h2 { max-width: 16ch; }
.dgrid .lead { color: var(--on-band-muted); }
.dform { display: grid; gap: 18px; min-width: 0; }
.dfield { position: relative; display: flex; align-items: center; gap: 4px; overflow: hidden; background: var(--bg); border: 2px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 18px;
  box-shadow: 0 18px 40px -20px rgba(20,38,74,.20); transition: border-color .2s ease, box-shadow .2s ease; }
.dfield:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,86,48,.28), 0 18px 40px -20px rgba(20,38,74,.20); }
.dfield .pre { flex: none; color: var(--muted); font-family: var(--font-display); font-weight: 500; }
.dfield input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--fg); font: 500 1.3rem/1.4 var(--font-display); padding: 12px 6px; }
.dfield input::placeholder { color: var(--muted); opacity: .8; }
.dfield .btn { flex: none; min-height: 52px; border-radius: 9px; }
.dfield::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; opacity: 0; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.dform[data-state="checking"] .dfield::after { opacity: 1; }
.dform[data-state="error"] .dfield { border-color: #FF8F73; }
.tlds { border: 0; margin: 0; padding: 0; min-width: 0; }
.tld-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tld { position: relative; cursor: pointer; }
.tld input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tld span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05);
  font-family: var(--font-display); font-weight: 500; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.tld:hover span { border-color: var(--accent); }
.tld input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tld input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.dstatus { display: flex; align-items: flex-start; gap: 12px; min-height: 52px; padding: 12px 16px; border-radius: 10px; border: 1px dashed var(--line); background: rgba(255,255,255,.04); color: var(--on-band-muted); line-height: 1.5; }
.dstatus::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .55em; background: var(--on-band-muted); transform: rotate(45deg); }
.dform[data-state="checking"] .dstatus::before { background: var(--accent); }
.dform[data-state="ok"] .dstatus::before { background: var(--ok); }
.dform[data-state="error"] .dstatus, .dform[data-state="taken"] .dstatus { color: #FFC2B4; border-color: #FF8F73; }
.dform[data-state="error"] .dstatus::before, .dform[data-state="taken"] .dstatus::before { background: #FF8F73; }
@media (prefers-reduced-motion: no-preference) {
  .dform[data-state="checking"] .dfield::after { width: 35%; animation: scan 1s linear infinite; }
  .dform[data-state="checking"] .dstatus::before { animation: spin 1s linear infinite; }
  .dform[data-state="ok"] .dstatus, .dform[data-state="taken"] .dstatus { animation: rise .35s ease both; }
  .tld:hover span { transform: translateY(-2px); }
}
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
@keyframes spin { to { transform: rotate(405deg); } }

/* promotion */
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 24px; }
.promo { display: flex; flex-direction: column; min-width: 0; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.promo:hover { border-color: var(--accent); box-shadow: 0 22px 40px -24px rgba(20,38,74,.22); }
.promo-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #14264A, #355084); }
.promo-fb { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.3; color: var(--on-band); }
.promo-fb svg { width: 44px; height: 44px; flex: none; }
.promo-img img[hidden] { display: none; }
.promo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; line-height: 1.3; }
.promo-cap em { font-style: normal; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--accent-ink); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .promo:hover { transform: translateY(-4px); }
  .promo-img img { transition: transform .5s ease; }
  .promo:hover .promo-img img { transform: scale(1.04); }
}

/* plans */
.sec-head { margin-bottom: 36px; }
.sec-head { text-align: center; }
.sec-head h2, .sec-head .lead { margin-inline: auto; }
#clients .more, #news .more { display: block; width: fit-content; margin-inline: auto; }
.table-scroll { overflow-x: auto; border-top: 2px solid var(--fg); }
table.plans { border-collapse: collapse; width: 100%; min-width: 980px; font-size: 1rem; }
.plans th, .plans td { text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.plans thead th { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; padding-top: 22px; border-bottom: 2px solid var(--fg); }
.plans tbody th { font-weight: 500; color: var(--muted); width: 17%; }
.plans .hi { background: var(--accent-soft); padding-left: 14px; }
.plans td, .plans thead th + th { padding-left: 14px; }
.plans td .btn { white-space: nowrap; }
@media (max-width: 1100px) { .plans tbody th, .plans thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); padding-right: 12px; } }
.plans thead .hi { box-shadow: inset 0 4px 0 var(--accent); }
.plans thead th, .plans td { text-align: center; }
.plans thead th { vertical-align: bottom; }
.plans thead .hi { position: relative; }
.plans thead .pcard-flag { top: 0; left: 50%; transform: translate(-50%, -50%); padding: 2px 14px; white-space: nowrap; }
.plans-bg .table-scroll { padding-top: 16px; margin-top: -16px; border-top: 0; }
table.plans { border-top: 2px solid var(--fg); }
.plans .price { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.plans .price small { font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--muted); margin-left: 4px; }
.plans td .btn { min-height: 42px; padding: 6px 18px; font-size: .98rem; margin-top: 6px; }
.plans tbody tr:hover th, .plans tbody tr:hover td:not(.hi) { background: var(--surface); }
.note { color: var(--muted); font-size: .92rem; margin-top: 25px; max-width: 70ch; }

/* glossary */
.gloss { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(24px, 6vw, 80px); }
dl.terms { margin: 0; }
.terms > div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 20px; }
.terms > div:last-child { border-bottom: 1px solid var(--line); }
.terms dt { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.terms dd { margin: 0; color: var(--muted); }

/* services */

/* showcase */
/* Swiper core rules (library stylesheet cannot load from a CDN here) */
.clients { margin-top: 8px; overflow-x: auto; position: relative; }
.clients.swiper-initialized { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.clients .swiper-wrapper { display: flex; box-sizing: content-box; width: 100%; transition-property: transform; transition-timing-function: linear; }
.clients .swiper-slide { flex-shrink: 0; width: 320px; margin-right: 32px; }
.clients .swiper-slide a { display: block; border-radius: 8px; }
.logo { display: block; width: 320px; height: 175px; object-fit: contain; background: var(--tile); border: 1px solid var(--line); border-radius: 10px; padding: 20px 28px; filter: grayscale(1); opacity: .8; transition: filter .25s ease, opacity .25s ease; }
.logo:hover { filter: none; opacity: 1; }
.more { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--accent-ink); text-underline-offset: 5px; }

/* floating contact dock */
.dock { position: fixed; right: 0; bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 16px)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding-right: env(safe-area-inset-right, 0px); }
.dock a { display: flex; align-items: center; justify-content: flex-end; width: 56px; height: 56px; overflow: hidden; color: #fff; text-decoration: none; white-space: nowrap; border-radius: 12px 0 0 12px; box-shadow: -4px 6px 18px -6px rgba(20,38,74,.45); font: 600 1rem/1 var(--font-display); }
.dock a:hover, .dock a:focus-visible { width: var(--w); }
.dock a:focus-visible { outline: 3px solid var(--fg); outline-offset: -3px; }
.dock .t { padding-left: 20px; padding-right: 6px; letter-spacing: .2px; }
.dock .i { flex: none; display: grid; place-items: center; width: 56px; height: 56px; }
.dock svg { width: 26px; height: 26px; }
.dock .tel { background: var(--accent); color: #fff; --w: 224px; }
.dock .line { background: #058A3C; --w: 178px; }
.dock .cs { background: #14264A; --w: 210px; }
@media (prefers-reduced-motion: no-preference) { .dock a { transition: width .3s cubic-bezier(.2,.7,.2,1); } .dock a:hover .i svg { transform: scale(1.12); } .dock .i svg { transition: transform .2s ease; } }
@media (max-width: 520px) { .dock { bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 12px)); } .dock a { width: 48px; height: 48px; } .dock .i { width: 48px; height: 48px; } .dock svg { width: 23px; height: 23px; } }

/* closing band */
.close { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.close h2 { max-width: 20ch; }
.close .lead { color: var(--on-band-muted); }
.close .cta-row { margin-top: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: .95rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); text-decoration: underline; }



/* section graphics: isometric line grid, glow, outline cubes */
.gfx { position: relative; isolation: isolate; overflow: hidden; }
.gfx > .wrap { position: relative; z-index: 1; }
.gfx::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(30deg, var(--grid) 0 1px, transparent 1px 46px), repeating-linear-gradient(150deg, var(--grid) 0 1px, transparent 1px 46px);
  -webkit-mask-image: var(--gfx-mask); mask-image: var(--gfx-mask); }
.gfx.plans-bg { --gfx-mask: linear-gradient(90deg, #000, transparent 38%, transparent 62%, #000);
  background: radial-gradient(45% 55% at 0% 0%, var(--glow-a), transparent 70%), radial-gradient(40% 50% at 100% 100%, var(--glow-b), transparent 70%), var(--bg); }
.gfx.svc-bg { --gfx-mask: linear-gradient(270deg, #000, transparent 55%);
  background: radial-gradient(50% 60% at 100% 0%, var(--glow-b), transparent 70%), radial-gradient(35% 45% at 0% 100%, var(--glow-a), transparent 70%), var(--bg); }
.ocube { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); fill: none; stroke: var(--outline); stroke-width: 1.2; stroke-linejoin: round; opacity: var(--o, .7); }
.ocube path.f { fill: var(--accent); fill-opacity: .1; }
.ring { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border: 1.5px dashed var(--outline); border-radius: 50%; opacity: .4; }
@media (prefers-reduced-motion: no-preference) {
  .ocube, .ring { animation: float var(--t, 12s) ease-in-out var(--d, 0s) infinite alternate; }
}
@media (max-width: 860px) { .ocube.hide-s, .ring.hide-s { display: none; } }
/* hero slider (Swiper fade) */
.hero-swiper { position: relative; z-index: 1; }
.hero-swiper:not(.swiper-initialized) .hslide:not(:first-child) { display: none; }
.hero-swiper.swiper-initialized { overflow: hidden; }
.hero-swiper .swiper-wrapper { display: flex; position: relative; width: 100%; box-sizing: content-box; transition-property: transform; }
.hero-swiper .swiper-slide { flex-shrink: 0; width: 100%; height: auto; position: relative; transition-property: opacity; }
.hero-swiper.swiper-fade .swiper-slide { pointer-events: none; }
.hero-swiper.swiper-fade .swiper-slide.is-active { pointer-events: auto; }
.hero-ctrl { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; }
.hero-tab { flex: 1 1 170px; max-width: 260px; position: relative; text-align: left; background: none; border: 0; padding: 14px 0 0; color: var(--muted); cursor: pointer; font: 500 1rem/1.4 var(--font-display); }
.hero-tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--line); }
.hero-tab .bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-tab[aria-current="true"] { color: var(--fg); }
.hero-tab[aria-current="true"] .bar { transform: scaleX(1); }
.hero-tab:hover { color: var(--fg); }

/* slide artwork (SEO and web development) */
.art .card { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.art .sbar { fill: var(--bg); stroke: var(--iso-line); stroke-width: 1.5; }
.art .rcard { fill: var(--bg); stroke: var(--line); stroke-width: 1.5; }
.art .rcard.hi { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.art .mag { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.art .tl { fill: var(--iso-line); opacity: .7; }
.art .tl2 { fill: var(--line); }
.art .tlo { fill: var(--accent-ink); }
.art .tlo2 { fill: var(--accent); opacity: .5; }
.art .fav { fill: var(--iso-left); }
.art .favo { fill: var(--accent); }
.art .badge { fill: var(--accent); }
.art .badge-t { font-family: var(--font-display); font-weight: 600; font-size: 20px; fill: var(--on-accent); }
.art .caret { fill: var(--accent); }
.art .org { fill: var(--accent); }
.art .code { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.art .phone { fill: var(--bg); stroke: var(--iso-line); stroke-width: 3; }
.art .gx { transform-box: fill-box; transform-origin: left center; }
.art .gy { transform-box: fill-box; transform-origin: center bottom; }
.art .pop { transform-box: fill-box; transform-origin: center; }
.art.web .chip.b { top: -2%; bottom: auto; left: 0; }
.art .climb { transform: translateY(-152px); }
.art .sink { transform: translateY(76px); }
.rack .ripple { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }

/* services */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
@media (min-width: 1000px) { .svc { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255,86,48,.2), transparent 62%); }
.svc-card:hover, .svc-card:focus-within { border-color: var(--accent); box-shadow: 0 30px 50px -30px rgba(20,38,74,.22); }
.svc-card:hover::before, .svc-card:focus-within::before { opacity: 1; }
.svc-art { position: relative; aspect-ratio: 32 / 19; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #14264A, #355084); }
.svc-art::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--dot-on-dark) 1.2px, transparent 1.5px); background-size: 20px 20px; }
.svc-art svg { position: relative; display: block; width: 100%; height: 100%; }
.svc-body { padding: 22px 24px 0; }
.svc-body h3 { font-size: 1.45rem; }
.svc-body p { margin-top: 6px; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.svc-links { list-style: none; margin: 16px 0 0; padding: 0 24px; flex: 1; }
.svc-links li { border-top: 1px solid var(--line); }
.svc-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; text-decoration: none; font-weight: 500; transition: color .2s ease, padding-left .2s ease; }
.svc-links a::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); opacity: 0; transform: translateX(-8px) rotate(45deg); transition: opacity .2s ease, transform .2s ease; }
.svc-links a:hover { color: var(--accent-ink); padding-left: 6px; }
.svc-links a:hover::after, .svc-links a:focus-visible::after { opacity: 1; transform: translateX(0) rotate(45deg); }
.svc-more { align-self: flex-start; margin: 4px 24px 24px; padding: 8px 0; font-weight: 600; color: var(--accent-ink); text-underline-offset: 5px; }
.svc-art .lx { transform-box: fill-box; transform-origin: left center; }
.svc-art .barup { transform-box: fill-box; transform-origin: center bottom; }
.svc-art .fl { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .svc-card:hover { transform: translateY(-6px); }
  .svc-card:hover .fl, .svc-card:focus-within .fl { animation: float 3s ease-in-out infinite alternate; }
  .svc-card:hover .lx, .svc-card:focus-within .lx { animation: growx .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
  .svc-card:hover .barup, .svc-card:focus-within .barup { animation: barup .7s cubic-bezier(.2,.8,.25,1.15) var(--d, 0s) both; }
  .svc-card:hover .draw, .svc-card:focus-within .draw { animation: draw 1.1s ease .15s both; }
  .svc-card:hover .swatch, .svc-card:focus-within .swatch { animation: popin .5s cubic-bezier(.2,.8,.25,1.15) var(--d, 0s) both; }
}
@keyframes barup { from { transform: scaleY(.2); } to { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.svc-art .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc-art .swatch { transform-box: fill-box; transform-origin: center; }
[hidden] { display: none !important; }
/* news list (home) */
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.news-card.sample { cursor: default; }
.news-card.sample:hover { transform: none; border-color: var(--line); box-shadow: none; }
.news-card.sample .news-more { color: var(--muted); }
.news-card.sample .news-more::after { display: none; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 3px 12px; border-radius: 999px; background: #14264A; color: #D3DCEE; font: 500 .82rem/1.5 var(--font-display); border: 1px solid #5671A6; }
.badge.hot { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.news-card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.news-card:hover { border-color: var(--accent); box-shadow: 0 28px 48px -28px rgba(20,38,74,.22); }
.news-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #14264A, #355084); }
.news-fb { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.news-fb svg { width: 56px; height: 56px; }
.news-img img, .a-cover img, .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.news-img img[hidden], .a-cover img[hidden], .thumb img[hidden], .prose figure img[hidden] { display: none; }
.news-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 24px 24px; }
.news-body h3 { font-size: 1.3rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-body h3 { font-size: 1.15rem; }
.news-body p { color: var(--muted); font-size: .98rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--accent-ink); }
.news-more::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.news-card:hover .news-more::after { transform: translateX(4px) rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .news-card:hover { transform: translateY(-5px); }
  .news-img img { transition: transform .5s ease; }
  .news-card:hover .news-img img { transform: scale(1.04); }
}

/* article page */
.art-top { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 44px);
  background: radial-gradient(50% 90% at 100% 0%, var(--glow-a), transparent 70%), radial-gradient(45% 80% at 0% 100%, var(--glow-b), transparent 70%), var(--bg); }
.art-top::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(var(--dot) 1.2px, transparent 1.5px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 90% at 80% 10%, #000, transparent); mask-image: radial-gradient(70% 90% at 80% 10%, #000, transparent); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .95rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.crumbs [aria-current] { color: var(--fg); overflow-wrap: anywhere; }
.art-top h1 { margin-top: 22px; font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.4; max-width: 32ch; }
.art-top h1:focus { outline: none; }
.a-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px clamp(24px, 4vw, 56px); padding-block: 32px clamp(56px, 8vw, 96px); align-items: start; }
.a-main { min-width: 0; }
.a-cover { position: relative; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, #14264A, #355084); }
.a-cover .news-fb svg { width: 72px; height: 72px; }
.prose { max-width: 68ch; margin-top: 32px; font-size: 1.12rem; line-height: 1.95; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-size: 1.6rem; max-width: none; margin: 1.6em 0 .6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose a { color: var(--accent-ink); text-underline-offset: 4px; }
.prose figure { position: relative; margin: 1.6em 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); min-height: 120px; }
.prose figure img { display: block; width: 100%; height: auto; }
.a-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: 12px; background: rgba(20,38,74,.04); color: var(--muted); line-height: 1.6; }
.a-note p { flex: 1 1 260px; }
.a-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.a-pager a { display: block; min-width: 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.a-pager a:hover { border-color: var(--accent); background: var(--surface); }
.a-pager small { display: block; color: var(--accent-ink); font-weight: 600; font-size: .9rem; }
.a-pager b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-display); font-weight: 500; line-height: 1.45; margin-top: 2px; }
.a-pager .next { grid-column: 2; text-align: right; }
.a-side { display: grid; gap: 20px; position: sticky; top: calc(var(--head-h, 81px) + 24px); min-width: 0; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.side-card h2 { font-size: 1.15rem; max-width: none; margin-bottom: 12px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button { min-height: 42px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: inherit; font: 500 .98rem/1.2 var(--font-display); text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; transition: border-color .2s ease, background-color .2s ease; }
.share a:hover, .share button:hover { border-color: var(--accent); background: var(--accent-soft); }
.share-link { display: flex; gap: 8px; margin-top: 12px; }
.share-link input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); padding: 8px 10px; font: .85rem var(--font-body); }
.share-msg { min-height: 1.5em; margin-top: 8px; font-size: .9rem; color: var(--muted); }
.other { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.other:hover b { color: var(--accent-ink); }
.thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg, #14264A, #355084); }
.thumb .news-fb svg { width: 28px; height: 28px; }
.other b { font-weight: 500; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s ease; }
.side-cta { background: linear-gradient(135deg, var(--accent-soft), var(--surface)); border-color: var(--accent); }
.side-cta p { color: var(--muted); font-size: .98rem; line-height: 1.6; margin-bottom: 14px; }
@media (max-width: 960px) { .a-grid { grid-template-columns: minmax(0, 1fr); } .a-side { position: static; } }
/* news split layout (home) */
.nx { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 76px); align-items: start; }
.nx-img { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, #14264A, #355084); border: 1px solid var(--line); }
.nx-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-img img[hidden] { display: none; }
.nx-title { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-display); font-weight: 500; }
.nx-feature { display: block; min-width: 0; text-decoration: none; }
.nx-feature .nx-img { aspect-ratio: 16 / 10; border-radius: 22px; }
.nx-feature .news-fb svg { width: 64px; height: 64px; }
.nx-feature .nx-title { margin-top: 22px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.45; -webkit-line-clamp: 3; }
.nx-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 600; color: var(--accent-ink); }
.nx-more::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.nx-feature:hover .nx-title, .nx-row:hover .nx-title { color: var(--accent-ink); }
.nx-feature:hover .nx-more::after { transform: translateX(4px) rotate(45deg); }
.nx-list { min-width: 0; }
.nx-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.nx-row:first-child { padding-top: 0; }
.nx-row .nx-img { aspect-ratio: 4 / 3; border-radius: 14px; }
.nx-row .news-fb svg { width: 32px; height: 32px; }
.nx-row .nx-title { font-size: 1.1rem; line-height: 1.55; -webkit-line-clamp: 3; transition: color .2s ease; }
.nx-tag { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); }
.nx-row.sample .nx-title { color: var(--fg); }
@media (prefers-reduced-motion: no-preference) { .nx-img img { transition: transform .5s ease; } .nx-feature:hover .nx-img img, .nx-row:hover .nx-img img { transform: scale(1.05); } }
@media (max-width: 860px) { .nx { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .nx-row { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; } }
@media (max-width: 1100px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .a-pager { grid-template-columns: minmax(0, 1fr); } .a-pager .next { grid-column: auto; } .share-link .btn { width: auto; } }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes float { from { transform: translate3d(0, -10px, 0) rotate(-5deg); } to { transform: translate3d(0, 14px, 0) rotate(6deg); } }
@keyframes growx { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes growy { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes popin { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes climb { from { transform: translateY(0); } to { transform: translateY(-152px); } }
@keyframes sink { from { transform: translateY(0); } to { transform: translateY(76px); } }
@keyframes ripple { from { transform: scale(.55); opacity: .55; } to { transform: scale(1.25); opacity: 0; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hslide .hs-text { transition: transform .7s ease; }
  .hslide:not(.is-active) .hs-text { transform: translateX(-24px); }
  .hslide .rack { transition: transform .9s ease; }
  .hslide:not(.is-active) .rack { transform: translateX(28px) scale(.96); }
  .hslide.is-active h1, .hslide.is-active h2.hl { animation: rise .8s cubic-bezier(.2,.7,.2,1) .05s both; }
  .hslide.is-active .lead { animation: rise .8s cubic-bezier(.2,.7,.2,1) .18s both; }
  .hslide.is-active .cta-row { animation: rise .8s cubic-bezier(.2,.7,.2,1) .3s both; }
  .hslide.is-active .facts { animation: rise .8s cubic-bezier(.2,.7,.2,1) .42s both; }
  .hslide.is-active .rack .unit { animation: drop .75s cubic-bezier(.2,.8,.25,1.08) both; }
  .hslide.is-active .rack .ground { animation: rise .8s ease both; }
  .hslide.is-active .rack .ripple { animation: ripple 3.2s ease-out 1.2s infinite; }
  .hslide.is-active .rack .ripple + .ripple { animation-delay: 2.8s; }
  .hslide.is-active .chip.a { animation: bob 6s ease-in-out 1.6s infinite; }
  .hslide.is-active .chip.b { animation: bob 7s ease-in-out 2.4s infinite; }
  .hslide.is-active .art .gx { animation: growx .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
  .hslide.is-active .art .gy { animation: growy .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
  .hslide.is-active .art .pop { animation: popin .55s cubic-bezier(.2,.8,.25,1.15) var(--d, 0s) both; }
  .hslide.is-active .art .climb { animation: climb 1.1s cubic-bezier(.65,0,.25,1) var(--d, 0s) both; }
  .hslide.is-active .art .sink { animation: sink 1.1s cubic-bezier(.65,0,.25,1) var(--d, 0s) both; }
  .hslide.is-active .art .caret { animation: caret 1s steps(1) infinite; }
  .fc, .px { animation: float var(--t, 10s) ease-in-out var(--d, 0s) infinite alternate; }
  .btn:hover { transform: translateY(-2px); }
  @supports (animation-timeline: view()) {
    .sec-head, .svc-card, .table-scroll, .terms > div, .clients, .close > * {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%;
    }
  }
}
@media (max-width: 860px) {
  .site-head .brand img { height: 40px; }
  .head-in { padding-block: 10px; row-gap: 6px; }
  .mega-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 16px 4px; }
  .hero-grid, .gloss, .dgrid, .close { grid-template-columns: minmax(0, 1fr); }
  .nav { margin-left: 0; order: 3; flex-basis: 100%; }
  .head-cta { margin-left: auto; }
  .rack { max-width: 420px; margin-inline: 0; }
}
@media (max-width: 860px) { #domain .fc:first-child { display: none; } }
@media (max-width: 520px) {
  body { font-size: 16px; }
  .terms > div { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .dfield { flex-wrap: wrap; padding: 8px; }
  .dfield input { flex-basis: 60%; }
  .dfield .btn { width: 100%; }
  .head-cta { width: auto; }
}
.visually { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
