/* Distris — distris.sk
   Tokeny zo značkového manuálu (Distris-znacka.pdf), verzia 1.0 */

:root {
  --teal: #0F766E;
  --teal-600: #0D6961;
  --teal-50: #ECFAF7;
  --teal-100: #D6F3ED;
  --deep: #0B3B37;
  --deep-900: #072926;
  --mint: #2DD4BF;
  --ink: #111827;
  --muted: #475569;
  --label: #94A3B8;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --ok: #047857;
  --warn: #B45309;
  --err: #BE123C;
  --info: #1D4ED8;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 12px 32px -12px rgba(11, 59, 55, .18);
  --shadow-lg: 0 2px 4px rgba(17, 24, 39, .04), 0 30px 60px -24px rgba(11, 59, 55, .28);
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-dark { background: var(--deep); color: #E6F4F1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-soft { background: var(--bg); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: var(--mint); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section-dark .section-head p { color: #B9D9D3; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -12px rgba(15, 118, 110, .7); }
.btn-primary:hover { background: var(--teal-600); box-shadow: 0 16px 30px -12px rgba(15, 118, 110, .75); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.section-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.section-dark .btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-mint { background: var(--mint); color: var(--deep-900); }
.btn-mint:hover { background: #5EE3D2; }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(11, 59, 55, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px;
  text-decoration: none !important; transition: color .2s, background .2s;
}
.nav a:hover, .nav a.active { color: var(--ink); background: var(--bg); }
.nav .btn { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; color: var(--ink);
}
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transform-origin: 50% 50%; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .2s;
    box-shadow: 0 30px 40px -30px rgba(11, 59, 55, .35);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .nav .btn { display: inline-flex; margin-top: 10px; color: #fff; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 110px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-bg .b1 { width: 620px; height: 620px; right: -160px; top: -220px; background: radial-gradient(circle, #B4F0E5 0%, rgba(180, 240, 229, 0) 70%); }
.hero-bg .b2 { width: 520px; height: 520px; left: -200px; bottom: -260px; background: radial-gradient(circle, #DDEFEB 0%, rgba(221, 239, 235, 0) 70%); animation-delay: -6s; animation-duration: 22s; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(15, 118, 110, .06) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 118, 110, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); margin-top: 20px; font-weight: 800; }
.hero h1 .accent { color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--mint);
  border-radius: 4px; z-index: -1; opacity: .55; transform-origin: left; transform: scaleX(0);
  animation: underline .9s var(--ease) .9s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero .lead { margin-top: 22px; font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta div { font-size: 14px; color: var(--muted); }
.hero-meta strong { display: block; color: var(--ink); font-size: 15px; }

/* Hero visual */
.hero-visual { position: relative; min-height: 460px; }
.logo-stage {
  position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto;
  display: grid; place-items: center;
}
.logo-anim { width: 62%; height: auto; filter: drop-shadow(0 30px 40px rgba(11, 59, 55, .28)); }
.logo-anim .tile { transform-origin: 80px 80px; transform: scale(.7); opacity: 0; animation: tileIn 1s var(--ease) .1s forwards; }
.logo-anim .d-draw {
  fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round;
  stroke-dasharray: 600; stroke-dashoffset: 600; opacity: 0;
  animation: draw 1.4s var(--ease) .55s forwards;
}
.logo-anim .d-fill { opacity: 0; animation: fadeIn .6s ease 1.7s forwards; }
.logo-anim .arrow-shine { opacity: 0; animation: shine 3.2s ease-in-out 2.6s infinite; }
@keyframes tileIn { to { transform: scale(1); opacity: 1; } }
@keyframes draw { 0% { opacity: 1; stroke-dashoffset: 600; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes shine { 0%, 100% { opacity: 0; transform: translateX(-30px); } 45% { opacity: .35; } 60% { opacity: 0; transform: translateX(40px); } }

.orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(15, 118, 110, .25); animation: spin 40s linear infinite; }
.orbit::before { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); top: -6px; left: calc(50% - 6px); box-shadow: 0 0 0 6px rgba(15, 118, 110, .14); }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 14px; display: flex; align-items: center; gap: 12px; min-width: 170px;
  animation: floaty 6s ease-in-out infinite; opacity: 0;
  animation-name: floaty, cardIn; animation-duration: 6s, .8s; animation-timing-function: ease-in-out, var(--ease); animation-iteration-count: infinite, 1; animation-fill-mode: both, forwards;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-card small { display: block; font-size: 12px; color: var(--label); font-weight: 500; }
.float-card b { font-size: 17px; font-weight: 700; color: var(--ink); }
.fc1 { left: -4%; top: 10%; animation-delay: 0s, 1.6s; }
.fc2 { right: -6%; top: 26%; animation-delay: -2s, 1.9s; }
.fc3 { left: 2%; bottom: 14%; animation-delay: -4s, 2.2s; }
.fc4 { right: 0; bottom: 4%; animation-delay: -1s, 2.5s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; order: -1; }
  .logo-stage { width: min(100%, 340px); }
  .float-card { min-width: 150px; padding: 10px 12px; }
  .fc1 { left: 0; } .fc2 { right: 0; } .fc3 { left: 0; } .fc4 { right: 0; }
}

/* Stats */
.stats { border-block: 1px solid var(--line); background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 0; }
.stat { text-align: left; padding-left: 20px; border-left: 3px solid var(--teal-100); }
.stat b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--deep); letter-spacing: -.02em; line-height: 1; }
.stat > span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 20px; margin-top: 16px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; }
.card .ic svg { width: 24px; height: 24px; }

/* Modules / configurator */
.modules-layout { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .modules-layout { grid-template-columns: 1fr; } }
.base-card {
  position: sticky; top: 96px;
  background: linear-gradient(160deg, var(--deep) 0%, #0F4F49 100%); color: #E6F4F1;
  border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.base-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, .35), transparent 70%);
}
.base-card .tag { display: inline-block; background: rgba(45, 212, 191, .16); color: var(--mint); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.base-card h3 { color: #fff; font-size: 26px; margin-top: 16px; }
.base-card p { margin-top: 10px; color: #B9D9D3; font-size: 15px; }
.base-card ul { margin-top: 18px; display: grid; gap: 9px; }
.base-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #E6F4F1; }
.base-card li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--mint); margin-top: 3px; }
@media (max-width: 960px) { .base-card { position: static; } }
.base-card .note { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #B9D9D3; position: relative; }

.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1100px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .module-grid { grid-template-columns: 1fr; } }
.module {
  position: relative; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 18px 18px;
  transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease), background .2s;
  display: flex; flex-direction: column; gap: 8px; width: 100%;
}
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CBD5E1; }
.module[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-50); box-shadow: 0 0 0 4px rgba(15, 118, 110, .10); }
.module .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.module .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); color: var(--teal); display: grid; place-items: center; transition: background .2s, color .2s; }
.module .ic svg { width: 22px; height: 22px; }
.module[aria-pressed="true"] .ic { background: var(--teal); color: #fff; }
.module .check {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: #fff; transition: background .2s, border-color .2s;
}
.module .check svg { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.module[aria-pressed="true"] .check { background: var(--teal); border-color: var(--teal); }
.module[aria-pressed="true"] .check svg { opacity: 1; transform: scale(1); }
.module h4 { font-size: 16.5px; font-weight: 700; }
.module p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.module.custom { border-style: dashed; background: transparent; }
.module.custom .ic { background: transparent; border: 1.5px dashed var(--line); }
.module.custom[aria-pressed="true"] { background: var(--teal-50); border-style: solid; }

.config-bar {
  margin-top: 22px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border: 1.5px solid var(--line);
}
.config-bar .sum { font-size: 15px; color: var(--muted); }
.config-bar .sum b { color: var(--ink); }
.config-bar .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12.5px; font-weight: 600; background: var(--teal-50); color: var(--teal); padding: 4px 10px; border-radius: 999px; }
.chip.base { background: var(--deep); color: var(--mint); }

/* Custom dev section */
.custom-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 960px) { .custom-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .custom-steps { grid-template-columns: 1fr; } }
.cstep { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 24px; }
.cstep::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--mint); }
.cstep h3 { font-size: 19px; margin-top: 10px; }
.cstep p { margin-top: 8px; font-size: 15px; color: #B9D9D3; }
.ideas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.ideas span { font-size: 13.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #D5ECE7; background: rgba(255, 255, 255, .03); }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1000px) { .apps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .apps { grid-template-columns: repeat(2, 1fr); } }
.app { text-align: center; padding: 26px 18px; }
.app img { width: 72px; height: 72px; margin-inline: auto; border-radius: 20px; box-shadow: 0 14px 28px -14px rgba(11, 59, 55, .5); transition: transform .35s var(--ease); }
.app:hover img { transform: translateY(-4px) rotate(-3deg) scale(1.04); }
.app h3 { font-size: 17px; margin-top: 16px; }
.app p { font-size: 14px; margin-top: 6px; }
.app .who { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--teal); background: var(--teal-50); padding: 4px 10px; border-radius: 999px; }

/* Process / timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; } }
.tstep { position: relative; padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.tstep .num { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; }
.tstep h3 { font-size: 20px; margin-top: 16px; }
.tstep p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; }
@media (max-width: 720px) { .benefits { grid-template-columns: 1fr; } }
.benefit { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.benefit .n { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: .08em; padding-top: 4px; }
.benefit h3 { font-size: 19px; }
.benefit p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s var(--ease), background .2s, border-color .2s; }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--teal); border-color: var(--teal); color: #fff; }
.faq .a { padding: 0 0 22px; color: var(--muted); max-width: 680px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dl { display: grid; gap: 18px; margin: 28px 0 0; }
.contact-info dt { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--label); }
.contact-info dd { margin: 4px 0 0; font-size: 17px; }
.form { background: #fff; border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.field textarea { min-height: 120px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--label); font-size: 13px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; display: none; }
.form-msg.ok { display: block; background: #ECFDF5; color: var(--ok); }
.form-msg.err { display: block; background: #FFF1F2; color: var(--err); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal) 0%, var(--deep) 100%); color: #fff; border-radius: 26px; padding: clamp(36px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, .35), transparent 70%); }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; }
.cta-band p { margin-top: 8px; color: #C9E8E2; }

/* Footer */
.footer { background: var(--deep-900); color: #9FC7C0; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer img { height: 34px; width: auto; }
.footer p { margin-top: 16px; font-size: 14.5px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer ul { margin-top: 14px; display: grid; gap: 8px; }
.footer a { color: #C9E8E2; font-size: 15px; }
.footer a:hover { color: var(--mint); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* Legal pages */
.legal { max-width: 760px; margin-inline: auto; padding: 56px 0 90px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); }
.legal .meta { margin-top: 10px; color: var(--label); font-size: 14px; }
.legal h2 { font-size: 20px; margin-top: 36px; color: var(--deep); }
.legal p, .legal li { margin-top: 10px; color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .todo { background: #FFFBEB; color: var(--warn); padding: 2px 6px; border-radius: 6px; font-size: .92em; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--deep); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease); z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .float-card, .logo-anim .tile, .logo-anim .d-fill { opacity: 1; transform: none; }
  .logo-anim .d-draw, .logo-anim .arrow-shine { display: none; }
  .hero h1 .accent::after { transform: scaleX(1); }
}
