﻿/* ============================================================
   My Wifi Ext Nets â€” design system "d4k"
   Seed 793718091 -> prefix d4k, accent hue 171,
   radius 8px, crisp offset shadows, tight rhythm,
   sticky utility header, split hero.
   Bulma 1.0.3 is self hosted; variables below are customized.
   ============================================================ */

:root {
  /* Bulma variable customization (framework is self hosted) */
  --bulma-family-primary: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bulma-family-secondary: "Roboto Slab", Georgia, "Times New Roman", serif;
  --bulma-primary-h: 238;
  --bulma-primary-s: 50%;
  --bulma-primary-l: 31%;
  --bulma-link-h: 206;
  --bulma-link-s: 85%;
  --bulma-link-l: 34%;
  --bulma-radius: 0.5rem;
  --bulma-radius-small: 0.375rem;
  --bulma-radius-medium: 0.625rem;
  --bulma-body-size: 1.0625rem;
  --bulma-body-color: #23253c;
  --bulma-scheme-main-l: 100%;
  --bulma-text-strong-l: 15%;

  /* d4k tokens */
  --d4k-ink: #16182e;
  --d4k-navy: #272a76;
  --d4k-navy-deep: #1b1d55;
  --d4k-blue: #0f6fb8;
  --d4k-blue-deep: #0b548c;
  --d4k-sky: #28aae1;
  --d4k-teal: #1eb39d;
  --d4k-teal-deep: #128573;
  --d4k-teal-soft: #e3f5f1;
  --d4k-paper: #f6f5f0;
  --d4k-cream: #eeeadd;
  --d4k-surface: #ffffff;
  --d4k-line: #dddbd2;
  --d4k-line-ink: #c9c7bd;
  --d4k-muted: #565a6e;
  --d4k-radius: 8px;
  --d4k-radius-lg: 14px;
  --d4k-shadow: 6px 6px 0 var(--d4k-navy);
  --d4k-shadow-sm: 4px 4px 0 var(--d4k-ink);
  --d4k-shadow-teal: 6px 6px 0 var(--d4k-teal-deep);
  --d4k-maxw: 1180px;
  --d4k-font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --d4k-font-head: "Roboto Slab", Georgia, "Times New Roman", serif;
  --d4k-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--d4k-font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: #23253c;
  background: var(--d4k-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--d4k-font-head);
  color: var(--d4k-navy);
  line-height: 1.15;
  letter-spacing: -0.008em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.15rem, 5vw, 3.55rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--d4k-blue);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s var(--d4k-ease);
}

a:hover { color: var(--d4k-teal-deep); }

