/* ==========================================================================
   Today's Wish — Landing Page Stylesheet
   Rebuilt from Figma "Landing Design" page.

   Font note: the original design uses "Elika Gorica" for display headings.
   It is a paid/licensed font (not freely embeddable), so this stylesheet
   uses "Fraunces" — a warm, elegant serif with a similar character — as a
   stand-in. If you purchase an Elika Gorica license, drop the @font-face
   webfont files in assets/fonts/ and swap the --font-display value below.
   ========================================================================== */

@font-face {
  font-family: 'Elika Gorica';
  src: url('../assets/fonts/elika-gorica.otf') format('opentype'),
    url('../assets/fonts/elika-gorica.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Color tokens (sampled directly from the Figma file) ---- */
  --color-navy: #0A1C3B;
  /* logo, button labels, dark accents */
  --color-navy-soft: #1B2C4D;
  --color-heading: #946B03;
  /* warm gold-brown for display headings */
  --color-body: #696969;
  /* body copy grey */
  --color-body-on-dark: #E8E6E2;
  --color-gold: #FFB500;
  /* bright accent gold (icons, stars) */
  --color-gold-soft: #D9AE54;
  --color-cream: #FFFCF8;
  --color-card-from: #F9F7F4;
  --color-card-to: #FDF3F7;
  --color-button-from: #F9F1E7;
  --color-button-to: #FDEEF4;
  --color-border: rgba(10, 28, 59, 0.08);
  --color-white: #FFFFFF;

  /* ---- Type ---- */
  --font-display: "Elika Gorica", "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-label: "Red Hat Display", var(--font-body);
  --font-ui: "Onest", var(--font-body);

  /* ---- Layout ---- */
  --container-w: 1280px;
  --container-pad: 80px;
  --radius-lg: 28px;
  --radius-md: 24px;
  --radius-sm: 15px;

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.6s;
  --dur-slow: 1.2s;
}

@media (max-width: 1024px) {
  :root {
    --container-pad: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --container-pad: 20px;
  }
}

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

html {
  scroll-behavior: smooth;
}

@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;
    scroll-behavior: auto !important;
  }
}

body,
h1,
h2,
h3,
p,
figure {
  margin: 0;
}

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

button {
  font: inherit;
  cursor: pointer;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: calc(var(--container-w) + 2 * var(--container-pad));
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-heading);
}

h2.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.3;
  color: var(--color-heading);
}

.section-sub {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
  color: var(--color-body);
  margin-top: 16px;
}

.on-dark h2.section-title,
.on-dark .section-sub {
  color: var(--color-white);
}

.on-dark .section-sub {
  color: rgba(255, 255, 255, 0.85);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 21px 100px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--color-button-from), var(--color-button-to));
  border: none;
  color: var(--color-navy);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(10, 28, 59, 0.25);
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(10, 28, 59, 0.16);
}

.btn:active {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 3px;
}

/* ==========================================================================
   Ambient decoration (gradient wash blobs + sparkles) shared across sections
   ========================================================================== */
.blob {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #B4BEF9 0%, #B4B9F4 26%, #F2D5F3 64%, #F9BAA8 100%);
  opacity: 0.35;
  filter: blur(60px);
  z-index: 0;
  animation: drift 22s ease-in-out infinite;
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-3%, 3%) scale(1.06);
  }
}

.sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, var(--color-gold) 0%, rgba(255, 181, 0, 0) 70%);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  animation: twinkle 3.4s ease-in-out infinite;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.15) rotate(12deg);
  }
}

/* ---- Scroll reveal (below-the-fold content) ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-stagger.is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible>*:nth-child(1) {
  transition-delay: 0.05s;
}

.reveal-stagger.is-visible>*:nth-child(2) {
  transition-delay: 0.15s;
}

.reveal-stagger.is-visible>*:nth-child(3) {
  transition-delay: 0.25s;
}

.reveal-stagger.is-visible>*:nth-child(4) {
  transition-delay: 0.35s;
}

.reveal-stagger.is-visible>*:nth-child(5) {
  transition-delay: 0.45s;
}

.reveal-stagger.is-visible>*:nth-child(6) {
  transition-delay: 0.55s;
}

/* No-JS / JS-failure safety net: never permanently hide content */
.no-js .reveal,
.no-js .reveal-stagger>* {
  opacity: 1;
  transform: none;
}

/* ---- Hero load-in (CSS-only, fires immediately — no scroll/JS dependency) ---- */
.hero-intro>* {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-in 0.8s var(--ease-out) forwards;
}

