/* ==========================================================================
   GlowX — site styles
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --bg: #08070c;
  --bg-raised: #100e16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f6f3f8;
  --text-soft: #d9d4de;
  --muted: #a49fae;
  --faint: #6f6a7a;

  --pink: #eb4597;
  --hot: #ff3d7f;
  --violet: #c25bf5;
  --grad: linear-gradient(115deg, #ff3d7f 0%, #eb4597 45%, #c25bf5 100%);
  --grad-soft: linear-gradient(115deg, rgba(255, 61, 127, 0.16), rgba(194, 91, 245, 0.16));

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-glow: 0 20px 80px -20px rgba(235, 69, 151, 0.45);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 72px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

p {
  margin: 0;
}

::selection {
  background: rgba(235, 69, 151, 0.45);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  color: var(--text);
}

.logo__spark {
  width: 14px;
  height: 14px;
  margin-top: -4px;
  margin-right: 1px;
  color: #f7a3c5;
}

.logo__x {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(235, 69, 151, 0.7);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px -8px rgba(235, 69, 151, 0.85);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--surface-strong);
  border-color: var(--border-strong);
}

.btn--lg {
  height: 56px;
  padding: 0 28px;
  font-size: 17px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-badge {
  display: block;
  border-radius: 12px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.store-badge img {
  height: 52px;
  width: auto;
}

@media (max-width: 420px) {
  .store-badge img {
    height: 46px;
  }
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 24px rgba(235, 69, 151, 0.35));
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.is-scrolled,
.nav.is-open {
  background: rgba(8, 7, 12, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--border);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
}

.nav__toggle .icon-close {
  display: none;
}

.nav.is-open .nav__toggle .icon-close {
  display: block;
}

.nav.is-open .nav__toggle .icon-menu {
  display: none;
}

.nav__mobile {
  display: none;
}

@media (max-width: 880px) {
  .nav__links,
  .nav__actions .btn--ghost {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__mobile {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(8, 7, 12, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 24px;
  }

  .nav.is-open .nav__mobile {
    display: block;
  }

  .nav__mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav__mobile li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
  }

  .nav__mobile .btn {
    margin-top: 20px;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .nav__actions .btn--primary {
    display: none;
  }
}

/* ---------- Background glows ---------- */

.glow-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow-bg::before,
.glow-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.glow-bg::before {
  width: 620px;
  height: 620px;
  left: 50%;
  top: 180px;
  transform: translateX(-80%);
  background: radial-gradient(circle, rgba(255, 61, 127, 0.55), transparent 65%);
}

.glow-bg::after {
  width: 560px;
  height: 560px;
  left: 50%;
  top: 260px;
  transform: translateX(-5%);
  background: radial-gradient(circle, rgba(194, 91, 245, 0.45), transparent 65%);
}

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + 72px) 0 40px;
  text-align: center;
  isolation: isolate;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
}

.pill__dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
}

.pill__dot svg {
  width: 12px;
  height: 12px;
  color: #fff;
}

.hero h1 {
  margin-top: 24px;
  max-width: 880px;
  font-size: clamp(42px, 7.4vw, 84px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero__lead {
  margin-top: 22px;
  max-width: 620px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
}

.hero .store-badges {
  margin-top: 34px;
  justify-content: center;
}

.hero__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-size: 14px;
  color: var(--faint);
}

.hero__meta a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
}

.hero__meta a:hover {
  color: var(--text);
}

/* ---------- Phone mockup ---------- */