img { max-width: 100%; height: auto; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
ul { list-style: disc; }
li { margin-bottom: 0.35em; }

strong { color: var(--d4k-ink); }

:focus-visible {
  outline: 3px solid var(--d4k-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- helpers ---------- */
.d4k-wrap {
  width: 100%;
  max-width: var(--d4k-maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.d4k-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--d4k-ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 0 0 var(--d4k-radius) 0;
  font-weight: 700;
}

.d4k-skip:focus { left: 0; color: #fff; }

.d4k-section { padding-block: clamp(2.6rem, 5.2vw, 4.3rem); }
.d4k-section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.d4k-section--tint { background: var(--d4k-paper); }
.d4k-section--cream { background: var(--d4k-cream); }
.d4k-section--ink { background: var(--d4k-ink); color: #e7e7f2; }
.d4k-section--ink h1,
.d4k-section--ink h2,
.d4k-section--ink h3 { color: #fff; }
.d4k-section--navy { background: var(--d4k-navy); color: #e9eafb; }
.d4k-section--navy h1,
.d4k-section--navy h2,
.d4k-section--navy h3 { color: #fff; }

.d4k-eyebrow {
  display: inline-block;
  font-family: var(--d4k-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--d4k-teal-deep);
  margin: 0 0 0.7rem;
}

.d4k-section--ink .d4k-eyebrow,
.d4k-section--navy .d4k-eyebrow { color: #6ee0cd; }

.d4k-lead {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: #3a3d55;
  max-width: 60ch;
}

.d4k-section--ink .d4k-lead,
.d4k-section--navy .d4k-lead { color: #d7d8ee; }

.d4k-muted { color: var(--d4k-muted); }
.d4k-narrow { max-width: 68ch; }
[hidden] { display: none !important; }
.d4k-center { text-align: center; }
.d4k-center .d4k-lead { margin-inline: auto; }
.d4k-stack > * + * { margin-top: 1rem; }

.d4k-rule {
  width: 56px;
  height: 4px;
  background: var(--d4k-teal);
  border-radius: 2px;
  margin: 0 0 1.1rem;
}

.d4k-sectionhead { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.d4k-sectionhead--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.d4k-sectionhead--split > :last-child { margin-left: auto; }

/* ---------- buttons ---------- */
.d4k-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--d4k-font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.015em;
  line-height: 1.1;
  padding: 0.78rem 1.2rem;
  border-radius: var(--d4k-radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s var(--d4k-ease), box-shadow 0.16s var(--d4k-ease),
    background-color 0.16s var(--d4k-ease), color 0.16s var(--d4k-ease),
    border-color 0.16s var(--d4k-ease);
}

.d4k-btn--primary {
  background: var(--d4k-navy);
  color: #fff;
  box-shadow: 4px 4px 0 var(--d4k-ink);
}

.d4k-btn--primary:hover {
  background: var(--d4k-navy-deep);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--d4k-teal);
}

.d4k-btn--secondary {
  background: #fff;
  color: var(--d4k-navy);
  border-color: var(--d4k-navy);
}

.d4k-btn--secondary:hover {
  background: var(--d4k-navy);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--d4k-teal);
}

.d4k-btn--ghost {
  background: transparent;
  color: var(--d4k-teal-deep);
  padding-inline: 0.4rem;
  border-color: transparent;
}

.d4k-btn--ghost:hover { color: var(--d4k-blue-deep); }

.d4k-btn--light {
  background: #fff;
  color: var(--d4k-navy);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.d4k-btn--light:hover {
  background: var(--d4k-teal);
  color: var(--d4k-ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
}

.d4k-btn--lg { padding: 0.95rem 1.5rem; font-size: 0.98rem; }

.d4k-btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.d4k-arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--d4k-navy);
  text-decoration: none;
}

.d4k-arrowlink svg { transition: transform 0.16s var(--d4k-ease); }
.d4k-arrowlink:hover { color: var(--d4k-teal-deep); }
.d4k-arrowlink:hover svg { transform: translateX(4px); }

/* ---------- top strip ---------- */
.d4k-topstrip {
  background: var(--d4k-ink);
  color: #c7c8e2;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.d4k-topstrip__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding-block: 0.35rem;
}

.d4k-topstrip__note { margin: 0; font-weight: 500; }
.d4k-topstrip__note b { color: #fff; font-weight: 700; }

.d4k-topstrip__channels {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.d4k-topstrip__channels li {
  display: flex;
  align-items: center;
  margin: 0;
}

.d4k-topstrip__channels li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--d4k-teal);
  margin: 0 0.7rem;
}

.d4k-topstrip__channels li:first-child::before { display: none; }

/* ---------- header ---------- */
.d4k-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 2px solid var(--d4k-ink);
  backdrop-filter: blur(8px);
}

.d4k-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  position: relative;
}

.d4k-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--d4k-navy);
}

.d4k-brand img {
  width: auto;
  height: 44px;
  display: block;
}

.d4k-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.d4k-brand__name {
  font-family: var(--d4k-font-head);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--d4k-navy);
  letter-spacing: -0.01em;
}

.d4k-brand__tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--d4k-muted);
  font-weight: 500;
  margin-top: 3px;
}

.d4k-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.d4k-nav__list {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.d4k-nav__list a {
  display: inline-block;
  padding: 0.5rem 0.6rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--d4k-ink);
  text-decoration: none;
  border-radius: 6px;
  position: relative;
}

.d4k-nav__list a::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.18rem;
  height: 2px;
  background: var(--d4k-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s var(--d4k-ease);
}

.d4k-nav__list a:hover { color: var(--d4k-navy); }
.d4k-nav__list a:hover::after,
.d4k-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.d4k-nav__list a[aria-current="page"] { color: var(--d4k-navy); }

.d4k-nav__cta { margin-left: 0.2rem; }

.d4k-navtoggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 42px;
  background: #fff;
  border: 2px solid var(--d4k-ink);
  border-radius: var(--d4k-radius);
  cursor: pointer;
  padding: 0;
}

.d4k-navtoggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--d4k-ink);
  border-radius: 2px;
  transition: transform 0.2s var(--d4k-ease), opacity 0.2s var(--d4k-ease);
}

