/* ==========================================================================
   Tap-a-tale — tapatale.app
   ========================================================================== */

@font-face {
  font-family: 'Baloo 2';
  src: url('../fonts/baloo2-latin-var.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand — sampled from the app icon and res/values/colors.xml */
  --teal-900: #052f41;
  --teal-800: #07506a;
  --teal-700: #0a6a85;
  --green: #059669;
  --green-700: #047857;
  --green-100: #d1fae5;
  --amber: #d97706;
  --amber-100: #fef3c7;
  --orange: #ea580c;
  --gold: #fbbf24;
  --blue: #2563eb;
  --blue-700: #1d4ed8;
  --blue-100: #dbeafe;
  --navy: #020617;

  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --surface: #ffffff;

  --font-display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);
  --shadow: 0 4px 12px rgba(15, 23, 42, .07), 0 12px 28px rgba(15, 23, 42, .07);
  --shadow-lg: 0 18px 50px rgba(5, 47, 65, .18);

  --pad: clamp(1.15rem, 5vw, 2rem);
  --wrap: 1120px;
  --header-h: 62px;
}

/* --------------------------------------------------------------- base ---- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-700); text-decoration-thickness: .08em; text-underline-offset: .2em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 8.5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 6.2vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 4.4vw, 1.45rem); }

p { margin: 0 0 1rem; text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(3.5rem, 11vw, 6.5rem); }

.section-head { max-width: 46ch; margin-bottom: clamp(2rem, 6vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head > p:not(.eyebrow) { color: var(--muted); font-size: 1.075rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: .85rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-head.center .eyebrow::before { display: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { transform: translate(-50%, 0); }

/* ------------------------------------------------------------- buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.5rem;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(5, 150, 105, .35);
}

.btn-primary:hover { box-shadow: 0 12px 30px rgba(5, 150, 105, .45); }

.btn-ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .2); }

.btn-amber {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(217, 119, 6, .35);
}

.btn-block { width: 100%; }

/* Google Play badge-style button */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.35rem .7rem 1.15rem;
  min-height: 56px;
  border-radius: 14px;
  background: #0d1220;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 10px 26px rgba(2, 6, 23, .28);
}

.btn-store:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(2, 6, 23, .34); }
.btn-store:active { transform: translateY(0); }
.btn-store svg { flex: none; width: 26px; height: 26px; }

.btn-store .btn-store-text { display: block; }

.btn-store .btn-store-text > span {
  display: block;
  font-size: .66rem;
  line-height: 1.25;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .78;
}

.btn-store strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
}

.btn-store.on-light { background: #0f172a; border-color: transparent; }

/* -------------------------------------------------------------- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 47, 65, .82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  margin-right: auto;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.nav { display: none; gap: 1.6rem; }

.nav a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 550;
  transition: color .15s ease;
}

.nav a:hover { color: #fff; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1.05rem;
  min-height: 40px;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease;
}

.header-cta:hover { background: #035f45; transform: translateY(-1px); }
.header-cta svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- hero ---- */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.75rem, 10vw, 5.5rem) clamp(3rem, 10vw, 6rem);
  background:
    radial-gradient(120% 85% at 78% 0%, rgba(10, 106, 133, .95) 0%, transparent 62%),
    radial-gradient(95% 70% at 8% 100%, rgba(5, 150, 105, .42) 0%, transparent 60%),
    linear-gradient(168deg, #073d54 0%, var(--teal-900) 52%, #041f2d 100%);
  color: #fff;
  overflow: hidden;
}

/* soft golden glow, echoing the music notes in the app icon */
.hero::after {
  content: '';
  position: absolute;
  inset: auto -25% -45% auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(251, 191, 36, .16) 0%, transparent 68%);
  z-index: -1;
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem 1rem .42rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: .85rem;
  font-weight: 550;
  color: rgba(255, 255, 255, .93);
  margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}

.hero-badge b {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: var(--gold);
  color: #4a2c00;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--gold); }

.hero-lead {
  font-size: clamp(1.05rem, 3.6vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
  max-width: 34ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.35rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .68);
  margin: 0;
}

.hero-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-meta svg { width: 15px; height: 15px; opacity: .85; flex: none; }

.hero-meta .meta-free { color: var(--gold); font-weight: 650; }
.hero-meta .meta-free svg { opacity: 1; }

/* hero visual */
.hero-visual {
  position: relative;
  margin-top: 3rem;
}

.hero-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: rotate(-1.2deg);
}

