:root {
  --bg: #fdfbf7;
  --surface: #ffffff;
  --surface-muted: #f3eee6;
  --border: #e6dfd2;
  --text: #0b0b10;
  --text-muted: #6b6b7a;
  --brand: #84a98c;
  --primary: #52796f;
  --primary-dark: #3e5c54;
  --accent: #e0c097;
  --danger: #c56c6c;

  --cat-venue: #d6e2d8;
  --cat-guests: #c8d8ce;
  --cat-official: #e7d8c3;
  --cat-attire: #e0ead9;
  --cat-home: #cfe1d2;
  --cat-other: #ece8e1;

  --tone-1: #90aba5;
  --tone-2: #9cb2bb;
  --tone-3: #bfc1b6;
  --tone-4: #2a5048;
  --tone-5: #17352e;
  --tone-6: #1f3f37;
  --tone-7: #133028;
  --tone-8: #102824;
  --soft-red: #ffe1e1;
  --error-strong: #e05252;
  --warn-600: #d97706;
  --warn-500: #f59e0b;
  --orange-500: #f97316;
  --info-600: #2563eb;
  --violet-500: #8b5cf6;
  --teal-500: #14b8a6;
  --success-500: #22c55e;
  --pink-600: #db2777;
  --red-600: #dc2626;
  --cyan-500: #06b6d4;

  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 26px 56px -36px rgba(23, 53, 46, 0.44);
  --shadow-card: 0 18px 34px -28px rgba(17, 40, 36, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgba(132, 169, 140, 0.35), transparent 33%),
    radial-gradient(circle at 84% 2%, rgba(144, 171, 165, 0.35), transparent 38%),
    radial-gradient(circle at 78% 74%, rgba(224, 192, 151, 0.24), transparent 36%),
    linear-gradient(180deg, #fcfaf6 0%, #f5f2eb 52%, #f7f4ef 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.58;
  filter: blur(2px);
}

.orb-top {
  width: 420px;
  height: 420px;
  left: -170px;
  top: -130px;
  background: radial-gradient(circle, rgba(156, 178, 187, 0.56), transparent 66%);
  animation: floaty 8.4s ease-in-out infinite;
}

.orb-mid {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 30%;
  background: radial-gradient(circle, rgba(132, 169, 140, 0.52), transparent 64%);
  animation: floaty 10.2s ease-in-out infinite reverse;
}

.orb-bottom {
  width: 440px;
  height: 440px;
  left: 21%;
  bottom: -240px;
  background: radial-gradient(circle, rgba(224, 192, 151, 0.55), transparent 72%);
  animation: floaty 11.8s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.04);
  }
}

@keyframes float-tablet {
  0%, 100% {
    transform: perspective(1400px) rotateY(8deg) rotateX(2deg) translateY(0px);
  }
  50% {
    transform: perspective(1400px) rotateY(8deg) rotateX(2deg) translateY(-10px);
  }
}

@keyframes float-phone {
  0%, 100% {
    transform: perspective(1200px) rotateY(-10deg) rotateX(-2deg) translateY(0px);
  }
  50% {
    transform: perspective(1200px) rotateY(-10deg) rotateX(-2deg) translateY(-14px);
  }
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 24;
  isolation: isolate;
  max-width: 1160px;
  margin: 0 auto;
  padding: 4px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px;
  border: 1px solid rgba(132, 169, 140, 0.46);
  background: linear-gradient(120deg, rgba(31, 63, 55, 0.94), rgba(82, 121, 111, 0.94));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
}

.brand-logo {
  width: min(320px, 32vw);
  height: auto;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
  display: block;
  mix-blend-mode: normal;
  filter: none;
}

.brand-fallback {
  color: var(--surface);
  font-size: 1.32rem;
  letter-spacing: 0.06em;
  font-family: "DM Serif Display", "Times New Roman", serif;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  color: rgba(253, 251, 247, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
  color: var(--surface);
  background: rgba(156, 178, 187, 0.3);
}

.site-nav .nav-pill {
  color: var(--primary-dark);
  background: var(--accent);
}

.site-nav .nav-pill:hover {
  background: #f0d6b5;
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 18px 64px;
}

.section {
  margin-top: 66px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  font-family: "DM Serif Display", "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.2vw, 4.45rem);
  letter-spacing: 0.01em;
}

h1 em {
  color: var(--primary-dark);
  font-style: italic;
}

h2 {
  font-family: "DM Serif Display", "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 34px;
  align-items: center;
}

.hero-text {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  min-width: 158px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
  position: relative;
}

.store-apple {
  background: #0d0d0d;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.45);
}

.store-apple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(0, 0, 0, 0.55);
}