.d4k-navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.d4k-navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.d4k-navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.d4k-hero {
  position: relative;
  background: var(--d4k-paper);
  overflow: hidden;
}

.d4k-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 88% 12%, rgba(30, 179, 157, 0.16), transparent 70%),
    radial-gradient(40% 50% at 4% 96%, rgba(39, 42, 118, 0.08), transparent 70%);
  pointer-events: none;
}

.d4k-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
  padding-block: clamp(2.4rem, 5vw, 4.4rem);
}

.d4k-hero__title { margin-bottom: 0.5em; }
.d4k-hero__title em {
  font-style: normal;
  color: var(--d4k-teal-deep);
}

.d4k-hero__lead { margin-bottom: 1.5rem; }

.d4k-hero__points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.d4k-hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.95rem;
  color: #33364e;
}

.d4k-hero__points svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--d4k-teal-deep);
}

.d4k-hero__visual { position: relative; }

.d4k-hero__frame {
  position: relative;
  border: 3px solid var(--d4k-ink);
  border-radius: var(--d4k-radius-lg);
  overflow: hidden;
  box-shadow: var(--d4k-shadow);
  background: var(--d4k-ink);
  aspect-ratio: 4 / 3.4;
}

.d4k-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.d4k-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(22, 24, 46, 0.05) 30%, rgba(22, 24, 46, 0.55) 100%);
}

.d4k-hero__chip {
  position: absolute;
  left: -14px;
  bottom: -14px;
  z-index: 2;
  background: #fff;
  border: 2px solid var(--d4k-ink);
  border-radius: var(--d4k-radius);
  box-shadow: 4px 4px 0 var(--d4k-teal-deep);
  padding: 0.8rem 1rem;
  max-width: 250px;
}

.d4k-hero__chip small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--d4k-muted);
  margin-bottom: 0.2rem;
}

.d4k-hero__chip b {
  font-family: var(--d4k-font-head);
  font-size: 1.02rem;
  color: var(--d4k-navy);
}

.d4k-hero__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--d4k-teal);
  color: var(--d4k-ink);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 2px solid var(--d4k-ink);
}

/* ---------- channel strip ---------- */
.d4k-channels {
  background: var(--d4k-navy);
  color: #fff;
}

.d4k-channels__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.d4k-channel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem clamp(0.8rem, 2vw, 1.6rem);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.d4k-channel:first-child { border-left: 0; }

.d4k-channel svg { flex: 0 0 auto; color: #7ee6d4; }
.d4k-channel b {
  display: block;
  font-family: var(--d4k-font-head);
  font-size: 1rem;
  color: #fff;
}
.d4k-channel span { font-size: 0.84rem; color: #c9cbf0; }

/* ---------- cards ---------- */
.d4k-grid { display: grid; gap: 1.2rem; }
.d4k-grid--3 { grid-template-columns: repeat(3, 1fr); }
.d4k-grid--2 { grid-template-columns: repeat(2, 1fr); }
.d4k-grid--4 { grid-template-columns: repeat(4, 1fr); }

.d4k-card {
  background: #fff;
  border: 2px solid var(--d4k-ink);
  border-radius: var(--d4k-radius);
  padding: 1.4rem;
  box-shadow: var(--d4k-shadow-sm);
  transition: transform 0.18s var(--d4k-ease), box-shadow 0.18s var(--d4k-ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.d4k-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--d4k-navy);
}

.d4k-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--d4k-teal-soft);
  color: var(--d4k-teal-deep);
  margin-bottom: 0.9rem;
  border: 2px solid var(--d4k-teal);
}