.hero-intro>*:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-intro>*:nth-child(2) {
  animation-delay: 0.22s;
}

.hero-intro>*:nth-child(3) {
  animation-delay: 0.34s;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-phones {
  opacity: 0;
  animation: hero-in 1s var(--ease-out) forwards;
  animation-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {

  .hero-intro>*,
  .hero-phones {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  background: transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -40px 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #FFF8FF 7.59%, rgba(255, 248, 255, 0.75) 30.95%, rgba(255, 248, 255, 0.50) 55.6%, rgba(255, 248, 255, 0.25) 74.53%, rgba(255, 248, 255, 0.10) 85.76%, rgba(255, 248, 255, 0.00) 101.03%);
  opacity: 0;
  transition: opacity var(--dur-fast), backdrop-filter var(--dur-fast);
}

.site-header.is-scrolled::before {
  opacity: 1;
  mask-image: linear-gradient(180deg, black 30.95%, rgba(0, 0, 0, 0.75) 60.6%, rgba(0, 0, 0, 0.50) 74.53%, rgba(0, 0, 0, 0.25) 85.76%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 30.95%, rgba(0, 0, 0, 0.75) 60.6%, rgba(0, 0, 0, 0.50) 74.53%, rgba(0, 0, 0, 0.25) 85.76%, transparent 100%);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-navy);
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 18px;
  color: #1a1a1a;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--color-heading);
  transition: right var(--dur-fast) var(--ease-out);
}

.main-nav a:hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-navy);
  border-radius: 1px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 168px var(--container-pad) 80px;
  overflow: hidden;
}

.hero .blob {
  display: none;
}

.hero-grid {
  max-width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-family: "Elika Gorica", var(--font-display);
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  color: #936902;
}

.hero-copy .section-sub {
  font-size: 18px;
  max-width: 540px;
}

.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 164px;
  flex-wrap: wrap;
}

.store-badge {
  height: 52px;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(10, 28, 59, 0.18));
  transition: transform var(--dur-fast) var(--ease-out);
}

.store-badge:hover {
  transform: translateY(-3px) scale(1.02);
}

.store-badge img,
.store-badge svg {
  height: 52px;
  display: block;
}

.hero-phones {
  position: relative;
  height: 620px;
}

.phone-mockup {
  position: absolute;
  width: 277px;
}

.phone-mockup .screen {
  position: absolute;
  left: 4%;
  right: 4.3%;
  top: 1.8%;
  bottom: 1.8%;
  border-radius: 13% / 6.5%;
  overflow: hidden;
  background: #0a1c3b;
  z-index: 2;
}

.phone-mockup .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-mockup .screen::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 33%;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-mockup .frame-art {
  position: relative;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-phones .phone-back {
  width: 260px;
  left: 42%;
  top: 12%;
  animation: float-slow 7s ease-in-out infinite;
}

.hero-phones .phone-front {
  width: 315px;
  left: 0;
  top: 4%;
  animation: float-slow 8s ease-in-out infinite 0.4s;
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(-0.6deg);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-phones .phone-back,
  .hero-phones .phone-front {
    animation: none;
  }
}

/* ==========================================================================
   Quote banner (dark, tiled night-sky background)
   ========================================================================== */
.quote-banner {
  margin: 160px var(--container-pad) 0;
}

.banner-dark {
  max-width: var(--container-w);
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-md);
  background: #060912 url("../assets/images/dark-tile-bg.jpg") center/cover;
  padding: 120px 100px;
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 120px;
}

.banner-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 9, 18, 0.55), rgba(6, 9, 18, 0.15) 60%);
  pointer-events: none;
  border-radius: var(--radius-md);
}

.banner-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.banner-copy h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.3;
}

.banner-copy .section-sub {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 16px;
}

