:root {
  color-scheme: dark;
  --ink: #05070b;
  --ink-raised: #0a0d14;
  --ink-soft: #10141d;
  --paper: #f7f7fb;
  --muted: #aeb5c2;
  --line: rgb(247 247 251 / 0.14);
  --cyan: #23daff;
  --violet: #a16dff;
  --radius: 16px;
  --max-width: 1400px;
  --nav-height: 66px;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-family: var(--font-text);
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 82% 8%, rgb(35 218 255 / 0.05), transparent 28rem),
    var(--ink);
  color: var(--paper);
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--paper);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.1rem, 7vw, 7.5rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 6vw, 6.4rem);
}

h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.5rem);
}

.error-page {
  display: grid;
  min-height: 100dvh;
  padding: clamp(28px, 6vw, 80px);
  place-items: center;
}

.error-page main {
  display: grid;
  width: min(100%, 680px);
  gap: 24px;
}

.error-brand {
  width: min(220px, 60vw);
}

.error-code {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.error-page nav {
  display: flex;
  gap: 12px;
}

.error-page nav a {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: fixed;
  top: max(20px, env(safe-area-inset-top));
  right: clamp(16px, 2vw, 32px);
  left: clamp(16px, 2vw, 32px);
  z-index: 20;
  display: flex;
  height: var(--nav-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 2vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(5 7 11 / 0.74);
  box-shadow: inset 0 1px 0 rgb(247 247 251 / 0.06);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.brand-link {
  display: inline-flex;
  width: clamp(142px, 14vw, 212px);
  align-items: center;
}

.brand-link img {
  width: 100%;
  height: auto;
}

.locale-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.locale-nav a {
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.locale-nav a:hover,
.locale-nav a[data-active="true"] {
  color: var(--paper);
}

.locale-nav a[data-active="true"] {
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.locale-nav a:active {
  transform: translateY(1px);
}

.locale-nav a:focus-visible,
.brand-link:focus-visible,
.app-store-link:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}

.hero-scroll {
  position: relative;
  min-height: 115dvh;
}

.hero-stage {
  position: sticky;
  top: 0;
  isolation: isolate;
  min-height: 100dvh;
  overflow: clip;
  background: var(--ink);
}

.hero-stage::before {
  position: absolute;
  inset: -8%;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(5 7 11 / 0.58), rgb(5 7 11 / 0.38) 42%, rgb(5 7 11 / 0.82)),
    radial-gradient(circle at 70% 42%, transparent 0 16%, rgb(5 7 11 / 0.4) 68%);
  content: "";
  opacity: 0.82;
  pointer-events: none;
  transform: scale(1.04) translate3d(0, 0, 0);
  animation: hero-tint-journey linear both;
  animation-timeline: scroll(root block);
  animation-range: 0 24%;
}

.hero-video,
.motion-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.06);
}

.hero-video {
  z-index: -5;
  filter: saturate(1.08) contrast(1.08) brightness(0.76);
  transform: scale(1.08) translate3d(0, 0, 0);
  animation: hero-video-journey linear both;
  animation-timeline: scroll(root block);
  animation-range: 0 24%;
}

.hero-mask-layer {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: var(--ink);
  -webkit-mask-image:
    linear-gradient(#fff 0 0),
    url("/assets/brand/itera-wordmark-mask.svg");
  -webkit-mask-position: center, center;
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-size: 100% 100%, min(92vw, 1580px) auto;
  -webkit-mask-composite: xor;
  mask-image:
    linear-gradient(#fff 0 0),
    url("/assets/brand/itera-wordmark-mask.svg");
  mask-position: center, center;
  mask-repeat: no-repeat, no-repeat;
  mask-size: 100% 100%, min(92vw, 1580px) auto;
  mask-composite: exclude;
  transform: translate3d(0, 0, 0);
  animation: wordmark-journey linear both;
  animation-timeline: scroll(root block);
  animation-range: 0 24%;
}

.hero-mask-layer::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(247 247 251 / 0.04);
  content: "";
}

.hero-diagonal {
  position: absolute;
  z-index: -2;
  width: 44vw;
  height: 8px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: 0.65;
  transform: rotate(-40deg) translate3d(0, 0, 0);
  animation: diagonal-crossing linear both;
  animation-timeline: scroll(root block);
  animation-range: 0 24%;
}

.hero-diagonal-a {
  top: 20%;
  right: -10%;
}

.hero-diagonal-b {
  bottom: 8%;
  left: -16%;
  height: 3px;
  animation-direction: reverse;
}

.hero-copy {
  position: absolute;
  right: clamp(24px, 7vw, 112px);
  bottom: clamp(44px, 8vh, 96px);
  display: grid;
  max-width: min(620px, calc(100% - 48px));
  justify-items: start;
  gap: 22px;
  animation: hero-copy-journey linear both;
  animation-timeline: scroll(root block);
  animation-range: 0 24%;
}

.hero-copy p {
  max-width: 46ch;
  color: rgb(247 247 251 / 0.78);
}

.hero-actions {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.hero-copy .platform-note {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.app-store-status,
.app-store-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.app-store-status {
  cursor: not-allowed;
  opacity: 0.88;
}

.app-store-link {
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.app-store-link:hover {
  background: var(--cyan);
  color: var(--ink);
}

.app-store-link:active {
  transform: translateY(1px) scale(0.99);
}

.motion-story {
  position: relative;
  min-height: 120dvh;
  background: var(--ink);
}

.motion-stage {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  overflow: clip;
}

.motion-stage::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(5 7 11 / 0.94) 0%, transparent 48%),
    linear-gradient(0deg, rgb(5 7 11 / 0.82), transparent 48%);
  content: "";
  pointer-events: none;
}

.motion-video {
  transform: translate3d(22vw, 0, 0) rotate(-8deg) scale(1.18);
  animation: motion-blade linear both;
  animation-timeline: scroll(root block);
  animation-range: 20% 46%;
}

.motion-copy {
  position: absolute;
  bottom: clamp(48px, 9vh, 110px);
  left: max(24px, calc((100vw - var(--max-width)) / 2));
  z-index: 2;
  display: grid;
  max-width: 680px;
  gap: 22px;
  padding-right: 24px;
}

.flow-section,
.heatmap-section,
.privacy-section,
.closing-section {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.flow-section {
  padding-block: clamp(84px, 10vw, 140px);
}

.section-heading {
  margin-bottom: 68px;
}

.flow-accordion {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 0.9fr;
  gap: 12px;
}

.flow-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 610px;
  align-content: end;
  overflow: hidden;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-raised);
  box-shadow: inset 0 1px 0 rgb(247 247 251 / 0.04);
  transition: border-color 260ms ease, opacity 260ms ease, transform 260ms ease;
}

.flow-accordion:has(.flow-panel:hover) .flow-panel:not(:hover) {
  opacity: 0.58;
}

.flow-panel:hover {
  z-index: 2;
  border-color: rgb(35 218 255 / 0.64);
  transform: translateY(-8px) scale(1.012);
}

.flow-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(145deg, transparent 45%, rgb(35 218 255 / 0.1)),
    var(--ink-raised);
  content: "";
}

.flow-panel img {
  position: absolute;
  top: 5%;
  left: 50%;
  z-index: -1;
  width: 92%;
  height: 68%;
  object-fit: contain;
  transform: translateX(-50%);
}

.flow-panel .program-art {
  top: 1%;
  width: 100%;
  height: 72%;
  object-position: center top;
}

.flow-repeat img {
  top: -6%;
  height: 82%;
  opacity: 0.74;
}

.flow-panel > div {
  display: grid;
  gap: 14px;
}

.flow-panel p {
  font-size: 0.98rem;
}

.record-devices {
  position: absolute;
  top: 4%;
  right: 5%;
  left: 5%;
  z-index: -1;
  height: 68%;
}

.record-devices-en {
  display: none;
}

.flow-panel > .record-devices-en {
  display: none;
}

body[data-locale="en"] .flow-panel > .record-devices-tr {
  display: none;
}

body[data-locale="en"] .flow-panel > .record-devices-en {
  display: grid;
  place-items: center;
}

.record-devices-en > img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.device-frame {
  position: absolute;
  overflow: hidden;
  border: 2px solid rgb(247 247 251 / 0.22);
  background: #000;
  box-shadow: 0 18px 42px rgb(0 0 0 / 0.55), 0 0 28px rgb(35 218 255 / 0.08);
}

.device-frame img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.device-phone {
  top: 0;
  left: 4%;
  width: auto;
  height: 100%;
  aspect-ratio: 946 / 2048;
  border-width: 5px;
  border-radius: 38px;
}

.device-watch {
  right: 2%;
  bottom: 6%;
  width: auto;
  height: 52%;
  aspect-ratio: 408 / 506;
  border-width: 6px;
  border-radius: 30%;
}

.heatmap-section {
  position: relative;
  display: grid;
  min-height: 100dvh;
  grid-template-columns: 1.3fr 0.85fr;
  align-items: center;
  gap: clamp(44px, 7vw, 110px);
  padding-block: clamp(100px, 12vw, 180px);
}

.heatmap-section::before {
  position: absolute;
  top: 44%;
  right: -18vw;
  left: -18vw;
  z-index: -1;
  height: 18%;
  background: linear-gradient(90deg, transparent, rgb(35 218 255 / 0.5), rgb(161 109 255 / 0.5), transparent);
  content: "";
  opacity: 0.7;
  transform: rotate(-18deg);
}

.heatmap-media {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
}

.heatmap-media img {
  width: 100%;
  max-height: 78dvh;
  object-fit: contain;
  filter: drop-shadow(0 22px 44px rgb(35 218 255 / 0.08));
}

.heatmap-media img + img {
  width: 82%;
  justify-self: start;
}

.heatmap-copy {
  display: grid;
  gap: 24px;
}

.outdoor-section {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow: clip;
  background:
    linear-gradient(90deg, rgb(5 7 11 / 0.96) 0%, rgb(5 7 11 / 0.25) 58%, rgb(5 7 11 / 0.66)),
    url("/assets/product/website/outdoor-bebek-route.webp") center / cover no-repeat;
}

.outdoor-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, var(--ink) 0%, transparent 34%, transparent 64%, var(--ink) 100%);
  content: "";
}