.showcase {
  position: relative;
  z-index: 1;
  margin: 64px auto 0;
  width: 100%;
  max-width: 820px;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 620;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(160deg, #2b2733, #121016 40%, #1d1a23);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 40px 120px -30px rgba(235, 69, 151, 0.55),
    0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbf4fb 0%, #f6ecfb 100%);
  color: #1b1525;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.phone__island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 27px;
  border-radius: 20px;
  background: #000;
  z-index: 3;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px 0;
  height: 44px;
  font-size: 13px;
  font-weight: 700;
}

.phone__status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.phone__status-icons span {
  display: block;
  width: 16px;
  height: 9px;
  border-radius: 3px;
  border: 1.5px solid #1b1525;
}

.phone__status-icons span:first-child {
  width: 14px;
  border: 0;
  background: linear-gradient(90deg, #1b1525 0 3px, transparent 3px 5px, #1b1525 5px 8px, transparent 8px 10px, #1b1525 10px 14px);
  height: 8px;
  border-radius: 1px;
}

.phone__appbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 10px;
}

.phone__appbar .logo {
  font-size: 19px;
  color: #1b1525;
}

.phone__appbar .logo__spark {
  width: 10px;
  height: 10px;
  margin-top: -3px;
}

.phone__photo {
  position: relative;
  margin: 0 14px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1 / 1.02;
  background: #efe3f3;
}

.phone__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;
  top: -70px;
  background: linear-gradient(180deg, transparent, rgba(255, 61, 127, 0.28) 85%, rgba(255, 61, 127, 0.9) 98%, transparent);
  animation: scan 3.6s cubic-bezier(0.55, 0, 0.45, 1) infinite;
}

.scan-frame {
  position: absolute;
  inset: 12px;
  pointer-events: none;
}

.scan-frame i {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #fff;
  border-style: solid;
  border-width: 0;
  opacity: 0.9;
}

.scan-frame i:nth-child(1) { top: 0; left: 0; border-top-width: 2.5px; border-left-width: 2.5px; border-top-left-radius: 10px; }
.scan-frame i:nth-child(2) { top: 0; right: 0; border-top-width: 2.5px; border-right-width: 2.5px; border-top-right-radius: 10px; }
.scan-frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2.5px; border-left-width: 2.5px; border-bottom-left-radius: 10px; }
.scan-frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2.5px; border-right-width: 2.5px; border-bottom-right-radius: 10px; }

.scan-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 61, 127, 0.55), 0 0 12px rgba(255, 61, 127, 0.9);
  animation: blip 3.6s ease-in-out infinite;
}

@keyframes scan {
  0% { top: -70px; }
  55% { top: 100%; }
  100% { top: 100%; }
}

@keyframes blip {
  0%, 18% { transform: scale(0); opacity: 0; }
  30%, 80% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

.phone__results {
  padding: 14px 14px 0;
  display: grid;
  gap: 8px;
}

.score-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(115deg, #ff3d7f, #e04ab8 55%, #b65cf2);
  color: #fff;
}

.score-card small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}

.score-card strong {
  font-size: 15px;
  font-weight: 800;
}

.score-card b {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.metric {
  padding: 8px 9px 9px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(27, 21, 37, 0.04), 0 4px 14px -6px rgba(118, 54, 140, 0.18);
}

.metric span {
  display: block;
  font-size: 10px;
  color: #847a91;
  font-weight: 600;
}

.metric b {
  display: block;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.metric i {
  display: block;
  height: 4px;
  margin-top: 4px;
  border-radius: 4px;
  background: #f0e6f3;
  overflow: hidden;
}

.metric i::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--v, 80%);
  border-radius: inherit;
  background: linear-gradient(90deg, #6ee7a8, #2bd38a);
}

.guide-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(27, 21, 37, 0.04), 0 4px 14px -6px rgba(118, 54, 140, 0.18);
}

.guide-row__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(115deg, #ff3d7f, #b65cf2);
  color: #fff;
}

.guide-row__icon svg {
  width: 12px;
  height: 12px;
}

.guide-row b {
  display: block;
  font-size: 12px;
}

.guide-row small {
  display: block;
  font-size: 10.5px;
  color: #847a91;
}

/* Floating chips around the phone */

.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(22, 19, 30, 0.72);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  text-align: left;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}

.chip__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-soft);
  border: 1px solid rgba(235, 69, 151, 0.35);
  color: #ff8fc0;
  flex: none;
}

.chip__icon svg {
  width: 18px;
  height: 18px;
}

.chip small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