.banner-phone {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.banner-phone .phone-mockup {
  width: 320px;
  margin-top: -300px;
  margin-bottom: 0px;
  margin-left: 90px;
  animation: float-slow 8s ease-in-out infinite;
}

.star-deco {
  position: absolute;
  bottom: -100px;
  right: -60px;
  width: 350px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.help-cta .star-deco {
  top: 80px;
  bottom: auto;
  right: -280px;
  width: 800px;
}

@keyframes spin-slow {
  0% {
    transform: rotate(7.529deg) scale(1);
  }

  50% {
    transform: rotate(15.529deg) scale(1.03);
  }

  100% {
    transform: rotate(7.529deg) scale(1);
  }
}

/* ==========================================================================
   Wishes scatter section
   ========================================================================== */
.wishes-section {
  position: relative;
  padding: 300px var(--container-pad) 140px;
  max-width: 1440px;
  margin: 0 auto;
  overflow: unset;
}

.wishes-bg-art {
  position: absolute;
  left: 0;
  width: 100%;
  height: stretch;
  z-index: 0;
  pointer-events: none;
}

.wishes-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishes-copy {
  position: relative;
  z-index: 3;
  max-width: 649px;
  text-align: center;
}

.wishes-copy h2.section-title {
  color: #936902;
  font-family: var(--font-display);
}

.wishes-copy .section-sub {
  color: #676767;
}

.wish-card {
  position: absolute;
  z-index: 2;
  background: linear-gradient(to bottom, #f9f7f4 0%, #fdf3f7 100%);
  border-radius: 15px;
  padding: 16px;
  box-shadow: 0px 5px 14.775px 0px rgba(252, 241, 241, 0.4), 2px 5px 17px 0px rgba(28, 14, 87, 0.25);
  animation: bob 9s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wish-card p.wish-text {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.25;
  color: #1e283b;
  margin: 0;
  text-align: left;
  width: 100%;
}

.wish-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: 0 26px 50px rgba(10, 28, 59, 0.16);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  z-index: 5;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt, 0deg));
  }

  50% {
    transform: translateY(-12px) rotate(var(--tilt, 0deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  .wish-card {
    animation: none;
  }
}

.wc-1 {
  top: 504px;
  left: 24px;
  width: 331px;
  animation-duration: 8s;
  --tilt: -2deg;
}

.wc-2 {
  top: 191px;
  left: 0px;
  width: 324px;
  animation-duration: 10s;
  --tilt: 1deg;
  animation-delay: .6s;
}

.wc-3 {
  top: 92px;
  left: 234px;
  width: 236px;
  animation-duration: 9s;
  --tilt: -1deg;
  animation-delay: 1.1s;
}

.wc-4 {
  top: 143px;
  left: 902px;
  width: 336px;
  animation-duration: 11s;
  --tilt: 2deg;
  animation-delay: .3s;
}

.wc-5 {
  top: 329px;
  left: 1057px;
  width: 223px;
  animation-duration: 9.5s;
  --tilt: -2deg;
  animation-delay: .9s;
}

.wc-6 {
  top: 478px;
  left: 950px;
  width: 288px;
  animation-duration: 10.5s;
  --tilt: 1deg;
  animation-delay: .2s;
}

@media (max-width: 1180px) {
  .wishes-inner {
    min-height: 0;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
  }

  .wishes-copy {
    width: 100%;
    margin-bottom: 24px;
  }

  .wish-card {
    display: none;
  }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.how-section {
  padding: 140px var(--container-pad) 140px;
}

.how-grid {
  max-width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.how-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}

.how-list {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.how-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-card-from), var(--color-card-to));
  border: 1px solid var(--color-border);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.how-row:hover {
  transform: translateX(6px);
  box-shadow: 0 16px 32px rgba(10, 28, 59, 0.08);
}

.how-row .dot {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 4px;
  background: var(--color-gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.how-row h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: #000;
}

.how-row p {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.55;
}

.how-art {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.how-art .phone-mockup {
  width: 302px;
  animation: float-slow 8s ease-in-out infinite;
}

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial-section {
  position: relative;
  padding: 80px var(--container-pad) 100px;
  text-align: center;
}

.testimonial-section .blob {
  width: 600px;
  height: 600px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.testimonial-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 32px;
}

.stars svg {
  width: 24px;
  height: 24px;
  opacity: 0;
  transform: scale(0.4) rotate(-15deg);
  animation: pop-star 0.5s var(--ease-out) forwards;
}

.stars svg:nth-child(1) {
  animation-delay: .05s
}

.stars svg:nth-child(2) {
  animation-delay: .15s
}

.stars svg:nth-child(3) {
  animation-delay: .25s
}

.stars svg:nth-child(4) {
  animation-delay: .35s
}

.stars svg:nth-child(5) {
  animation-delay: .45s
}

@keyframes pop-star {
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.testimonial-quote {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.3;
  color: var(--color-heading);
  font-family: var(--font-display);
}

.testimonial-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  margin-top: 32px;
}

.testimonial-person img {
  width: 57px;
  height: 57px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person .who {
  text-align: left;
}

.testimonial-person .name {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 18px;
  color: #000;
}

.testimonial-person .place {
  font-size: 14px;
  color: var(--color-body);
}

/* ==========================================================================
   Features bento grid
   ========================================================================== */
.features-section {
  padding: 40px var(--container-pad) 140px;
  text-align: center;
}

.features-section h2 {
  max-width: var(--container-w);
  margin: 0 auto;
  text-align: left;
}

.bento {
  max-width: var(--container-w);
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento-row {
  display: flex;
  gap: 16px;
}

.bento-card {
  flex: 1;
  text-align: left;
  background: linear-gradient(135deg, var(--color-card-from), var(--color-card-to));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 28, 59, 0.1);
}

.bento-row:nth-child(1) .bento-card:nth-child(1) {
  flex: 1.18;
}

.bento-row:nth-child(2) .bento-card:nth-child(1) {
  flex: 0.78;
}

.bento-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-heading);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-icon svg {
  width: 24px;
  height: 22px;
  fill: #fff;
}

.bento-card h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 20px;
  color: #000;
}

.bento-card p {
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .bento-row {
    flex-direction: column;
  }

  .bento-row .bento-card {
    flex: 1 !important;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  padding: 40px var(--container-pad) 140px;
}

.faq-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.faq-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}

.faq-item {
  background: linear-gradient(135deg, var(--color-card-from), var(--color-card-to));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 40px rgba(10, 28, 59, 0.12);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 18px;
  color: #000;
}

.faq-email {
  color: var(--color-heading);
  text-decoration: none;
}

.faq-email:hover {
  text-decoration: underline;
}

.faq-q .icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-fast) var(--ease-out);
}

.faq-q .icon svg {
  width: 19px;
  height: 19px;
}

.faq-q .icon svg .v {
  transition: opacity var(--dur-fast);
}

.faq-item.is-open .faq-q .icon {
  transform: rotate(135deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-soft);
}

.faq-a p {
  padding: 0 20px 24px 20px;
  font-size: 16px;
  line-height: 1.55;
}

/* ==========================================================================
   CTA — "Still need help" (dark tiled)
   ========================================================================== */
.help-cta {
  margin: 0 var(--container-pad);
}

.help-cta .banner-dark {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 80px 40px;
  position: relative;
}

.help-cta .banner-copy {
  margin: 0 auto;
  text-align: center;
  max-width: 480px;
}

.help-cta .banner-copy .section-sub {
  margin: 16px auto 36px;
}

.help-cta .banner-copy .btn {
  box-shadow: 0 0 60px 10px rgba(255, 246, 237, 0.35);
}

.cta-swoosh {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.cta-swoosh-1 {
  width: 600px;
  right: -50px;
  bottom: -50px;
  transform: rotate(0deg);
}

.cta-swoosh-2 {
  width: 550px;
  right: -20px;
  bottom: -10px;
  transform: rotate(10deg);
}

.cta-swoosh-3 {
  width: 450px;
  right: 10px;
  bottom: -40px;
  transform: rotate(25deg);
}

.cta-star {
  position: absolute;
  z-index: 3;
}

.cta-star-1 {
  width: 220px;
  right: -40px;
  top: 40px;
  transform: rotate(15deg);
}

.cta-star-2 {
  width: 24px;
  right: 180px;
  top: 45%;
  transform: rotate(-15deg);
}

.cta-star-3 {
  width: 55px;
  right: 90px;
  top: 60%;
  transform: rotate(-25deg);
}

.cta-star-4 {
  width: 160px;
  right: -20px;
  bottom: -30px;
  transform: rotate(20deg);
}

.shooting-star {
  position: absolute;
  top: 18%;
  left: 8%;
  width: 140px;
  height: 2px;
  pointer-events: none;
  z-index: 2;
}

.shooting-star::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 229, 153, 0) 0%, rgba(255, 229, 153, 0.9) 80%, #fff 100%);
  border-radius: 2px;
  filter: blur(0.5px);
}

.shooting-star::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.9);
}