.store-apple svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: #fff;
}

.store-google {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  border-color: var(--border);
  opacity: 0.72;
  cursor: not-allowed;
}

.store-google svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: var(--text-muted);
}

.store-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.8;
  line-height: 1;
}

.store-name {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.3;
}

.soon-badge {
  position: absolute;
  top: -9px;
  right: -6px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #f8fffd;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), #6b9285);
  box-shadow: 0 16px 30px -18px rgba(23, 53, 46, 0.56);
}

.btn-primary:hover {
  box-shadow: 0 20px 34px -20px rgba(23, 53, 46, 0.7);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.78);
}

.btn-ghost:hover {
  background: rgba(214, 226, 216, 0.5);
}

.hero-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 11px;
}

.hero-stats article {
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
}

.stat-number {
  color: var(--primary-dark);
  font-size: 1.45rem;
  font-weight: 800;
}

.stat-label {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.store-row-visual {
  margin-top: 0;
  justify-content: center;
}

.device-stack {
  position: relative;
  width: min(560px, 100%);
  min-height: 500px;
}

.device {
  position: absolute;
  margin: 0;
  pointer-events: none;
}

.device-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #0b1319;
}

.device-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(9, 20, 27, 0.28)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, transparent 40%);
  z-index: 1;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.device figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 4;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.device-tablet {
  left: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  animation: float-tablet 7s ease-in-out infinite;
}

.device-tablet .device-frame {
  padding: 16px 14px;
  border-radius: 28px;
  background: linear-gradient(175deg,
    #1c2128 0%,
    #2d3540 18%,
    #141a20 45%,
    #1e2830 72%,
    #0e1318 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    0 0 0 0.5px rgba(0, 0, 0, 0.5),
    0 32px 64px -16px rgba(8, 14, 20, 0.55),
    0 12px 28px -8px rgba(8, 14, 20, 0.3);
}

.device-tablet .device-screen {
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.tablet-camera {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 30% 30%, #2a3540, #050a0e 62%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 3;
}

.tablet-home {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.22);
  z-index: 3;
}

.device-phone {
  right: 0;
  top: 2%;
  width: 40%;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  animation: float-phone 5.5s ease-in-out infinite 1s;
}

.device-phone .device-frame {
  padding: 11px 10px;
  border-radius: 44px;
  background: linear-gradient(165deg,
    #1e262e 0%,
    #32404e 22%,
    #161d25 50%,
    #28353f 75%,
    #111820 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 0 0 0.5px rgba(0, 0, 0, 0.4),
    0 36px 72px -16px rgba(8, 14, 20, 0.65),
    0 14px 32px -8px rgba(8, 14, 20, 0.35);
}

.device-phone .device-frame::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 24%;
  width: 3px;
  height: 54px;
  border-radius: 2px;
  background: #2c3845;
}

.device-phone .device-frame::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 30%;
  width: 3px;
  height: 74px;
  border-radius: 2px;
  background: #2c3845;
}

.device-phone .device-screen {
  border-radius: 34px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.iphone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 3;
  width: 42%;
  height: 21px;
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
  background: #0a0f14;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.notch-speaker {
  width: 34%;
  height: 4px;
  border-radius: 99px;
  background: #3f4d5b;
}

.notch-camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #5f7487, #12202b 65%);
}

.iphone-home-indicator {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 3;
  width: 36%;
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(236, 243, 249, 0.62);
}

.section-head {
  max-width: 760px;
}

.feature-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(82, 121, 111, 0.22);
  box-shadow: 0 2px 12px -4px rgba(17, 40, 36, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), #84a98c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
}

.feature-card:nth-child(1) {
  background: linear-gradient(180deg, #ffffff, var(--cat-venue));
}

.feature-card:nth-child(2) {
  background: linear-gradient(180deg, #ffffff, var(--cat-guests));
}

.feature-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, var(--cat-official));
}

.feature-card:nth-child(4) {
  background: linear-gradient(180deg, #ffffff, var(--cat-attire));
}

.feature-card:nth-child(5) {
  background: linear-gradient(180deg, #ffffff, var(--cat-home));
}

.feature-card:nth-child(6) {
  background: linear-gradient(180deg, #ffffff, var(--cat-other));
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -12px rgba(17, 40, 36, 0.2);
  border-color: rgba(62, 92, 84, 0.4);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 6px 14px -4px rgba(23, 53, 46, 0.38);
  flex-shrink: 0;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
}

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.68;
  font-size: 0.94rem;
}

.section-sub {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.category-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(82, 121, 111, 0.24);
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f3f37;
}

.chip-venue {
  background: var(--cat-venue);
}

.chip-guests {
  background: var(--cat-guests);
}

.chip-official {
  background: var(--cat-official);
}

.chip-attire {
  background: var(--cat-attire);
}

.chip-home {
  background: var(--cat-home);
}

.chip-other {
  background: var(--cat-other);
}

.timeline-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(82, 121, 111, 0.24);
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(214, 226, 216, 0.5));
}

