/* =========================================================
   UltraAdFilm
   Design language: airy light theme, Poppins Light, circular
   media masks, navy colour blocks and a single orange accent.
   Shape rule: cards 28px, small panels 20px, inputs 14px,
   every button and badge is a full pill.
   ========================================================= */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #003858;
  --navy-deep: #002c46;
  --blue: #007dc5;          /* display headings, decorative */
  --blue-strong: #0071b8;   /* small text + buttons (AA on white) */
  --blue-soft: #8fd0f7;     /* accents on navy */
  --pale: #d9e9f1;
  --sky: #ceedff;
  --mist: #f5f5f5;
  --white: #fbfdff;
  --orange: #ff8a00;
  --text: #003858;
  --text-soft: #3f6680;
  --line: rgba(0, 56, 88, 0.12);
  --error: #b42318;

  --r-card: 28px;
  --r-panel: 20px;
  --r-input: 14px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
  --container: 1120px;
  --container-wide: 1240px;

  /* z-index scale */
  --z-header: 50;
  --z-menu: 49;
  --z-deco: 2;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  interpolate-size: allow-keywords;
}
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 600; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.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-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 18px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 500; font-size: 14px;
  transform: translateY(-160%); transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 2px solid var(--blue-strong); outline-offset: 3px; border-radius: 6px; }