.chip strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.chip--1 { left: 0; top: 16%; }
.chip--2 { left: 4%; top: 58%; animation-delay: -2s; }
.chip--3 { right: 0; top: 26%; animation-delay: -4s; }
.chip--4 { right: 5%; top: 68%; animation-delay: -1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 760px) {
  .chip--2,
  .chip--4 {
    display: none;
  }

  .chip--1 { left: 0; top: 10%; }
  .chip--3 { right: 0; top: 40%; }

  .chip {
    padding: 8px 12px 8px 8px;
  }

  .chip__icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 420px) {
  .phone {
    width: 270px;
  }

  .chip--1 { left: -4px; }
  .chip--3 { right: -4px; }
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  margin-top: 72px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee 38s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-size: 20px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.marquee__track span::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.4 5.6 11.4 12 12-6.4.6-11.4 5.6-12 12-.6-6.4-5.6-11.4-12-12C6.4 11.4 11.4 6.4 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.4 5.6 11.4 12 12-6.4.6-11.4 5.6-12 12-.6-6.4-5.6-11.4-12-12C6.4 11.4 11.4 6.4 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
}

.section__head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__head h2,
.split h2,
.cta h2 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.04em;
}

.section__head p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature:hover {
  border-color: rgba(235, 69, 151, 0.4);
  transform: translateY(-3px);
}

.feature::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(400px circle at 0% 0%, rgba(235, 69, 151, 0.12), transparent 50%);
  pointer-events: none;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(235, 69, 151, 0.8);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin-top: 22px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.feature p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Gallery */

.gallery {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding: 8px var(--gutter) 28px;
  margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.gallery figure {
  flex: 0 0 auto;
  width: clamp(220px, 24vw, 260px);
  margin: 0;
  scroll-snap-align: start;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1290 / 2796;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: #f7eef9;
  box-shadow: 0 30px 60px -30px rgba(235, 69, 151, 0.45);
  transition: transform 0.35s ease;
}

.gallery figure:hover img {
  transform: translateY(-6px);
}

.gallery figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

@media (min-width: 1240px) {
  .gallery {
    justify-content: center;
    overflow: visible;
  }

  .gallery figure {
    width: calc((100% - 5 * 18px) / 6);
  }
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(235, 69, 151, 0.45);
  background: var(--grad-soft);
  font-weight: 800;
  font-size: 17px;
  color: #ff8fc0;
}

.step h3 {
  margin-top: 20px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Split section (plan + privacy) */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.split--reverse .split__media {
  order: -1;
}

.split p.lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
}

.checklist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-soft);
}

.checklist li::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--grad);
}

.checklist strong {
  color: var(--text);
}

.split__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.split__media::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(235, 69, 151, 0.4), transparent 65%);
  filter: blur(50px);
  z-index: 0;
}

.split__media img {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  height: auto;
  border-radius: 34px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

/* Privacy card */

.privacy-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(30, 26, 40, 0.9), rgba(16, 14, 22, 0.9));
  box-shadow: var(--shadow-glow);
}

.privacy-card__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.privacy-card__head strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.privacy-card__head small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

.privacy-card__lock {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 16px 40px -12px rgba(235, 69, 151, 0.9);
}

.privacy-card__lock svg {
  width: 30px;
  height: 30px;
}

.privacy-card ul {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.privacy-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
}

.privacy-card li span:last-child {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(46, 211, 138, 0.12);
  color: #5ce6a6;
  border: 1px solid rgba(46, 211, 138, 0.3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-weight: 700;
  color: #ff8fc0;
  text-decoration: none;
}

.text-link:hover {
  color: #ffb3d4;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* FAQ */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq details[open] {
  border-color: rgba(235, 69, 151, 0.35);
  background: rgba(255, 255, 255, 0.055);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8fc0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat,
    rgba(235, 69, 151, 0.12);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq details a {
  color: #ff8fc0;
}

/* CTA */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 72px);
  border-radius: 36px;
  text-align: center;
  border: 1px solid rgba(235, 69, 151, 0.3);
  background:
    radial-gradient(600px circle at 15% 0%, rgba(255, 61, 127, 0.35), transparent 60%),
    radial-gradient(600px circle at 85% 100%, rgba(194, 91, 245, 0.32), transparent 60%),
    var(--bg-raised);
}