.d4k-card h3 { margin-bottom: 0.45rem; }
.d4k-card p { font-size: 0.96rem; color: #3c3f57; }

.d4k-card__foot { margin-top: auto; padding-top: 1rem; }

.d4k-card--link { text-decoration: none; color: inherit; }
.d4k-card--link:focus-visible { outline-offset: 6px; }

/* ---------- steps ---------- */
.d4k-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.d4k-steps--four { grid-template-columns: repeat(2, 1fr); }

.d4k-step {
  position: relative;
  margin: 0;
  padding: 1.4rem 1.3rem 1.3rem;
  background: #fff;
  border: 2px solid var(--d4k-line-ink);
  border-radius: var(--d4k-radius);
}

.d4k-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--d4k-navy);
  color: #fff;
  font-family: var(--d4k-font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.d4k-step h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.d4k-step p { font-size: 0.94rem; color: #3c3f57; margin: 0; }

/* ---------- split feature ---------- */
.d4k-split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}

.d4k-split--reverse .d4k-split__media { order: 2; }

.d4k-split__media { position: relative; }

.d4k-mediaframe {
  border: 3px solid var(--d4k-ink);
  border-radius: var(--d4k-radius-lg);
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--d4k-teal);
  background: var(--d4k-ink);
}

.d4k-mediaframe img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.d4k-checks {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.d4k-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  font-size: 0.98rem;
}

.d4k-checks svg { flex: 0 0 auto; margin-top: 3px; color: var(--d4k-teal-deep); }

/* ---------- callout ---------- */
.d4k-callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  background: var(--d4k-teal-soft);
  border: 2px solid var(--d4k-teal);
  border-left-width: 7px;
  border-radius: var(--d4k-radius);
}

.d4k-callout svg { flex: 0 0 auto; color: var(--d4k-teal-deep); margin-top: 2px; }
.d4k-callout p { margin: 0; font-size: 0.97rem; }
.d4k-callout h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }

/* ---------- CTA band ---------- */
.d4k-cta {
  position: relative;
  background: var(--d4k-ink);
  overflow: hidden;
  color: #fff;
}

.d4k-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 82% 20%, rgba(30, 179, 157, 0.28), transparent 70%);
  pointer-events: none;
}

.d4k-cta__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-block: clamp(2.2rem, 4.5vw, 3.4rem);
}

.d4k-cta h2 { color: #fff; margin-bottom: 0.35rem; }
.d4k-cta p { color: #cfd0e6; margin: 0; max-width: 52ch; }

/* ---------- FAQ ---------- */
.d4k-faq {
  border: 2px solid var(--d4k-line-ink);
  border-radius: var(--d4k-radius);
  background: #fff;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.d4k-faq[open] { border-color: var(--d4k-navy); box-shadow: 4px 4px 0 var(--d4k-teal); }

.d4k-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  font-family: var(--d4k-font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--d4k-navy);
}

.d4k-faq summary::-webkit-details-marker { display: none; }

.d4k-faq summary .d4k-faq__sign {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--d4k-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.15s var(--d4k-ease);
}

.d4k-faq summary .d4k-faq__sign::before,
.d4k-faq summary .d4k-faq__sign::after {
  content: "";
  position: absolute;
  background: var(--d4k-navy);
  border-radius: 2px;
}

.d4k-faq summary .d4k-faq__sign::before { width: 11px; height: 2px; }
.d4k-faq summary .d4k-faq__sign::after { width: 2px; height: 11px; transition: transform 0.18s var(--d4k-ease); }

.d4k-faq[open] summary .d4k-faq__sign { background: var(--d4k-teal); border-color: var(--d4k-teal); }
.d4k-faq[open] summary .d4k-faq__sign::before,
.d4k-faq[open] summary .d4k-faq__sign::after { background: var(--d4k-ink); }
.d4k-faq[open] summary .d4k-faq__sign::after { transform: rotate(90deg); }

.d4k-faq__body { padding: 0 1.2rem 1.2rem; }
.d4k-faq__body p { font-size: 0.98rem; }

/* ---------- breadcrumb ---------- */
.d4k-crumbs {
  background: var(--d4k-paper);
  border-bottom: 1px solid var(--d4k-line);
  font-size: 0.82rem;
}

.d4k-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0.7rem 0;
}

.d4k-crumbs li { margin: 0; display: flex; align-items: center; gap: 0.45rem; color: var(--d4k-muted); }
.d4k-crumbs li + li::before { content: "/"; color: var(--d4k-line-ink); }
.d4k-crumbs a { color: var(--d4k-blue); text-decoration: none; }
.d4k-crumbs a:hover { text-decoration: underline; }
.d4k-crumbs [aria-current="page"] { color: var(--d4k-ink); font-weight: 600; }

/* ---------- page hero ---------- */
.d4k-pagehead {
  background: var(--d4k-paper);
  border-bottom: 2px solid var(--d4k-ink);
  padding-block: clamp(2rem, 4.5vw, 3.4rem);
}

.d4k-pagehead h1 { margin-bottom: 0.5rem; }
.d4k-pagehead p { max-width: 66ch; margin: 0; color: #3a3d55; }

/* ---------- prose ---------- */
.d4k-prose { max-width: 72ch; }
.d4k-prose h2 { margin-top: 1.9em; }
.d4k-prose h3 { margin-top: 1.5em; }
.d4k-prose h2:first-child,
.d4k-prose h3:first-child { margin-top: 0; }
.d4k-prose ul li { margin-bottom: 0.5em; }

/* ---------- forms ---------- */
.d4k-form { max-width: 640px; }

.d4k-field { margin-bottom: 1.1rem; }

.d4k-field label,
.d4k-label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--d4k-ink);
  margin-bottom: 0.4rem;
}