.contact__intro :focus-visible, .footer :focus-visible { outline-color: var(--white); }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 48px, var(--container-wide)); }
.section { padding-block: clamp(64px, 9vw, 128px); }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.75rem, 6.4vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin-bottom: 0.32em;
  text-wrap: balance;   /* avoids a lone last word, e.g. "Made for every / app" */
}
.display--light { color: var(--white); }
.lede {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--navy);
  max-width: 34rem;
}
.lede + .lede { margin-top: 0.9em; }
.lede--light { color: rgba(251, 253, 255, 0.84); }
.inline-link { color: var(--blue-strong); border-bottom: 1px solid currentColor; transition: color 0.2s; }
.inline-link:hover { color: var(--navy); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em; line-height: 1;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--sm { height: 42px; padding: 0 22px; font-size: 14px; }
/* flat: no glow / drop shadow on buttons */
.btn--primary { background: var(--blue-strong); color: #fff; }
.btn--primary:hover { background: var(--navy); }
.btn--primary:disabled { cursor: progress; opacity: 0.75; }
.btn--outline { border: 1px solid rgba(0, 56, 88, 0.28); color: var(--navy); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--orange); color: var(--navy); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  font-size: 18px; font-weight: 300; color: var(--navy);
}
.text-link span { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link .icon { width: 20px; height: 20px; transition: transform 0.35s var(--ease); }
.text-link:hover .icon { transform: translateX(5px); }
.text-link:hover { color: var(--blue-strong); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(0, 56, 88, 0.05), 0 8px 24px -16px rgba(0, 56, 88, 0.22);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0, 56, 88, 0.07), 0 10px 30px -14px rgba(0, 56, 88, 0.3); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 46px; height: 46px; flex: none; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 21px; font-weight: 300; letter-spacing: -0.01em; color: var(--blue); }
.brand__name b { font-weight: 600; color: var(--navy); }
.brand__tag { margin-top: 5px; font-size: 9.5px; font-weight: 400; letter-spacing: 0.34em; color: var(--blue-strong); }
.brand--light .brand__name { color: var(--blue-soft); }
.brand--light .brand__name b { color: #fff; }
.brand--light .brand__tag { color: rgba(251, 253, 255, 0.62); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; display: block;
  padding: 10px 15px;
  font-size: 15px; color: var(--blue-strong);
  transition: color 0.25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__link[aria-current="true"] { color: var(--navy); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; color: var(--navy); }
.nav__toggle .icon { width: 26px; height: 26px; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; gap: 32px;
  padding: 32px 24px 40px;
  background: var(--white);
  overflow-y: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__list a {
  display: block; padding: 14px 0;
  font-size: 30px; font-weight: 300; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-menu__cta { align-self: flex-start; }
.mobile-menu__mail { color: var(--blue-strong); font-size: 16px; }

/* ---------- Sky gradient (hero > about > services) ---------- */
.sky { background: linear-gradient(180deg, var(--mist) 0%, var(--mist) 18%, #e6f4fd 62%, #d3ecfc 100%); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 28px) 24px 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__stage {
  --d: clamp(300px, min(88vw, 100svh - 250px), 640px);
  position: relative;
  width: var(--d); height: var(--d);
}
.hero__circle {
  position: relative; isolation: isolate;
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  background: #071d4a;
  box-shadow: 0 50px 90px -40px rgba(0, 56, 88, 0.55), 0 18px 40px -24px rgba(0, 80, 140, 0.35);
  animation: hero-in 1.4s var(--ease) both;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(3, 18, 48, 0.42) 0%, rgba(3, 18, 48, 0.12) 46%, rgba(3, 18, 48, 0) 70%),
    linear-gradient(180deg, rgba(0, 125, 197, 0.10), rgba(0, 56, 88, 0.18));
  box-shadow: inset 6px 8px 18px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero__copy {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 11%;
  text-align: center; color: var(--white);
}
.hero__title {
  font-size: calc(var(--d) * 0.09);
  font-weight: 300; line-height: 1.14; letter-spacing: -0.015em;
  margin-bottom: 0.5em;
  text-shadow: 0 2px 24px rgba(0, 20, 60, 0.35);
  animation: fade-up 1.2s var(--ease) 0.25s both;
}
.hero__lead {
  max-width: 24em;
  font-size: max(15px, calc(var(--d) * 0.03));
  line-height: 1.55;
  color: rgba(251, 253, 255, 0.92);
  animation: fade-up 1.2s var(--ease) 0.4s both;
}
.hero__actions {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  margin-top: 36px;
  animation: fade-up 1.2s var(--ease) 0.55s both;
}
.hero__actions .text-link { margin-top: 0; }

.motion-toggle {
  position: absolute; right: 4%; bottom: 4%; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.92); color: var(--navy);
  box-shadow: 0 8px 20px -10px rgba(0, 56, 88, 0.6);
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.motion-toggle .icon { width: 18px; height: 18px; }
.motion-toggle:hover { transform: scale(1.08); background: #fff; }

@keyframes hero-in { from { opacity: 0; transform: scale(0.93); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Orbs (circular media) ---------- */
.orb {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  background: var(--pale);
  aspect-ratio: 1;
  box-shadow: 0 34px 60px -34px rgba(0, 56, 88, 0.55);
}
.orb img, .orb video { width: 100%; height: 100%; object-fit: cover; }
.orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: inset 5px 7px 14px rgba(0, 0, 0, 0.24);
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.about__media { position: relative; height: clamp(400px, 46vw, 600px); }
.about__orb-lg { position: absolute; top: 0; right: 0; width: clamp(250px, 31vw, 400px); }
.about__orb-sm { position: absolute; bottom: 0; left: 14%; width: clamp(150px, 19vw, 250px); background: #e9eef2; }

/* ---------- Services ---------- */
.section-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head--center .lede { max-width: 40rem; }
.formats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px;
  margin-top: clamp(56px, 7vw, 88px);
}
.format { display: flex; flex-direction: column; align-items: center; text-align: center; }
.format__stage {
  position: relative;
  height: 210px; width: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  margin-bottom: 30px;
}
.format__stage::after {
  content: ""; position: absolute; bottom: -14px; left: 50%;
  width: 58%; height: 18px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 56, 88, 0.22), rgba(0, 56, 88, 0));
  transition: transform 0.6s var(--ease), opacity 0.6s;
}
.frame {
  position: relative;
  border-radius: 22px;
  box-shadow:
    0 28px 40px -26px rgba(0, 56, 88, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -12px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.7s var(--ease);
}
.frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0) 60%);
}
.frame::after {
  content: ""; position: absolute; inset: 7px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.frame--vertical { width: 108px; height: 192px; background: linear-gradient(160deg, #5cc0f5 0%, #0a86cf 46%, #00578c 100%); }
.frame--square { width: 156px; height: 156px; border-radius: 26px; background: linear-gradient(150deg, #ffe9ad 0%, #ffc95e 42%, #ff9a1a 100%); }
.frame--square::after { border-radius: 20px; }
.frame--wide { width: 232px; height: 130px; background: linear-gradient(160deg, #ffffff 0%, #f1f6f9 50%, #d6e4ee 100%); }
.frame--wide::after { border-color: rgba(0, 56, 88, 0.08); }
.frame__play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 46px; height: 46px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px -8px rgba(0, 56, 88, 0.6);
}
.frame__play::after {
  content: ""; position: absolute; left: 53%; top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid; border-width: 7.5px 0 7.5px 12px;
  border-color: transparent transparent transparent var(--navy);
}
.frame--wide .frame__play { background: var(--blue-strong); }
.frame--wide .frame__play::after { border-left-color: #fff; }
.format:hover .frame { transform: translateY(-10px) rotate(-2.5deg); }
.format:hover .format__stage::after { transform: translateX(-50%) scale(0.86); opacity: 0.7; }
.format__title { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 300; color: var(--navy); line-height: 1.2; }
.format__ratio { margin: 6px 0 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--blue-strong); }
.format__text { max-width: 29ch; font-size: 15px; color: var(--text-soft); }

/* ---------- Packages ---------- */
/* continues the sky gradient that ends the services section */
.packages {
  position: relative;
  background: linear-gradient(180deg, #d3ecfc 0%, #e6f3fc 30%, #f1f8fd 100%);
}
.plans {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  margin-top: clamp(56px, 6vw, 80px);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 38px 28px 28px;
  border-radius: var(--r-card);
  background: #fff;
  border: 1px solid rgba(0, 56, 88, 0.1);
  box-shadow: 0 26px 50px -36px rgba(0, 56, 88, 0.4);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 38px 64px -34px rgba(0, 56, 88, 0.5); }
.plan__badge {
  position: absolute; top: -13px; left: 28px;
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em; line-height: 1;
}
.plan__badge--orange { background: var(--orange); color: var(--navy); }
.plan__badge--blue { background: var(--blue-strong); color: #fff; }
.plan__name { font-size: 24px; font-weight: 400; color: var(--blue-strong); margin-bottom: 8px; }
.plan__desc { min-height: 4.65em; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); }
.plan__price {
  display: flex; align-items: flex-start;
  margin: 26px 0 14px;
  font-size: clamp(2.75rem, 3.7vw, 3.5rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em;
  color: var(--navy);
}
.plan__cur { margin: 0.16em 0.1em 0 0; font-size: 0.42em; font-weight: 400; letter-spacing: 0; }
.plan__price--text { font-size: clamp(2.25rem, 3vw, 2.75rem); letter-spacing: -0.02em; }
.plan__count { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; font-size: 14px; color: var(--text-soft); }
.plan__count strong { font-size: 17px; font-weight: 500; color: var(--navy); }
.plan__save {
  align-self: flex-start;
  margin: -16px 0 28px;
  padding: 6px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; line-height: 1.2;
  background: var(--blue-strong); color: #fff;   /* solid, not tinted */
}
.plan__cta { width: 100%; margin-top: auto; }

.plan--featured { background: var(--navy); border-color: var(--navy); box-shadow: 0 44px 80px -36px rgba(0, 56, 88, 0.85); }
.plan--featured .plan__name { color: var(--blue-soft); }
.plan--featured .plan__desc, .plan--featured .plan__count { color: rgba(251, 253, 255, 0.76); }
.plan--featured .plan__price, .plan--featured .plan__count strong { color: #fff; }
.plan--featured .plan__save { background: var(--orange); color: var(--navy); }
.plan--value { border-color: rgba(0, 113, 184, 0.45); }
.plan--value:hover { border-color: var(--blue-strong); }

@media (min-width: 1101px) {
  .plan--featured { transform: translateY(-14px); }
  .plan--featured:hover { transform: translateY(-20px); }
}

.included {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: center; gap: 32px;
  margin-top: 48px; padding: 34px 40px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 56, 88, 0.08);
}
.included__title { font-size: 24px; font-weight: 300; line-height: 1.3; color: var(--navy); }
.included__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.included__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--navy); }
.included__list .icon {
  width: 28px; height: 28px; padding: 6px; border-radius: 50%;
  background: rgba(0, 125, 197, 0.1); color: var(--blue-strong);
}

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, #f1f8fd 0%, var(--white) 100%); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 48px); }
.faq__orb { width: clamp(170px, 18vw, 240px); margin-top: 44px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 400; line-height: 1.4;
  color: var(--navy);
  cursor: pointer; list-style: none;
  transition: color 0.2s;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--blue-strong); }
.qa__icon {
  position: relative; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(0, 56, 88, 0.22);
  transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s;
}
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 13px; height: 1.5px; border-radius: 1px;
  background: var(--navy); transform: translate(-50%, -50%);
  transition: background-color 0.3s;
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: #fff; }
.qa__a p { max-width: 60ch; padding-bottom: 28px; font-size: 16px; line-height: 1.75; color: var(--text-soft); }

@supports selector(::details-content) {
  .qa::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
  }
  .qa[open]::details-content { block-size: auto; }
}

/* ---------- Apps ---------- */
.reach {
  position: relative;
  padding-block: clamp(72px, 8vw, 112px) clamp(120px, 13vw, 180px);
  background: var(--white);
}
.reach__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.reach__head .lede { max-width: 42rem; }
/* name tiles (small-panel radius); static, not interactive */
.apps {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px;
  max-width: 860px;
  margin-top: clamp(36px, 4vw, 52px);
}
.app {
  display: flex; align-items: center; justify-content: center;
  min-width: 150px; height: 64px; padding: 0 28px;
  border-radius: var(--r-panel);
  background: #fff;
  border: 1px solid rgba(0, 56, 88, 0.08);
  box-shadow: 0 22px 36px -26px rgba(0, 56, 88, 0.45);
  font-size: 17px; font-weight: 400; letter-spacing: -0.005em; color: var(--navy);
}

/* ---------- Contact (navy) ---------- */
.contact {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(96px, 11vw, 150px);
  box-shadow: 2px 2px 6px rgba(0, 56, 88, 0.55);
}
.contact__deco { position: absolute; inset: 0; pointer-events: none; }
.contact__orb {
  --s: clamp(140px, 16vw, 220px);
  position: absolute; width: var(--s); top: calc(var(--s) * -0.45); right: 9%;
  background: var(--orange);
  box-shadow: inset 1px 1px 5px rgba(102, 57, 4, 0.42), 0 30px 50px -30px rgba(0, 0, 0, 0.6);
}
.contact__dot {
  position: absolute; top: clamp(70px, 9vw, 120px); right: 5.5%;
  width: clamp(34px, 3.6vw, 52px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffbe5c 0%, var(--orange) 55%, #e06e00 100%);
  box-shadow: inset 1px 1px 5px rgba(102, 57, 4, 0.42);
}
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.contact__intro .display { font-size: clamp(2.6rem, 4.7vw, 4rem); }
.mailcard {
  margin-top: 40px; padding: 24px 26px;
  border-radius: var(--r-panel);
  border: 1px solid rgba(251, 253, 255, 0.16);
  background: rgba(251, 253, 255, 0.04);
}
.mailcard__label { display: block; margin-bottom: 8px; font-size: 13px; color: rgba(251, 253, 255, 0.66); }
.mailcard__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.mailcard__link {
  font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 300; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s, color 0.2s;
  overflow-wrap: anywhere;
}
.mailcard__link:hover { color: var(--blue-soft); border-color: var(--blue-soft); }
.mailcard__copy {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(251, 253, 255, 0.28);
  font-size: 13px; font-weight: 500; color: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}
.mailcard__copy .icon { width: 16px; height: 16px; }
.mailcard__copy:hover { background: rgba(251, 253, 255, 0.1); border-color: rgba(251, 253, 255, 0.5); }

.form {
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--r-card);
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.65);
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field__label { font-size: 14px; font-weight: 500; color: var(--navy); }
.field__opt { font-weight: 300; color: var(--text-soft); }
.field__input {
  width: 100%; height: 52px; padding: 0 16px;
  border-radius: var(--r-input);
  border: 1px solid #7f97a8;
  background: #fff;
  font: inherit; font-size: 16px; font-weight: 300; color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field__input:hover { border-color: var(--navy); }
.field__input:focus { outline: none; border-color: var(--blue-strong); box-shadow: 0 0 0 4px rgba(0, 113, 184, 0.16); }
.field__input--area { height: auto; min-height: 140px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.field__select { position: relative; }
.field__select::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg); pointer-events: none;
}
.field__select .field__input { padding-right: 44px; cursor: pointer; }
.field__hint { font-size: 13px; color: var(--text-soft); }
.field__error { font-size: 13px; font-weight: 400; color: var(--error); }
.field__error:empty { display: none; }
.field.is-invalid .field__input { border-color: var(--error); }
.field.is-invalid .field__input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.14); }
.field.is-flash .field__input { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 0, 0); } 20% { box-shadow: 0 0 0 5px rgba(255, 138, 0, 0.45); border-color: var(--orange); } }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 4px; }
.form__status { flex: 1 1 260px; font-size: 14px; line-height: 1.55; color: var(--navy); }
.form__status a { color: var(--blue-strong); border-bottom: 1px solid currentColor; }
.form__status.is-success { color: #11643a; font-weight: 400; }
.form__status.is-error { color: var(--error); }
/* spam honeypot: kept out of sight and out of the tab order */
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.6; color: var(--text-soft);
}
.form__privacy a { color: var(--blue-strong); border-bottom: 1px solid currentColor; }
.form__privacy a:hover { color: var(--navy); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(251, 253, 255, 0.78);
  padding: 72px 0 32px;
}
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__line { margin-top: 18px; font-size: 14px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__col a { font-size: 14px; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__title { margin-bottom: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(251, 253, 255, 0.12);
  font-size: 13px;
}
.footer__top { transition: color 0.2s; }
.footer__top:hover { color: #fff; }
.footer__legal {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 18px;
  font-size: 12px; line-height: 1.6; color: rgba(251, 253, 255, 0.58);
}

/* ---------- Reveal on scroll ---------- */
/* uses the independent `translate` property so hover `transform`s still work */
.js [data-reveal] {
  opacity: 0; translate: 0 30px;
  transition: opacity 1s var(--ease) var(--delay, 0ms), translate 1s var(--ease) var(--delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; translate: none; }
.js .plan[data-reveal] {
  transition: opacity 1s var(--ease) var(--delay, 0ms), translate 1s var(--ease) var(--delay, 0ms),
              transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}

/* ---------- Scroll-linked motion (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__circle {
      animation: hero-in 1.4s var(--ease) both, hero-zoom linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 100vh;
    }
    .hero__copy {
      animation: hero-copy-out linear both;
      animation-timeline: scroll(root);
      animation-range: 0 55vh;
    }
    [data-parallax="slow"] { animation: px-slow linear both; animation-timeline: view(); }
    [data-parallax="fast"] { animation: px-fast linear both; animation-timeline: view(); }
  }
}
@keyframes hero-zoom { to { scale: 1.14; } }
@keyframes hero-copy-out { to { opacity: 0; translate: 0 -28px; } }
@keyframes px-slow { from { translate: 0 36px; } to { translate: 0 -36px; } }
@keyframes px-fast { from { translate: 0 80px; } to { translate: 0 -80px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .plan__desc { min-height: 0; }
  .included { grid-template-columns: 1fr; gap: 22px; }
  .included__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav__list, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }

  .about__grid { grid-template-columns: 1fr; gap: 24px; }
  .about__media { height: clamp(340px, 78vw, 520px); max-width: 560px; width: 100%; margin-inline: auto; }
  .about__orb-lg { width: min(64vw, 380px); }
  .about__orb-sm { width: min(38vw, 230px); left: 4%; }

  .contact__orb { right: 6%; }

  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__intro { position: static; }
  .faq__orb { display: none; }

  .contact__grid { grid-template-columns: 1fr; gap: 48px; }

  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .formats { grid-template-columns: 1fr; gap: 64px; }
  .format__stage { height: auto; min-height: 150px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container, .container--wide { width: min(100% - 40px, var(--container)); }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 19px; }
  .hero { padding-inline: 20px; }
  .hero__stage { --d: clamp(290px, min(90vw, 100svh - 270px), 440px); }
  .hero__title { font-size: calc(var(--d) * 0.1); }
  .hero__lead { font-size: 14.5px; max-width: 20em; }
  .hero__actions { flex-direction: column; gap: 18px; margin-top: 30px; }
  .motion-toggle { right: 0; bottom: 0; width: 40px; height: 40px; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .included { padding: 28px 24px; }
  .included__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form__submit { width: 100%; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid .footer__col:last-child { grid-column: 1 / -1; }
  /* all five apps on one row */
  .apps { gap: 10px; }
  .app { min-width: 0; height: 52px; padding: 0 20px; font-size: 15px; border-radius: 16px; }
}

/* the small orange dot only has room beside the contact grid on wide screens */
@media (max-width: 1240px) {
  .contact__dot { display: none; }
}

/* ---------- Reduced motion ---------- */
@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;
  }
  .js [data-reveal] { opacity: 1; translate: none; }
}
