:root {
  color-scheme: dark;
  --background: #020617;
  --foreground: #f8fafc;
  --card: rgba(15, 23, 42, 0.78);
  --card-strong: rgba(15, 23, 42, 0.96);
  --primary: #f8fafc;
  --primary-foreground: #020617;
  --secondary: rgba(148, 163, 184, 0.12);
  --secondary-foreground: #e2e8f0;
  --muted-foreground: #94a3b8;
  --accent: #38bdf8;
  --accent-foreground: #06121f;
  --border: rgba(148, 163, 184, 0.18);
  --ring: rgba(56, 189, 248, 0.42);
  --radius: 1rem;
  --radius-sm: 0.65rem;
  --radius-lg: 1.5rem;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.42);
  /* The same three faces the Smart Indkoeb app uses, so the studio and its products read as one
     brand. Archivo carries the headings, Hanken Grotesk the running text, and Space Grotesk the
     small uppercase labels and numerals, where its squarer shapes hold a tight grid better than
     a humanist face does. */
  --font-display: "Archivo", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-site: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Grotesk", ui-monospace, "SFMono-Regular", "Cascadia Mono", monospace;
}

h1,
h2,
h3,
h4,
.site-brand,
.nav-action,
.btn-huce-primary,
.btn-huce-secondary,
.lang-switch,
.approach-list span,
.mini-product-card strong {
  font-family: var(--font-display);
}

.eyebrow,
.section-kicker,
.service-index,
.card-label,
.ui-badge,
.mini-product-card span {
  font-family: var(--font-mono);
}

html {
  font-size: 16px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--foreground);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 30rem),
    radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.12), transparent 24rem),
    linear-gradient(180deg, #020617 0%, #030712 48%, #020617 100%);
  font-family: var(--font-site);
  line-height: 1.5;
}