.d4k-field .d4k-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--d4k-muted);
  margin-top: 0.3rem;
}

.d4k-form .input,
.d4k-form .textarea,
.d4k-form .d4k-select {
  width: 100%;
  border: 2px solid var(--d4k-line-ink);
  border-radius: var(--d4k-radius);
  background: #fff;
  color: var(--d4k-ink);
  font-family: var(--d4k-font-body);
  font-size: 0.97rem;
  line-height: 1.4;
  padding: 0.72rem 0.85rem;
  box-shadow: none;
  transition: border-color 0.15s var(--d4k-ease), box-shadow 0.15s var(--d4k-ease);
}

.d4k-form .textarea { min-height: 8.5rem; resize: vertical; }

.d4k-form .input:focus,
.d4k-form .textarea:focus,
.d4k-form .d4k-select:focus {
  border-color: var(--d4k-teal);
  box-shadow: 0 0 0 3px rgba(30, 179, 157, 0.25);
  outline: none;
}

.d4k-form .d4k-select {
  appearance: none;
  -webkit-appearance: none;
  height: auto;
  cursor: pointer;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316182e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 12px 8px;
}

.d4k-form .checkboxline {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: #3c3f57;
}

.d4k-form .checkboxline input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--d4k-teal-deep); }

.d4k-form__status {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--d4k-radius);
  font-size: 0.92rem;
  display: none;
}

.d4k-form__status.is-error {
  display: block;
  background: #fdeceb;
  border: 2px solid #cf4a3f;
  color: #7d241d;
}

.d4k-form__status.is-ok {
  display: block;
  background: var(--d4k-teal-soft);
  border: 2px solid var(--d4k-teal);
  color: #0c5347;
}

/* ---------- lists / resource table ---------- */
.d4k-linklist { list-style: none; margin: 0; padding: 0; }
.d4k-linklist li {
  margin: 0;
  border-bottom: 1px solid var(--d4k-line);
}
.d4k-linklist li:last-child { border-bottom: 0; }
.d4k-linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.2rem;
  text-decoration: none;
  color: var(--d4k-ink);
  font-weight: 600;
  font-size: 0.96rem;
}
.d4k-linklist a:hover { color: var(--d4k-teal-deep); }
.d4k-linklist a svg { flex: 0 0 auto; color: var(--d4k-teal-deep); }

.d4k-tagrow { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.d4k-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: var(--d4k-teal-soft);
  color: var(--d4k-teal-deep);
  border: 1px solid var(--d4k-teal);
}