.timeline {
  list-style: none;
  margin: 26px 0 2px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: start;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(82, 121, 111, 0.24);
  background: rgba(255, 255, 255, 0.75);
}

.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 13px;
  font-weight: 800;
  color: #f8fffd;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.timeline-item h3 {
  font-size: 1.08rem;
}

.timeline-item p {
  margin: 8px 0 0;
  color: var(--text-muted);
  line-height: 1.66;
}

.gallery-slider {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-viewport {
  flex: 1;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 14px;
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slider-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(82, 121, 111, 0.34);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, opacity 180ms ease;
  padding: 0;
}

.slider-arrow:hover {
  background: rgba(207, 225, 210, 0.7);
  transform: scale(1.06);
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-dark);
}

.slider-dots-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  background: rgba(82, 121, 111, 0.28);
  transition: background 220ms ease, width 220ms ease;
  padding: 0;
  flex-shrink: 0;
}

.slider-dot.active {
  background: var(--primary-dark);
  width: 22px;
}

.screen-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 19.5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(82, 121, 111, 0.34);
  background: linear-gradient(180deg, #ffffff, #edf4f0);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, border-color 180ms ease;
}

.screen-frame:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 92, 84, 0.6);
}

.screen-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(10, 26, 23, 0.22));
  z-index: 1;
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screen-frame figcaption {
  position: absolute;
  left: 13px;
  bottom: 11px;
  z-index: 2;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
}

.fallback-note {
  display: none;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  color: #1f3f37;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
}

.final-cta {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(82, 121, 111, 0.32);
  background:
    radial-gradient(circle at 100% 0, rgba(224, 192, 151, 0.34), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(207, 225, 210, 0.65));
  padding: 34px;
  text-align: center;
}

.final-cta h2 {
  max-width: 16ch;
  margin: 0 auto;
}

.final-cta p {
  margin: 14px auto 26px;
  max-width: 62ch;
  color: var(--text-muted);
  line-height: 1.7;
}

.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 18px 24px;
  border-top: 1px solid rgba(82, 121, 111, 0.24);
}

.footer-top {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer small {
  color: var(--text-muted);
  font-weight: 700;
}

.legal-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-links a {
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 11px;
  border: 1px solid rgba(82, 121, 111, 0.28);
  background: rgba(255, 255, 255, 0.74);
}

.legal-links a:hover {
  background: rgba(132, 169, 140, 0.2);
}

.footer-brand-link {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 180ms ease;
}

.footer-brand-link:hover {
  color: var(--primary);
}

.media-slot.is-loaded .brand-fallback,
.media-slot.is-loaded .fallback-note {
  display: none;
}

.media-slot.is-missing img {
  display: none;
}

.media-slot.is-missing .fallback-note {
  display: inline-flex;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* gallery slider responsive handled via JS */

  .device-stack {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 8px;
    padding: 10px 12px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .brand-logo {
    width: min(220px, 60vw);
    height: auto;
    max-height: 54px;
  }

  .site-nav {
    width: 100%;
    gap: 6px;
  }

  .site-nav a {
    font-size: 0.82rem;
    padding: 8px 11px;
  }

  .section {
    margin-top: 54px;
  }

  .hero-stats,
  .feature-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  /* gallery slider responsive handled via JS */

  .device-stack {
    min-height: 0;
    display: grid;
    gap: 14px;
  }

  .device {
    position: relative;
  }

  .device-tablet,
  .device-phone {
    width: 100%;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    transform: none;
  }

  .device-tablet {
    aspect-ratio: 4 / 3;
    max-width: 560px;
  }

  .device-phone {
    aspect-ratio: 9 / 18;
    max-width: 320px;
    justify-self: center;
  }

  .device-phone .device-frame::before,
  .device-phone .device-frame::after {
    display: none;
  }

  .timeline-wrap,
  .final-cta {
    padding: 22px 16px;
  }

  .timeline-item {
    grid-template-columns: 58px 1fr;
  }

  .timeline-index {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 560px) {
  .gallery-slider {
    gap: 6px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .slider-arrow svg {
    width: 15px;
    height: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