body,
button,
input,
textarea,
select {
  letter-spacing: -0.01em;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  padding-left: 0;
  padding-right: 0;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.18rem var(--ring);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 6, 23, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.site-nav {
  width: min(1120px, calc(100% - 2rem));
  min-height: 4.4rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-brand,
.site-links,
.footer-inner,
.badge-row {
  display: flex;
  align-items: center;
}

.site-brand {
  gap: 0.6rem;
  color: var(--foreground);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.brand-word {
  padding-top: 0.05em;
}

/* The mark is an inline SVG rather than a letter in a box, so it stays sharp at any size and can
   pick up the page's own colours. */
.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  overflow: visible;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-mark-plate {
  fill: rgba(6, 18, 31, 0.9);
  stroke: rgba(56, 189, 248, 0.34);
  stroke-width: 1.5;
}

.brand-mark-strokes {
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.35));
}

.site-brand:hover .brand-mark {
  transform: translateY(-1px) rotate(-3deg);
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark,
  .site-brand:hover .brand-mark {
    transition: none;
    transform: none;
  }
}

/* Says why a page stays in English when the rest of the site is in Danish. */
.lang-notice {
  margin: 0 0 2rem;
  padding: 0.85rem 1.05rem;
  color: var(--muted-foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

/* Language switch. Deliberately quiet — it is a preference, not a call to action. */
.lang-switch {
  min-height: 2.1rem;
  min-width: 2.6rem;
  margin-left: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.6rem;
  color: var(--muted-foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.lang-switch:hover {
  color: var(--foreground);
  border-color: rgba(56, 189, 248, 0.5);
}

.site-links {
  margin-left: auto;
  gap: 0.35rem;
  color: var(--muted-foreground);
  font-family: var(--font-site);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.site-links a,
.nav-action,
.site-footer a,
.text-link,
.crumb-link,
.mini-product-card {
  text-decoration: none;
}

.site-links a {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
}

.site-links a:hover,
.site-footer a:hover,
.text-link:hover,
.crumb-link:hover {
  color: var(--foreground);
}

.nav-action,
.btn-huce-primary,
.btn-huce-secondary {
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-action {
  padding: 0.58rem 0.95rem;
  color: var(--primary-foreground);
  background: var(--primary);
  border: 1px solid var(--primary);
  font-family: var(--font-site);
  font-size: 0.92rem;
}

.nav-action:hover,
.btn-huce-primary:hover,
.btn-huce-secondary:hover {
  transform: translateY(-1px);
}

.site-main {
  overflow: hidden;
}

.landing-page {
  background: transparent;
}

.hero-section {
  position: relative;
  min-height: calc(100svh - 4.4rem);
  overflow: hidden;
  color: var(--foreground);
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.92)),
    #020617;
  isolation: isolate;
}

.hero-canvas,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.7;
}

.hero-scrim {
  z-index: -1;
  background:
    radial-gradient(circle at 70% 18%, rgba(56, 189, 248, 0.14), transparent 22rem),
    linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.88));
}

.hero-content {
  min-height: calc(100svh - 4.4rem);
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.58fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.hero-copy {
  max-width: 54rem;
  /* Without this a grid item refuses to shrink below its widest word. */
  min-width: 0;
}

.eyebrow,
.section-kicker,
.service-index,
.card-label {
  margin: 0 0 0.95rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-copy h1,
.subpage-hero h1 {
  margin: 0;
  color: var(--foreground);
  font-size: clamp(3rem, 7.6vw, 7rem);
  font-weight: 900;
  line-height: 0.92;
  /* Danish compounds are long — "Seniorudvikling" is one word — and at display sizes one of them
     is wider than a phone. Left unbroken it blew the grid column out past the viewport and took
     the lede and the buttons with it, so the headline is allowed to hyphenate. The html element
     carries lang="da", which is what lets the browser break it in the right places. */
  overflow-wrap: break-word;
  hyphens: auto;
  letter-spacing: -0.05em;
}

.hero-lede,
.subpage-lede {
  max-width: 43rem;
  margin: clamp(1.35rem, 2vw, 2rem) 0 0;
  color: #cbd5e1;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-huce-primary,
.btn-huce-secondary {
  min-height: 3rem;
  padding: 0.8rem 1.05rem;
}

.btn-huce-primary {
  color: var(--primary-foreground);
  background: var(--primary);
  border: 1px solid var(--primary);
}

.btn-huce-primary:hover {
  color: var(--primary-foreground);
  background: #e2e8f0;
  border-color: #e2e8f0;
}

.btn-huce-secondary {
  color: var(--secondary-foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
}

.btn-huce-secondary:hover {
  color: var(--foreground);
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(226, 232, 240, 0.32);
}

.founder-card,
.ui-card,
.service-card,
.product-card,
.mini-product-card,
.contact-band {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.68));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.founder-card {
  padding: 0.75rem;
  border-radius: var(--radius-lg);
}

.portrait-shell {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.16), transparent 12rem),
    linear-gradient(150deg, #111827, #020617);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-lg) - 0.35rem);
}

.portrait-shell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  mix-blend-mode: screen;
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(248, 250, 252, 0.28);
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.founder-copy {
  padding: 1rem 0.35rem 0.25rem;
}

.founder-copy h2 {
  margin: 0.9rem 0 0.75rem;
  color: var(--foreground);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.founder-copy p {
  margin: 0;
  color: var(--muted-foreground);
}

.ui-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.25rem 0.58rem;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.ui-badge.muted {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.12);
  border-color: var(--border);
}

.badge-row {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.intro-grid,
.approach-layout,
.preview-grid,
.contact-band,
.subpage-grid,
.product-detail-grid,
.case-study-grid,
.detail-columns {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
}

.intro-grid,
.subpage-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.8fr);
  align-items: start;
}

.section h2 {
  margin: 0;
  max-width: 48rem;
  color: var(--foreground);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-lede,
.approach-copy p,
.product-card p,
.ui-card p {
  color: var(--muted-foreground);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.section-lede {
  margin: 1.5rem 0 0;
}

.section-services {
  padding-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-card {
  min-height: 18rem;
  padding: clamp(1.2rem, 2.5vw, 1.75rem);
  border-radius: var(--radius);
}

.service-card h3 {
  margin: 0 0 1rem;
  color: var(--foreground);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.service-card p {
  margin: 0;
  color: var(--muted-foreground);
}

.section-approach {
  position: relative;
}

.section-approach::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.55), transparent);
}

.approach-layout,
.preview-grid,
.product-detail-grid,
.detail-columns {
  grid-template-columns: minmax(0, 0.78fr) minmax(18rem, 1fr);
  align-items: start;
}

.approach-copy p {
  max-width: 32rem;
  margin: 1.5rem 0 0;
}

.approach-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: huce-steps;
}

.approach-list li {
  position: relative;
  min-height: 8rem;
  padding: 1.25rem 1.25rem 1.25rem 4.25rem;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: huce-steps;
}

.approach-list li + li {
  margin-top: 0.85rem;
}

.approach-list li::before {
  content: counter(huce-steps, decimal-leading-zero);
  position: absolute;
  top: 1.45rem;
  left: 1.25rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
}

.approach-list span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.approach-list p {
  max-width: 35rem;
  margin: 0;
  color: var(--muted-foreground);
}

.section-products-preview {
  background:
    radial-gradient(circle at 18% 15%, rgba(56, 189, 248, 0.12), transparent 22rem),
    rgba(15, 23, 42, 0.28);
}

.section-products-preview .btn {
  margin-top: 1.5rem;
}

.mini-product-grid {
  display: grid;
  gap: 0.85rem;
}

.mini-product-card {
  position: relative;
  padding: 1.25rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.mini-product-card::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1.25rem auto;
  width: 4.5rem;
  height: 4.5rem;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.24), transparent 66%);
  border-radius: 999px;
}

.mini-product-card span,
.mini-product-card small {
  display: block;
  color: var(--muted-foreground);
}

.mini-product-card strong {
  display: block;
  margin: 0.35rem 0;
  color: var(--foreground);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.04em;
}

.contact-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: var(--radius-lg);
}