.cta p {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 18px;
  color: var(--text-soft);
}

.cta .store-badges {
  justify-content: center;
  margin-top: 32px;
}

.cta__cancel {
  margin-top: 26px;
  font-size: 15px;
  color: var(--muted);
}

.cta__cancel a {
  color: var(--text);
  font-weight: 700;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: clamp(64px, 9vw, 112px);
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
  background: #060509;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer__brand p {
  margin-top: 14px;
  max-width: 320px;
  color: var(--muted);
  font-size: 15px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer__col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer__col ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer__col a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--faint);
}

/* ---------- Page header (legal / support pages) ---------- */

.page-hero {
  position: relative;
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + 64px) 0 48px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
}

.page-hero .glow-bg::before {
  top: -260px;
  transform: translateX(-60%);
  opacity: 0.4;
}

.page-hero .glow-bg::after {
  top: -300px;
  transform: translateX(10%);
  opacity: 0.35;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.04em;
}

.page-hero p {
  margin-top: 16px;
  max-width: 640px;
  font-size: 18px;
  color: var(--muted);
}

.page-hero .meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

/* ---------- Legal layout ---------- */

.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  padding-top: 56px;
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
}

.toc summary {
  display: none;
}

.toc h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  border-left: 1px solid var(--border);
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.toc a::before {
  content: counter(toc) ". ";
  color: var(--faint);
}

.toc a:hover {
  color: var(--text);
}

.toc a.is-active {
  color: var(--text);
  border-left-color: var(--pink);
}

.prose {
  max-width: 760px;
  color: var(--text-soft);
  font-size: 16.5px;
  line-height: 1.75;
}

.prose > section {
  padding-bottom: 12px;
}

.prose > section + section {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.prose h2 {
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
}

.prose h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 28px 0 10px;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--pink);
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: #ff8fc0;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #ffb3d4;
}

.callout {
  margin: 0 0 32px;
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(235, 69, 151, 0.3);
  background: linear-gradient(135deg, rgba(255, 61, 127, 0.09), rgba(194, 91, 245, 0.07));
}

.callout h2,
.callout h3 {
  margin-top: 0;
  font-size: 18px;
}