.shooting-star {
  animation: shoot 5.5s cubic-bezier(0.3, 0, 0.6, 1) infinite;
  opacity: 0;
}

@keyframes shoot {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(20deg);
  }

  4% {
    opacity: 1;
  }

  35% {
    opacity: 1;
    transform: translate(60vw, 26vh) rotate(20deg);
  }

  42% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shooting-star {
    animation: none;
    opacity: 0;
  }
}

/* ==========================================================================
   Troubleshooting checklist
   ========================================================================== */
.trouble-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.trouble-layout {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.trouble-stars {
  position: absolute;
  left: -50px;
  top: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
}

.t-star {
  position: absolute;
}

.t-star-1 {
  width: 95px;
  top: 75%;
  left: 0%;
  transform: rotate(15deg);
}

.t-star-2 {
  width: 35px;
  top: 55%;
  left: 5%;
  transform: rotate(-10deg);
}

.t-star-3 {
  width: 85px;
  top: 40%;
  left: 15%;
  transform: rotate(-5deg);
}

.t-star-4 {
  width: 15px;
  top: 25%;
  left: 10%;
  transform: rotate(20deg);
  opacity: 0.6;
}

.t-star-5 {
  width: 95px;
  top: 10%;
  left: 35%;
  transform: rotate(15deg);
}

.t-star-6 {
  width: 20px;
  top: 25%;
  left: 45%;
  transform: rotate(5deg);
  opacity: 0.5;
}

.t-star-7 {
  width: 85px;
  top: 38%;
  left: 45%;
  transform: rotate(-10deg);
}

.t-star-8 {
  width: 45px;
  top: 52%;
  left: 28%;
  transform: rotate(15deg);
}

.t-star-9 {
  width: 65px;
  top: 20%;
  left: 60%;
  transform: rotate(-15deg);
}

.t-star-10 {
  width: 30px;
  top: 48%;
  left: 62%;
  transform: rotate(25deg);
  opacity: 0.5;
}

.t-star-11 {
  width: 22px;
  top: 38%;
  left: 82%;
  transform: rotate(5deg);
  opacity: 0.7;
}

.t-star-12 {
  width: 18px;
  top: 58%;
  left: 88%;
  transform: rotate(12deg);
  opacity: 0.6;
}

.t-star-13 {
  width: 14px;
  top: 42%;
  left: 95%;
  transform: rotate(-10deg);
  opacity: 0.5;
}

.t-star-14 {
  width: 25px;
  top: 30%;
  left: 75%;
  transform: rotate(-25deg);
  opacity: 0.5;
}

.trouble-inner {
  max-width: 737px;
  position: relative;
  z-index: 2;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.trouble-inner .section-title {
  text-align: left;
}

.trouble-section .section-sub {
  text-align: left;
}

.check-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.check-row .tick {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-row .tick svg {
  width: 13px;
  height: 10px;
}

.check-row p {
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
}

.trouble-section .btn {
  margin-top: 40px;
  width: 320px;
  max-width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0c1430 url("../assets/images/footer-bg.jpg") center/cover;
  padding: 90px 80px 56px;
  text-align: center;
}

.footer-stage {
  position: relative;
  max-width: var(--container-w);
  margin: 0 auto;
}

.footer-star-art {
  width: 200px;
  margin: 0 auto;
}

.footer-wordmark {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 130px);
  line-height: 1;
  background: linear-gradient(100deg, #fff 0%, #FFE9B8 35%, #fff 60%, #FFE9B8 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-wordmark {
    animation: none;
  }
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 48px;
  width: 100%;
}

.footer-links {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
}

.footer-links a {
  font-family: var(--font-label);
  font-size: 16px;
  color: #fff;
  opacity: 0.85;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-note {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
  white-space: nowrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header .container {
    justify-content: space-between;
  }

  .hero-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    text-align: center;
  }

  .hero-copy .section-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-phones,
  .banner-phone,
  .how-art,
  .trouble-stars {
    display: none !important;
  }

  .banner-dark {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 56px 32px;
    gap: 32px;
  }

  .banner-copy {
    margin: 0 auto;
  }

  img.star-deco {
    width: 220px;
    height: auto;
    bottom: -20px;
    right: -20px;
  }

  .footer-wordmark {
    font-size: clamp(48px, 14vw, 90px);
  }

  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: #fffcf8;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 18px 30px rgba(10, 28, 59, 0.12);
    padding: 8px 0 18px;
  }

  .main-nav.is-open a {
    padding: 12px 0;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 120px;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 8vw, 40px);
  }

  /* Hide decorative elements that clutter mobile layout */
  .blob,
  .sparkle,
  .cta-swoosh,
  .cta-star,
  .shooting-star,
  img.star-deco {
    display: none !important;
  }

  .quote-banner,
  .help-cta {
    margin-left: 0;
    margin-right: 0;
  }

  .banner-dark {
    border-radius: 0;
    padding: 48px 20px;
  }

  .bento-card {
    padding: 24px 20px;
  }

  .site-footer {
    padding: 56px 20px 40px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 20px;
    justify-content: center;
    order: 2;
  }

  .footer-note {
    text-align: center;
    order: 3;
  }

  .testimonial-quote {
    font-size: clamp(20px, 5vw, 24px);
  }
}