.contact-band h2 {
  max-width: 47rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.site-footer {
  color: var(--muted-foreground);
  background: rgba(2, 6, 23, 0.92);
  border-top: 1px solid var(--border);
}

.footer-inner {
  min-height: 5rem;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.subpage-hero {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: -10rem -15rem auto auto;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 68%);
  pointer-events: none;
}

.narrow {
  max-width: 760px;
}

.crumb-link {
  display: inline-flex;
  margin-bottom: 1.4rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-products {
  padding-top: 0;
}

.product-list {
  display: grid;
  gap: 1rem;
}

.product-card {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 1.6rem);
  border-radius: var(--radius-lg);
}

.product-card-copy h2 {
  margin: 1rem 0 0.65rem;
  color: var(--foreground);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.product-card-copy p {
  max-width: 44rem;
  margin: 0 0 1rem;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.phone-frame {
  width: min(100%, 12rem);
  aspect-ratio: 0.52;
  padding: 0.55rem;
  justify-self: center;
  background: linear-gradient(145deg, rgba(226, 232, 240, 0.24), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2rem;
  box-shadow: 0 24px 80px rgba(56, 189, 248, 0.18);
}

.phone-frame.large {
  width: min(100%, 18rem);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, var(--accent), transparent 7rem),
    linear-gradient(180deg, #0f172a, #020617);
  border-radius: 1.55rem;
}

.phone-pill,
.phone-orb,
.phone-line,
.phone-panel {
  position: absolute;
  display: block;
}

.phone-pill {
  top: 0.65rem;
  left: 50%;
  width: 3.2rem;
  height: 0.38rem;
  background: rgba(248, 250, 252, 0.3);
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-orb {
  top: 3.2rem;
  left: 1rem;
  width: 4.8rem;
  height: 4.8rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.92), var(--accent));
  border-radius: 1.4rem;
}

.phone-line {
  left: 1rem;
  right: 1rem;
  top: 9rem;
  height: 0.72rem;
  background: rgba(226, 232, 240, 0.2);
  border-radius: 999px;
}

.phone-line.wide {
  top: 7.75rem;
  right: 2.4rem;
  background: rgba(248, 250, 252, 0.58);
}

.phone-panel {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  height: 42%;
  background: rgba(248, 250, 252, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
}

.phone-panel.small {
  top: 11.2rem;
  bottom: auto;
  height: 4rem;
}

.product-detail-hero h1 {
  font-size: clamp(4rem, 10vw, 8.5rem);
}

.product-tagline {
  margin: 1rem 0 0;
  color: var(--accent);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
}

.detail-phone {
  display: grid;
  place-items: center;
}

.case-study-section {
  padding-top: 0;
}

.case-study-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ui-card {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border-radius: var(--radius);
}

.ui-card p {
  margin: 0;
}

.detail-section {
  padding-top: 0;
}

.detail-stack {
  display: grid;
  gap: 0.85rem;
}

.policy-summary-card {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.68));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.policy-summary-card p {
  margin: 1rem 0 0;
  color: #cbd5e1;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.policy-list,
.policy-copy {
  display: grid;
  gap: 0.85rem;
}

.policy-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.policy-card h2,
.policy-copy-card h2,
.policy-promises h2 {
  margin: 1rem 0 0.65rem;
  color: var(--foreground);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.policy-card p,
.policy-copy-card p {
  margin: 0;
  color: var(--muted-foreground);
}

.policy-section {
  padding-top: 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: start;
}

.policy-promises {
  position: sticky;
  top: 5.5rem;
}

.check-list,
.metric-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.metric-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.6rem;
  color: #cbd5e1;
  border-top: 1px solid var(--border);
}

.check-list li:first-child,
.metric-list li:first-child {
  border-top: 0;
}

.check-list li::before,
.metric-list li::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 999px;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip-cloud span {
  padding: 0.45rem 0.65rem;
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.trader-meta {
  margin: 0;
  display: grid;
  gap: 0;
}

.trader-meta > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
}

.trader-meta > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.trader-meta dt {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 700;
}

.trader-meta dd {
  margin: 0;
  color: var(--foreground);
  font-weight: 600;
  line-height: 1.4;
}

.trader-meta dd a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.label-grid {
  margin: 0;
  display: grid;
  gap: 0;
}

.label-grid .label-row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.4fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.label-grid .label-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.label-grid dt {
  margin: 0;
  font-weight: 700;
  color: var(--foreground);
}

.label-grid dd {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.label-grid dd .ui-badge {
  align-self: flex-start;
}

.label-grid dd p {
  margin: 0;
}

@media (max-width: 640px) {
  .label-grid .label-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .hero-content,
  .intro-grid,
  .approach-layout,
  .preview-grid,
  .contact-band,
  .subpage-grid,
  .product-detail-grid,
  .detail-columns,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: start;
  }

  .founder-card {
    max-width: 32rem;
  }

  .service-grid,
  .case-study-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .site-nav {
    width: min(100% - 1rem, 1120px);
    min-height: 4rem;
    gap: 0.65rem;
  }

  .site-brand {
    font-size: 1.5rem;
  }

  .site-links {
    gap: 0;
    font-size: 0.82rem;
  }

  .site-links a {
    padding: 0.45rem 0.55rem;
  }

  .nav-action {
    display: none;
  }

  .hero-section,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding-top: 3.2rem;
    padding-bottom: 3rem;
  }

  .hero-actions,
  .btn-huce-primary,
  .btn-huce-secondary {
    width: 100%;
  }

  .btn-huce-primary,
  .btn-huce-secondary {
    justify-content: center;
  }

  .portrait-shell {
    min-height: 21rem;
  }

  .service-grid,
  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(100%, 11rem);
  }

  .contact-band {
    align-items: stretch;
  }

  .policy-card {
    grid-template-columns: 1fr;
  }

  .policy-promises {
    position: static;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 449.98px) {
  .site-links a:first-child {
    display: none;
  }

  .hero-copy h1,
  .subpage-hero h1 {
    font-size: clamp(2.2rem, 11.5vw, 3.6rem);
  }
}

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

  .nav-action,
  .btn-huce-primary,
  .btn-huce-secondary {
    transition: none;
  }
}