.hero-photo img { width: 100%; }

.now-playing {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  width: min(310px, 88%);
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem .95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.now-playing .np-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #fff;
}

.now-playing .np-icon svg { width: 20px; height: 20px; }

.now-playing .np-text { min-width: 0; }

.now-playing .np-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.now-playing .np-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-bars {
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.np-bars i {
  width: 3px;
  border-radius: 2px;
  background: var(--green);
  animation: eq 1.1s ease-in-out infinite;
}

.np-bars i:nth-child(1) { height: 40%; animation-delay: -.9s; }
.np-bars i:nth-child(2) { height: 85%; animation-delay: -.5s; }
.np-bars i:nth-child(3) { height: 60%; animation-delay: -.2s; }
.np-bars i:nth-child(4) { height: 95%; animation-delay: -.7s; }

@keyframes eq {
  0%, 100% { transform: scaleY(.4); }
  50% { transform: scaleY(1); }
}

/* --------------------------------------------------------------- video ---- */

.video-section {
  background:
    radial-gradient(90% 70% at 20% 0%, rgba(10, 106, 133, .5) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #04121d 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.video-section .section-head > p:not(.eyebrow) { color: rgba(255, 255, 255, .72); }
.video-section .eyebrow { color: var(--gold); }
.video-section h2 { color: #fff; }

.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--teal-900);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .1);
  aspect-ratio: 16 / 9;
}

.video-frame img,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* clickable facade — no YouTube request until the visitor opts in */
.video-trigger {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .9rem;
  width: 100%;
  padding: 1rem;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.video-trigger[disabled] { cursor: default; }

.play-btn {
  position: relative;
  width: clamp(62px, 15vw, 84px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 10px 30px rgba(234, 88, 12, .5);
  transition: transform .22s ease, box-shadow .22s ease;
}

.play-btn svg {
  width: 42%;
  height: 42%;
  fill: #fff;
  margin-left: 8%;
}

.video-trigger:hover:not([disabled]) .play-btn,
.video-trigger:focus-visible .play-btn {
  transform: scale(1.09);
  box-shadow: 0 14px 40px rgba(234, 88, 12, .68);
}

/* pulsing halo */
.play-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(251, 191, 36, .55);
  animation: halo 2.6s ease-out infinite;
}

@keyframes halo {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

.video-caption {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  font-weight: 650;
  max-width: 34ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}

.video-soon {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .32rem .85rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, .16);
  border: 1px solid rgba(251, 191, 36, .45);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-note {
  margin: 1.15rem 0 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
  text-align: center;
}

.video-note a { color: var(--gold); }

/* ----------------------------------------------------------- how it works - */

.steps {
  display: grid;
  gap: 1.1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem 1.4rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 1.4rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-700));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(5, 150, 105, .35);
}

.step h3 { margin-top: .7rem; margin-bottom: .35rem; }
.step p { color: var(--muted); margin-bottom: 0; font-size: .99rem; }

/* --------------------------------------------------------------- modes ---- */

.modes { display: grid; gap: 1.1rem; }

.mode {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.mode:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.mode-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 1rem;
  color: #fff;
}

.mode-icon svg { width: 26px; height: 26px; }

.mode-play .mode-icon { background: linear-gradient(135deg, #3b82f6, var(--blue)); }
.mode-dialogue .mode-icon { background: linear-gradient(135deg, #34d399, var(--green)); }
.mode-guess .mode-icon { background: linear-gradient(135deg, #fbbf24, var(--amber)); }

.mode h3 { margin-bottom: .4rem; }
.mode p { color: var(--muted); font-size: .99rem; margin-bottom: 0; }

.chip {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}

.mode-play .chip { background: var(--blue-100); color: var(--blue-700); }
.mode-dialogue .chip { background: var(--green-100); color: var(--green-700); }
.mode-guess .chip { background: var(--amber-100); color: #92400e; }

/* ---------------------------------------------------------- screenshots ---- */

.band-light { background: var(--surface); border-block: 1px solid var(--line); }

.shots {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: .5rem var(--pad) 1.5rem;
  margin-inline: calc(var(--pad) * -1);
  scrollbar-width: none;
}

.shots::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 auto;
  width: min(232px, 62vw);
  scroll-snap-align: center;
  text-align: center;
}

.shot-frame {
  border-radius: 24px;
  overflow: hidden;
  background: #0f172a;
  padding: 6px;
  box-shadow: var(--shadow);
}

.shot-frame img { border-radius: 19px; width: 100%; }

.shot p {
  margin: .85rem 0 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
}

.shots-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
}

.shots-hint svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------ features ---- */

.features { display: grid; gap: 1.5rem 1.75rem; }

.feature { display: flex; gap: 1rem; align-items: flex-start; }

.feature-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
}

.feature-icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.feature p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

/* -------------------------------------------------------------- needed ---- */

.needed-section {
  background: linear-gradient(165deg, #ecfdf5 0%, var(--bg) 65%);
  border-top: 1px solid var(--line);
}

.needed-grid { display: grid; gap: clamp(2rem, 6vw, 3rem); align-items: center; }

.needed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }

.needed-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.needed-list svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: .15rem; }
.needed-list strong { display: block; font-weight: 650; }
.needed-list span { color: var(--muted); font-size: .93rem; }

.needed-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ----------------------------------------------------------------- faq ---- */

.faq { display: grid; gap: .75rem; max-width: 780px; margin-inline: auto; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  min-height: 56px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  margin-left: auto;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}

.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details[open] summary { background: #f0fdf4; }

.faq .faq-body { padding: 0 1.25rem 1.15rem; }
.faq .faq-body p { color: var(--muted); margin-bottom: .6rem; font-size: .99rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ final cta ---- */

.cta-section {
  background:
    radial-gradient(85% 70% at 15% 10%, rgba(10, 106, 133, .85) 0%, transparent 62%),
    linear-gradient(150deg, #073d54 0%, var(--teal-900) 58%, #041f2d 100%);
  color: #fff;
  text-align: center;
}

.cta-section h2 { color: #fff; }

.cta-section p {
  color: rgba(255, 255, 255, .8);
  max-width: 46ch;
  margin-inline: auto;
  font-size: 1.075rem;
}

.cta-logo {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ---------------------------------------------------------- error page ---- */

.error-page {
  display: grid;
  place-content: center;
  min-height: calc(100svh - var(--header-h));
}

.error-page .error-code {
  font-family: var(--font-display);
  font-size: clamp(3rem, 14vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  margin: 0 0 .25rem;
}

.error-page h1 { color: #fff; font-size: clamp(1.75rem, 6.2vw, 2.7rem); }

.site-footer a { color: rgba(255, 255, 255, .72); }

/* -------------------------------------------------------------- footer ---- */

.site-footer {
  background: #041a26;
  color: rgba(255, 255, 255, .62);
  padding-block: clamp(2.5rem, 7vw, 3.5rem);
  font-size: .92rem;
}

.footer-grid { display: grid; gap: 2rem; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: .7rem;
}

.footer-brand img { width: 38px; height: 38px; border-radius: 10px; }

.footer-about { max-width: 38ch; margin-bottom: 0; }

.footer-col h3 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: .9rem;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }

.footer-links a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color .15s ease;
}

.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .86rem;
}

.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------ responsive -- */

@media (min-width: 600px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .modes { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .shot { width: 236px; }
}

@media (min-width: 900px) {
  :root { --header-h: 72px; }

  .nav { display: flex; }

  .hero { padding-block: clamp(4rem, 7vw, 6.5rem); }

  .hero .wrap {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 3.5rem;
    align-items: center;
  }

  .hero-visual { margin-top: 0; }
  .hero-photo { transform: rotate(-2deg); }
  .now-playing { left: auto; right: -18px; bottom: -30px; transform: none; width: 300px; }

  .needed-grid { grid-template-columns: 1.05fr .95fr; }
  .needed-photo { order: 2; }

  .video-frame { max-width: 960px; margin-inline: auto; }
  .shots { justify-content: center; }
}

@media (min-width: 1100px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------- motion/print -- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