.callout ul {
  margin-bottom: 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout--warn {
  border-color: rgba(255, 196, 87, 0.35);
  background: rgba(255, 196, 87, 0.06);
}

.prose .caps {
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.table-wrap {
  margin: 0 0 20px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.prose th,
.prose td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose th {
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.prose td:first-child {
  color: var(--text);
  font-weight: 600;
  min-width: 150px;
}

@media (max-width: 900px) {
  .legal {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .toc {
    position: static;
    max-height: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .toc summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .toc summary::-webkit-details-marker {
    display: none;
  }

  .toc summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.2s ease;
  }

  .toc[open] summary::after {
    transform: rotate(-135deg) translateY(-2px);
  }

  .toc h2 {
    display: none;
  }

  .toc ol {
    margin: 0 18px 16px;
  }
}

/* ---------- Cancel page ---------- */

.cancel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 56px;
}

.cancel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.cancel-card.is-yours {
  border-color: rgba(235, 69, 151, 0.55);
  box-shadow: var(--shadow-glow);
}

.cancel-card__badge {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.cancel-card.is-yours .cancel-card__badge {
  display: block;
}

.cancel-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
}

.cancel-card__icon svg {
  width: 26px;
  height: 26px;
}

.cancel-card h2 {
  margin-top: 20px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.cancel-card > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.cancel-steps {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: cs;
  display: grid;
  gap: 12px;
}

.cancel-steps li {
  counter-increment: cs;
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.5;
}

.cancel-steps li::before {
  content: counter(cs);
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(235, 69, 151, 0.14);
  color: #ff8fc0;
  font-size: 13px;
  font-weight: 800;
}

.cancel-steps strong {
  color: var(--text);
}

.cancel-card .btn {
  margin-top: auto;
  width: 100%;
}

.email-template {
  margin: 18px 0 24px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  overflow: hidden;
}

.email-template dl {
  margin: 0;
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

.email-template dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.email-template dd {
  margin: 2px 0 0;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.email-template button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.email-template button:hover {
  background: var(--surface-strong);
  color: #fff;
}

.email-template button svg {
  width: 15px;
  height: 15px;
}

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.note {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.note h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.note p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

.note a {
  color: #ff8fc0;
}

@media (max-width: 960px) {
  .cancel-grid,
  .notes {
    grid-template-columns: 1fr;
  }
}

.cancel-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: 56px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 32px;
  border: 1px solid rgba(235, 69, 151, 0.35);
  background:
    radial-gradient(520px circle at 0% 0%, rgba(255, 61, 127, 0.16), transparent 60%),
    radial-gradient(520px circle at 100% 100%, rgba(194, 91, 245, 0.14), transparent 60%),
    var(--bg-raised);
  box-shadow: var(--shadow-glow);
}

.cancel-main h2 {
  margin-top: 20px;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.03em;
}

.cancel-main .cancel-steps {
  margin: 24px 0;
  gap: 16px;
}

.cancel-main .cancel-steps li {
  font-size: 16.5px;
}

.cancel-main .cancel-steps a {
  color: #ff8fc0;
}

.cancel-main__note {
  color: var(--muted);
  font-size: 15px;
}

.cancel-main .email-template {
  margin: 0 0 16px;
  font-size: 15px;
}

.cancel-main__cta {
  width: 100%;
}

.section-sub {
  max-width: 640px;
  margin: 72px 0 0;
}

.section-sub h2 {
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.025em;
}

.section-sub p {
  margin-top: 10px;
  color: var(--muted);
}

.cancel-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  padding-top: 24px;
}

@media (max-width: 860px) {
  .cancel-main,
  .cancel-grid--2 {
    grid-template-columns: 1fr;
  }
}

.confirm-panel {
  padding-top: 56px;
}

.confirm-card {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 28px;
  text-align: center;
  border: 1px solid rgba(235, 69, 151, 0.5);
  background: var(--bg-raised);
  box-shadow: var(--shadow-glow);
}

.confirm-card h2 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.03em;
}

.confirm-card p {
  margin: 12px auto 24px;
  max-width: 460px;
  color: var(--text-soft);
}

.confirm-card .form-status {
  margin: 16px 0 0;
}

/* ---------- Forms (contact) ---------- */

.contact {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-top: 56px;
}

.contact__info {
  display: grid;
  gap: 12px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.info-card:hover {
  border-color: rgba(235, 69, 151, 0.4);
  background: var(--surface-strong);
}

.info-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(235, 69, 151, 0.35);
  color: #ff8fc0;
}

.info-card__icon svg {
  width: 20px;
  height: 20px;
}

.info-card strong {
  display: block;
  font-size: 15.5px;
}

.info-card small {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.contact__company {
  margin-top: 12px;
  padding-left: 4px;
  font-size: 14px;
  color: var(--faint);
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a49fae' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat,
    rgba(0, 0, 0, 0.3);
}

.field select option {
  background: var(--bg-raised);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(235, 69, 151, 0.18);
}

.field--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card .btn {
  justify-self: start;
}

.form-status {
  min-height: 1.5em;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: #5ce6a6;
}

.form-status[data-state="error"] {
  color: #ff8a9a;
}

.form-fineprint {
  font-size: 13px;
  color: var(--faint);
}

.form-fineprint a {
  color: var(--muted);
}

@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }

  .contact__info {
    order: 2;
  }
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .form-card .btn {
    width: 100%;
  }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

.notfound h1 {
  font-size: clamp(80px, 18vw, 180px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.notfound p {
  margin: 12px auto 32px;
  max-width: 420px;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Entrance animations ---------- */

.rise {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@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 .reveal {
    opacity: 1;
    transform: none;
  }

  .scan-line {
    display: none;
  }

  .scan-dot {
    opacity: 1;
    transform: none;
  }
}