/* ---------- service rail (sidebar) ---------- */
.d4k-withrail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.d4k-rail {
  position: sticky;
  top: 96px;
  border: 2px solid var(--d4k-ink);
  border-radius: var(--d4k-radius);
  overflow: hidden;
  box-shadow: var(--d4k-shadow-sm);
  background: #fff;
}

.d4k-rail__head {
  background: var(--d4k-navy);
  color: #fff;
  padding: 0.9rem 1.1rem;
  font-family: var(--d4k-font-head);
  font-weight: 700;
  font-size: 0.98rem;
}

.d4k-rail ul { list-style: none; margin: 0; padding: 0.4rem 0; }
.d4k-rail li { margin: 0; }
.d4k-rail a {
  display: block;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--d4k-ink);
  text-decoration: none;
  border-left: 4px solid transparent;
}
.d4k-rail a:hover { background: var(--d4k-paper); border-left-color: var(--d4k-teal); }
.d4k-rail a[aria-current="page"] {
  background: var(--d4k-teal-soft);
  border-left-color: var(--d4k-teal);
  color: var(--d4k-teal-deep);
}
.d4k-rail__cta { padding: 1rem 1.1rem; border-top: 1px solid var(--d4k-line); }
.d4k-rail__cta p { font-size: 0.84rem; color: var(--d4k-muted); margin-bottom: 0.7rem; }
.d4k-rail__cta .d4k-btn { width: 100%; box-shadow: none; color: #fff; }
.d4k-rail__cta .d4k-btn:hover { transform: none; box-shadow: none; background: var(--d4k-navy-deep); color: #fff; }

/* ---------- footer ---------- */
.d4k-footer { background: var(--d4k-ink); color: #bcbdd8; }

.d4k-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-block: clamp(2.4rem, 4.5vw, 3.4rem);
}

.d4k-footer__brand img { height: 40px; width: auto; margin-bottom: 0.8rem; }

.d4k-footer__name {
  font-family: var(--d4k-font-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.d4k-footer p { font-size: 0.9rem; color: #a9aac9; }

.d4k-footer h2 {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7ee6d4;
  margin-bottom: 0.9rem;
  font-family: var(--d4k-font-body);
}

.d4k-footer__links { list-style: none; margin: 0; padding: 0; }
.d4k-footer__links li { margin: 0 0 0.5rem; }
.d4k-footer__links a {
  color: #c4c5dd;
  text-decoration: none;
  font-size: 0.92rem;
}
.d4k-footer__links a:hover { color: #fff; text-decoration: underline; }

.d4k-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.1rem;
  font-size: 0.82rem;
  color: #9b9cbd;
}

.d4k-footer__bottom a { color: #c4c5dd; text-decoration: none; }
.d4k-footer__bottom a:hover { color: #fff; }
.d4k-footer__meta { display: flex; gap: 1rem; flex-wrap: wrap; }

.d4k-totop {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

/* ---------- 404 ---------- */
.d4k-404 {
  min-height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 4rem;
}
.d4k-404__code {
  font-family: var(--d4k-font-head);
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 1;
  color: var(--d4k-teal);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

/* ---------- marble band ---------- */
.d4k-section--marble {
  position: relative;
  background: var(--d4k-ink);
  color: #fff;
  overflow: hidden;
}
.d4k-section--marble::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/marble.jpg") center / cover no-repeat;
  opacity: 0.32;
}
.d4k-section--marble::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(22, 24, 46, 0.92) 20%, rgba(39, 42, 118, 0.72) 100%);
}
.d4k-section--marble > * { position: relative; z-index: 1; }
.d4k-section--marble h2 { color: #fff; }

/* ---------- pull quote ---------- */
.d4k-pullquote {
  margin: 0;
  padding: 1.3rem 1.4rem;
  border-left: 6px solid var(--d4k-teal);
  background: #fff;
  border-radius: var(--d4k-radius);
  font-family: var(--d4k-font-head);
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--d4k-navy);
  box-shadow: var(--d4k-shadow-sm);
}
.d4k-pullquote cite {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--d4k-font-body);
  font-size: 0.78rem;
  font-style: normal;
  color: var(--d4k-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- browser mock ---------- */
.d4k-browser {
  border: 3px solid var(--d4k-ink);
  border-radius: var(--d4k-radius-lg);
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--d4k-teal);
  background: #fff;
}
.d4k-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  background: var(--d4k-paper);
  border-bottom: 2px solid var(--d4k-ink);
}
.d4k-browser__dots { display: flex; gap: 0.35rem; flex: 0 0 auto; }
.d4k-browser__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--d4k-line-ink);
  display: block;
}
.d4k-browser__dots span:first-child { background: var(--d4k-teal); }
.d4k-browser__url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--d4k-line-ink);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  color: var(--d4k-muted);
  font-family: var(--d4k-font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.d4k-browser__body { padding: 1.1rem 1.2rem; }
.d4k-browser__body h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.d4k-browser__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--d4k-line);
  font-size: 0.9rem;
  color: #33364e;
}
.d4k-browser__row:last-child { border-bottom: 0; }
.d4k-browser__row svg { color: var(--d4k-teal-deep); flex: 0 0 auto; }

/* ---------- reveal ---------- */
.d4k-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--d4k-ease), transform 0.6s var(--d4k-ease);
  will-change: opacity, transform;
}
.d4k-reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .d4k-withrail { grid-template-columns: minmax(0, 1fr); }
  .d4k-rail { position: static; }
  .d4k-footer__top { grid-template-columns: 1.3fr 1fr 1fr; }
  .d4k-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .d4k-navtoggle { display: inline-flex; }

  .d4k-nav {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid var(--d4k-ink);
    border-top: 0;
    border-radius: 0 0 var(--d4k-radius) var(--d4k-radius);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    box-shadow: 0 18px 30px -18px rgba(22, 24, 46, 0.5);
    display: none;
  }

  .d4k-nav.is-open { display: flex; }

  .d4k-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .d4k-nav__list a { padding: 0.8rem 0.8rem; font-size: 0.92rem; border-radius: 6px; }
  .d4k-nav__list a::after { display: none; }
  .d4k-nav__list a:hover,
  .d4k-nav__list a[aria-current="page"] { background: var(--d4k-paper); }

  .d4k-nav__cta { margin: 0.5rem 0 0.2rem; width: 100%; }

  .d4k-hero__grid { grid-template-columns: 1fr; }
  .d4k-hero__visual { order: -1; max-width: 560px; }
  .d4k-hero__frame { aspect-ratio: 16 / 11; }

  .d4k-grid--3,
  .d4k-grid--4 { grid-template-columns: repeat(2, 1fr); }

  .d4k-steps { grid-template-columns: 1fr; }

  .d4k-split { grid-template-columns: 1fr; }
  .d4k-split--reverse .d4k-split__media { order: 0; }

  .d4k-channels__grid { grid-template-columns: 1fr; }
  .d4k-channel { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .d4k-channel:first-child { border-top: 0; }

  .d4k-topstrip__in { justify-content: center; }
  .d4k-topstrip__channels { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .d4k-sectionhead--split > :last-child { margin-left: 0; }

  .d4k-brand img { height: 38px; }
  .d4k-brand__name { font-size: 1.04rem; }
  .d4k-brand__tag { font-size: 0.6rem; letter-spacing: 0.1em; }

  .d4k-grid--3,
  .d4k-grid--4,
  .d4k-grid--2 { grid-template-columns: 1fr; }

  .d4k-hero__chip { position: static; margin-top: 0.9rem; max-width: none; box-shadow: 4px 4px 0 var(--d4k-navy); }
  .d4k-hero__badge { top: 10px; right: 10px; }

  .d4k-cta__in { flex-direction: column; align-items: flex-start; }

  .d4k-footer__top { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .d4k-footer__bottom { flex-direction: column; align-items: flex-start; }

  .d4k-btn { width: 100%; }
  .d4k-btnrow .d4k-btn { width: auto; }
  .d4k-nav__cta { width: 100%; }
  .d4k-arrowlink { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .d4k-reveal { opacity: 1; transform: none; }
}