.outdoor-copy {
  position: absolute;
  bottom: clamp(68px, 11vh, 132px);
  left: max(24px, calc((100vw - var(--max-width)) / 2));
  display: grid;
  gap: 24px;
  width: min(760px, calc(100% - 48px));
  padding-right: 24px;
}

.outdoor-metrics {
  display: grid;
  width: min(100%, 720px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 0;
}

.outdoor-metrics div {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid rgb(247 247 251 / 0.12);
  border-radius: 12px;
  background: rgb(5 7 11 / 0.72);
  backdrop-filter: blur(12px);
}

.outdoor-metrics dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outdoor-metrics dd {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 800;
}

.outdoor-signal span {
  position: absolute;
  top: 18%;
  right: -8%;
  width: 62vw;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: 0.75;
  transform: rotate(-40deg);
}

.outdoor-signal span:nth-child(2) {
  top: 38%;
  right: -2%;
  height: 2px;
}

.outdoor-signal span:nth-child(3) {
  top: 56%;
  right: -18%;
  height: 9px;
  opacity: 0.34;
}

.privacy-section {
  display: grid;
  min-height: 86dvh;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: clamp(60px, 10vw, 180px);
  padding-block: clamp(100px, 12vw, 170px);
}

.privacy-copy {
  display: grid;
  gap: 24px;
}

.privacy-mark {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  width: min(100%, 480px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 34px);
  background: linear-gradient(145deg, rgb(247 247 251 / 0.04), transparent 42%), var(--ink-raised);
  box-shadow:
    inset 0 1px 0 rgb(247 247 251 / 0.07),
    0 26px 80px rgb(35 218 255 / 0.05);
}

.privacy-mark::after {
  position: absolute;
  right: -1px;
  bottom: 14%;
  width: 1px;
  height: 30%;
  background: var(--cyan);
  content: "";
}

.privacy-logo-card {
  display: grid;
  min-width: 0;
  place-items: center;
  gap: 9px;
  padding: clamp(14px, 2vw, 22px) 10px;
  border: 1px solid rgb(247 247 251 / 0.1);
  border-radius: 14px;
  background: rgb(5 7 11 / 0.62);
}

.privacy-logo-card img {
  width: clamp(52px, 7vw, 84px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 20%;
  object-fit: contain;
}

.privacy-logo-card span {
  color: var(--muted);
  font-size: clamp(0.68rem, 1vw, 0.82rem);
  font-weight: 700;
  text-align: center;
}

.privacy-logo-itera img {
  width: clamp(48px, 6vw, 76px);
  border-radius: 0;
}

.closing-section {
  position: relative;
  display: grid;
  min-height: 90dvh;
  place-items: center;
  padding-block: 120px;
  text-align: center;
}

.signal-horizon {
  position: absolute;
  top: 48%;
  right: -18vw;
  left: -18vw;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(247 247 251 / 0.22), transparent);
  opacity: 0.58;
  transform: scaleX(0.72);
  animation: horizon-expand linear both;
  animation-timeline: scroll(root block);
  animation-range: 72% 100%;
}

.closing-copy {
  display: grid;
  max-width: 920px;
  justify-items: center;
  gap: 24px;
}

.closing-copy h2 {
  max-width: 15ch;
}

.campaign-line {
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  width: min(calc(100% - 48px), var(--max-width));
  grid-template-columns: 1fr;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
  padding-block: 34px max(34px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

@supports (animation-timeline: view()) {
  main > section:not(.hero-scroll) {
    animation: section-handoff linear both;
    animation-timeline: view(block);
    animation-range: entry 0% exit 100%;
  }
}

.site-footer img {
  width: 160px;
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.site-footer .footer-brand-line {
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer p {
  font-size: 0.82rem;
}

.cookie-notice-page {
  min-height: 100dvh;
}

.cookie-notice {
  display: grid;
  width: min(calc(100% - 48px), 920px);
  gap: 20px;
  margin-inline: auto;
  padding-top: calc(max(20px, env(safe-area-inset-top)) + var(--nav-height) + 64px);
  padding-bottom: clamp(120px, 14vw, 190px);
}

.cookie-notice-back {
  width: fit-content;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-underline-offset: 5px;
}

.cookie-notice-header {
  display: grid;
  gap: 14px;
  padding: 10px 0 22px;
}

.cookie-notice h1 {
  max-width: none;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
}

.cookie-notice h2 {
  max-width: none;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.cookie-notice p {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.cookie-notice-updated {
  font-size: 0.82rem;
}

.cookie-notice section {
  display: grid;
  min-width: 0;
  gap: 14px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgb(247 247 251 / 0.04), transparent 48%),
    var(--ink-raised);
  box-shadow: inset 0 1px 0 rgb(247 247 251 / 0.04);
}

.cookie-notice section > a {
  width: fit-content;
  color: var(--cyan);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 5px;
}

.cookie-inventory {
  display: grid;
  margin: 4px 0 0;
}

.cookie-inventory div {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(104px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.cookie-inventory dt,
.cookie-inventory dd {
  min-width: 0;
  margin: 0;
}

.cookie-inventory dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.cookie-inventory dd {
  color: var(--paper);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cookie-inventory code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.consent-banner {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  bottom: max(16px, env(safe-area-inset-bottom));
  left: clamp(16px, 3vw, 40px);
  z-index: 30;
  display: grid;
  width: min(calc(100% - clamp(32px, 6vw, 80px)), 1120px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
  padding: 22px;
  border: 1px solid rgb(247 247 251 / 0.22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgb(247 247 251 / 0.055), transparent 42%),
    rgb(10 13 20 / 0.92);
  box-shadow:
    inset 0 1px 0 rgb(247 247 251 / 0.08),
    0 22px 70px rgb(5 7 11 / 0.52);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner > div:first-child {
  display: grid;
  gap: 8px;
}

.consent-banner h2,
.consent-dialog h2,
.consent-dialog h3 {
  max-width: none;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.consent-banner h2 {
  font-size: 1.2rem;
}

.consent-banner p {
  max-width: 60ch;
  font-size: 0.94rem;
  line-height: 1.5;
}

.consent-banner-actions {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 10px;
}

.consent-banner button,
.consent-dialog button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgb(247 247 251 / 0.24);
  border-radius: 16px;
  background: rgb(16 20 29 / 0.82);
  color: var(--paper);
  font: 800 0.9rem/1 var(--font-text);
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.consent-banner button:hover,
.consent-dialog button:hover {
  border-color: rgb(35 218 255 / 0.72);
}

.consent-banner button:active,
.consent-dialog button:active {
  transform: translateY(1px) scale(0.99);
}

.consent-banner [data-consent-action="accept"],
.consent-dialog [data-consent-action="accept"] {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

.consent-banner button:focus-visible,
.consent-dialog button:focus-visible,
.consent-details-link:focus-visible,
.consent-settings-control:focus-visible,
.consent-switch input:focus-visible + .consent-switch-track {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.consent-dialog {
  width: min(calc(100% - 32px), 780px);
  max-height: min(88dvh, 760px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(247 247 251 / 0.36);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgb(247 247 251 / 0.055), transparent 46%),
    rgb(10 13 20 / 0.96);
  color: var(--paper);
  box-shadow:
    inset 0 1px 0 rgb(247 247 251 / 0.09),
    0 34px 110px rgb(5 7 11 / 0.72);
  backdrop-filter: blur(26px) saturate(130%);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
}

.consent-dialog::backdrop {
  background: rgb(5 7 11 / 0.74);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.consent-dialog-form {
  display: grid;
  max-height: min(88dvh, 760px);
  overflow: auto;
}

.consent-dialog-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  padding: 38px 44px 34px;
  border-bottom: 1px solid var(--line);
}

.consent-dialog-header > div {
  display: grid;
  gap: 12px;
}

.consent-dialog h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.consent-dialog h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.consent-dialog p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.consent-close {
  width: 44px;
  min-width: 44px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
}

.consent-categories {
  display: grid;
}

.consent-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 32px 44px;
  border-bottom: 1px solid var(--line);
}

.consent-category > div {
  display: grid;
  gap: 10px;
}

.consent-details-link {
  width: fit-content;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 5px;
}

.consent-switch {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
  cursor: pointer;
}

.consent-switch-locked {
  cursor: not-allowed;
}

.consent-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent-switch-track {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgb(247 247 251 / 0.24);
  border-radius: 999px;
  background: var(--ink-soft);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.consent-switch-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 2px 7px rgb(5 7 11 / 0.48);
  content: "";
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.consent-switch input:checked + .consent-switch-track {
  border-color: var(--cyan);
  background: var(--cyan);
}

.consent-switch input:checked + .consent-switch-track::after {
  transform: translateX(22px);
}

.consent-dialog-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 22px 44px 14px;
}

.consent-dialog-actions button {
  min-height: 44px;
  border-radius: 16px;
}

.consent-status {
  min-height: 32px;
  padding: 0 44px 18px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.consent-settings-control {
  width: fit-content;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgb(247 247 251 / 0.38);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: 700 0.86rem/1 var(--font-text);
  cursor: pointer;
}

.consent-settings-control:hover {
  border-color: var(--cyan);
  color: var(--paper);
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.video-failed video {
  opacity: 0;
}

@keyframes hero-video-journey {
  0% { transform: scale(1.08) translate3d(0, 0, 0); }
  48% { transform: scale(1.13) translate3d(-1.5%, -0.5%, 0); }
  100% { transform: scale(1.2) translate3d(-4%, 2%, 0); }
}

@keyframes wordmark-journey {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  58% { transform: scale(1.015) translate3d(-1.25%, -0.5%, 0); }
  100% { transform: scale(1.06) translate3d(2%, -1.5%, 0); }
}

@keyframes hero-tint-journey {
  0% { opacity: 0.82; transform: scale(1.04) translate3d(0, 0, 0); }
  55% { opacity: 0.9; transform: scale(1.06) translate3d(-1%, 0, 0); }
  100% { opacity: 1; transform: scale(1.08) translate3d(1%, 1%, 0); }
}

@keyframes hero-copy-journey {
  0%, 58% { opacity: 1; transform: translate3d(0, 0, 0); }
  78% { opacity: 0.88; transform: translate3d(0, -10px, 0); }
  100% { opacity: 0.12; transform: translate3d(0, -48px, 0); }
}

@keyframes diagonal-crossing {
  0% { opacity: 0; transform: rotate(-40deg) translate3d(-28%, 0, 0); }
  28% { opacity: 0.48; }
  68% { opacity: 0.24; }
  100% { opacity: 0; transform: rotate(-40deg) translate3d(80%, 0, 0); }
}

@keyframes motion-blade {
  from { transform: translate3d(22vw, 0, 0) rotate(-8deg) scale(1.18); }
  to { transform: translate3d(-14vw, -2%, 0) rotate(7deg) scale(1.34); }
}

@keyframes horizon-expand {
  from { opacity: 0.28; transform: scaleX(0.18); }
  to { opacity: 0.8; transform: scaleX(1); }
}

@keyframes section-handoff {
  0% { opacity: 0.18; transform: translate3d(0, 42px, 0); }
  24%, 72% { opacity: 1; transform: translate3d(0, 0, 0); }
  100% { opacity: 0.2; transform: translate3d(0, -34px, 0); }
}

@supports not (mask-composite: exclude) {
  .hero-mask-layer {
    background:
      url("/assets/brand/itera-wordmark-mask.svg") center / min(92vw, 1580px) auto no-repeat,
      rgb(5 7 11 / 0.78);
    opacity: 0.92;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-height: 60px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .site-nav {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    left: 12px;
    padding-inline: 16px;
  }

  .brand-link {
    width: 132px;
  }

  .cookie-notice {
    width: min(calc(100% - 32px), 920px);
    gap: 16px;
    padding-top: calc(max(12px, env(safe-area-inset-top)) + var(--nav-height) + 44px);
    padding-bottom: 104px;
  }

  .cookie-notice-page:has(.consent-banner:not([hidden])) .cookie-notice {
    padding-bottom: max(360px, calc(328px + env(safe-area-inset-bottom)));
  }

  .cookie-notice-header {
    padding-bottom: 14px;
  }

  .cookie-notice h1 {
    font-size: clamp(2.55rem, 13vw, 3.6rem);
  }

  .cookie-notice h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .cookie-notice section {
    padding: 22px 20px;
  }

  .cookie-inventory div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hero-scroll {
    min-height: 105dvh;
  }

  .hero-mask-layer {
    -webkit-mask-size: 100% 100%, 92vw auto;
    mask-size: 100% 100%, 92vw auto;
    animation: none;
    transform: none;
  }

  .hero-video {
    animation: none;
    transform: scale(1.08);
  }

  .hero-copy {
    right: 20px;
    bottom: max(34px, env(safe-area-inset-bottom));
    left: 20px;
    max-width: none;
    gap: 18px;
  }

  .hero-copy p {
    max-width: 32ch;
    font-size: 0.98rem;
  }

  .motion-story {
    min-height: 105dvh;
  }

  .motion-stage {
    min-height: 100dvh;
  }

  .motion-video {
    animation: none;
    transform: scale(1.08);
  }

  .motion-copy {
    right: 20px;
    bottom: 48px;
    left: 20px;
  }

  .flow-section,
  .heatmap-section,
  .privacy-section,
  .closing-section,
  .site-footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .flow-section {
    padding-block: 76px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .flow-accordion {
    grid-template-columns: 1fr;
  }

  .flow-panel {
    min-height: 520px;
  }

  .record-devices {
    height: 64%;
  }

  .flow-panel:hover {
    transform: translateY(-3px);
  }

  .heatmap-section,
  .privacy-section {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 100px;
  }

  .heatmap-copy {
    grid-row: 1;
  }

  .heatmap-media img {
    max-height: 62dvh;
  }

  .outdoor-section {
    min-height: 86dvh;
  }

  .outdoor-copy {
    right: 20px;
    bottom: 58px;
    left: 20px;
  }

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

  .privacy-mark {
    width: min(88vw, 420px);
    justify-self: center;
  }

  .closing-section {
    min-height: 82dvh;
    padding-block: 96px;
  }

  .closing-copy p:not(.campaign-line) {
    font-size: 0.98rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    gap: 7px;
  }

  .site-footer .locale-nav {
    justify-self: start;
  }

  .consent-banner {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .consent-banner-actions {
    grid-template-columns: 1fr;
  }

  .consent-banner button {
    width: 100%;
  }

  .consent-dialog {
    width: 100%;
    max-width: none;
    max-height: min(92dvh, 780px);
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  .consent-dialog-form {
    max-height: min(92dvh, 780px);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .consent-dialog-header {
    gap: 14px;
    padding: 28px 20px 24px;
  }

  .consent-dialog h2 {
    font-size: 1.75rem;
  }

  .consent-category {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .consent-switch {
    justify-content: space-between;
  }

  .consent-category-analytics .consent-switch {
    justify-content: flex-end;
  }

  .consent-dialog-actions {
    grid-template-columns: 1fr;
    padding: 18px 20px 10px;
  }

  .consent-dialog-actions button {
    width: 100%;
  }

  .consent-status {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav,
  .consent-banner,
  .consent-dialog {
    background: var(--ink-raised);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .consent-dialog::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  main > section:not(.hero-scroll) {
    animation: none;
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-scroll,
  .motion-story {
    min-height: 100dvh;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-video,
  .hero-stage::before,
  .hero-mask-layer,
  .hero-diagonal,
  .hero-copy,
  .motion-video,
  .signal-horizon {
    animation: none;
  }
}
