/* ============================================================
   Giftify — marketing landing page styles
   Depends on base.css (design tokens, .btn, .chip, .scroll-row…)
   ============================================================ */

/* ---------- layout shell ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.how,
.occasions,
.ai-section,
.pricing {
  padding: 96px 0;
  scroll-margin-top: 84px;
}

.section-title {
  text-align: center;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--body);
  margin-bottom: 44px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(23, 18, 59, 0.07);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

.main-nav {
  display: flex;
  gap: 28px;
  margin-inline: auto;
}
.main-nav a {
  color: var(--body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-burger { display: none; }

/* ---------- hero copy ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-bottom: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 48px;
  padding-top: 48px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.hero .accent { color: var(--primary); }

.hero .lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--body);
  max-width: 54ch;
  margin-bottom: 30px;
}

.hero-cta { margin-bottom: 30px; }

.hero-checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ---------- hero visual collage ---------- */
.hero-visual {
  position: relative;
  min-height: 560px;
}

.blob {
  position: absolute;
  top: -70px;
  right: -110px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--lavender-2) 0%,
    rgba(228, 220, 250, 0.45) 45%,
    rgba(228, 220, 250, 0) 72%
  );
  z-index: 0;
}

.portrait-tile {
  position: absolute;
  top: 24px;
  right: 0;
  z-index: 1;
  padding: 16px 16px 18px;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  --rot: 3deg;
}
.portrait-tile img { width: 230px; height: auto; }

.emoji-tile {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-size: 24px;
  animation: floaty 5s ease-in-out infinite alternate;
}
.t1 { top: 6%; left: 3%; --rot: -6deg; }
.t2 { top: 46%; right: 1%; --rot: 6deg; animation-delay: -2s; }
.t3 { bottom: 7%; left: 12%; --rot: -5deg; animation-delay: -3.5s; }

.spark {
  position: absolute;
  z-index: 2;
  animation: twinkle 3.2s ease-in-out infinite;
}
.spark.s1 { top: 7%; left: 38%; }
.spark.s2 { bottom: 20%; right: 30%; animation-delay: -1.4s; }

/* phone mockup */
.phone {
  position: absolute;
  left: 6%;
  top: 108px;
  z-index: 2;
  width: clamp(230px, 44vw, 300px);
  padding: 10px;
  background: #1b1533;
  border-radius: 44px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-6deg);
}

.phone-screen {
  background: #fff;
  border-radius: 36px;
  padding: 12px 12px 14px;
  overflow: hidden;
}

.p-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 0;
  font-size: 9px;
  font-weight: 800;
  color: var(--ink);
}
.p-island {
  width: 52px;
  height: 14px;
  border-radius: 999px;
  background: #0b0718;
}
.p-icons { font-size: 8px; letter-spacing: -1px; }

.p-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.p-brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 900;
  color: var(--ink);
}
.p-brand img { width: 15px; height: 15px; }

.p-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.p-profile img { width: 36px; height: 36px; border-radius: 50%; }
.p-profile strong { display: block; font-size: 12.5px; }
.p-profile div span { font-size: 10px; font-weight: 600; color: var(--muted); }

.p-tabs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  border-bottom: 1px solid var(--border);
}
.p-tabs span {
  padding: 0 1px 7px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
}
.p-tabs .on { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); }

.p-card {
  margin-top: 8px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
}
.p-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.p-row small {
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.p-row strong { display: block; font-size: 11.5px; margin-top: 1px; }
.p-row em {
  display: block;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
}
.p-cake { font-size: 16px; }
.p-edit { font-size: 11px; opacity: 0.8; }

.p-interests { margin-top: 10px; }
.p-interests > small {
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.p-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.p-chips span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.p-chips .add {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--primary);
}

/* whatsapp chat card */
.wa-card {
  position: absolute;
  top: 118px;
  left: 42%;
  z-index: 3;
  width: min(270px, 52%);
  padding: 14px 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  display: flow-root;
}
.wa-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.wa-card .wa-badge { float: left; margin: 2px 10px 4px 0; }
.wa-card time {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-size: 11px;
  color: var(--muted);
}

.wa-badge {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
}
.wa-badge.lg { width: 36px; height: 36px; }

.flow-arrow {
  position: absolute;
  top: 54%;
  right: 32%;
  z-index: 3;
  transform: rotate(6deg);
}

/* AI profile card */
.ai-card {
  position: absolute;
  right: 0;
  bottom: 6px;
  z-index: 3;
  width: min(300px, 58%);
  padding: 16px 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.ai-card .ai-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ai-card .ai-head img { width: 30px; height: 30px; border-radius: 8px; }
.ai-card .ai-head strong { font-size: 13.5px; font-weight: 900; }
.ai-card ul { list-style: none; margin: 0; padding: 0; }
.ai-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.ic {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

.float-a { animation: floaty-lg 6s ease-in-out infinite alternate; }
.float-b { animation: floaty-lg 7s ease-in-out -3s infinite alternate; }

/* ---------- how it works ---------- */
.how { background: var(--cream); }

.steps {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  flex: 1 1 0;
  max-width: 250px;
  text-align: center;
}

.step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 0 4px var(--cream);
}

.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.step-icon.app-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 76px;
  padding: 0 12px;
}

.app-ic {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.app-ic + .app-ic { margin-left: -6px; }
.app-ic.wa { background: var(--wa); }
.app-ic.im { background: #fff; border: 1px solid var(--border); }
.app-ic.gm {
  background: #fff;
  border: 1px solid var(--border);
  color: #ea4335;
  font-size: 15px;
  font-weight: 900;
}
.app-ic.ig { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.app-ic.more {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
}

.step h3 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
  max-width: 26ch;
  margin: 0 auto;
}

.step-arrow {
  align-self: flex-start;
  margin-top: 25px;
  color: var(--primary);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

/* ---------- occasions ---------- */
.occasions { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }

.occ-carousel { position: relative; }

.occ-track {
  gap: 18px;
  padding: 6px 2px 12px;
}

.occ-card a {
  display: block;
  width: 148px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.occ-card a:hover { text-decoration: none; }

.occ-img {
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  border-radius: 20px;
  font-size: 54px;
  line-height: 1;
  text-shadow: 0 8px 14px rgba(23, 18, 59, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.occ-card a:hover .occ-img {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.grad-coffee { background: linear-gradient(135deg, #f7ead9, #ecd0b4); }
.grad-cake { background: linear-gradient(135deg, #ffe4e8, #ffc9d6); }
.grad-sunset { background: linear-gradient(135deg, #ffdf9e, #ff9e7d); }
.grad-rose { background: linear-gradient(135deg, #ffdce0, #f5b8c4); }
.grad-tree { background: linear-gradient(135deg, #dff2e1, #b9e4c4); }
.grad-grad { background: linear-gradient(135deg, #e8e6fa, #c9c3f5); }
.grad-ring { background: linear-gradient(135deg, #fbe4e4, #f0c4c4); }
.grad-more {
  background: #ece9fc;
  color: var(--primary);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: none;
}

.occ-card strong {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.occ-price {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.occ-next {
  position: absolute;
  top: 78px;
  right: -8px;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--primary);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.occ-next:hover { background: var(--primary); color: #fff; }

/* ---------- AI features ---------- */
.ai-section { background: var(--bg); }

.ai-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr auto 1.25fr;
  align-items: center;
  gap: 32px;
}

.ai-features {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-features li {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}
.ai-features li:last-child { margin-bottom: 0; }

.f-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-soft);
  flex-shrink: 0;
}
.ai-features h3 { font-size: 16px; font-weight: 900; margin-bottom: 4px; }
.ai-features p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
  max-width: 30ch;
}

.ai-chat {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}
.ai-chat .wa-badge { grid-column: 1; grid-row: 1; }
.ai-chat-title { grid-column: 2; grid-row: 1; font-size: 16px; font-weight: 900; }
.chat-msgs { grid-column: 1 / -1; margin-top: 6px; }

.chat-msg {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.chat-msg:first-child { margin-top: 0; }
.chat-msg img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chat-msg > div { min-width: 0; }
.chat-msg header {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-soft);
}
.chat-msg header time {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.chat-msg p {
  margin-top: 4px;
  padding: 10px 12px;
  background: #f6f4fc;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.ai-arrow {
  display: grid;
  place-items: center;
}

.ai-profile {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.ai-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ai-head img { width: 30px; height: 30px; border-radius: 8px; }
.ai-head strong { font-size: 16.5px; font-weight: 900; }
.ai-links {
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.ai-links i {
  font-style: normal;
  margin-left: 8px;
  letter-spacing: 2px;
  color: var(--muted);
}

.ai-person {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.ai-person img { width: 52px; height: 52px; border-radius: 50%; }
.ai-person strong { display: block; font-size: 17px; font-weight: 900; }
.ai-person div span { font-size: 13px; font-weight: 600; color: var(--muted); }
.ai-person .chip {
  margin-left: auto;
  padding: 5px 10px;
  font-size: 12px;
}

.ai-block { margin-top: 16px; }
.ai-block small {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-chips span {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}

.ai-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ai-budget { font-size: 15px; font-weight: 800; }
.pencil { font-size: 10px; }

/* ---------- pricing ---------- */
.pricing {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f3effc, #e7defa);
}
.pricing::before,
.pricing::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 51, 232, 0.16), rgba(79, 51, 232, 0) 70%);
  pointer-events: none;
}
.pricing::before { top: -120px; left: -100px; }
.pricing::after { bottom: -140px; right: -80px; }
.pricing .container { position: relative; z-index: 1; }

.price-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 44px 48px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.price-amount strong {
  display: block;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.price-amount span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  max-width: 14ch;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.price-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.price-list li:last-child { margin-bottom: 0; }
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

.price-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.price-cta small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}

.footer-brand .brand { font-size: 21px; }
.footer-brand p {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--body);
  max-width: 26ch;
}

.footer-grid h4 {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-grid nav a {
  display: block;
  margin: 10px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
}
.footer-grid nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.footer-bottom small {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- animations ---------- */
@keyframes floaty {
  from { transform: translateY(-6px) rotate(var(--rot, 0deg)); }
  to { transform: translateY(6px) rotate(var(--rot, 0deg)); }
}
@keyframes floaty-lg {
  from { transform: translateY(-8px) rotate(var(--rot, 0deg)); }
  to { transform: translateY(8px) rotate(var(--rot, 0deg)); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.05) rotate(20deg); }
}

/* ---------- reveal on scroll (gated on html.js so content is
   never hidden when JS is unavailable) ---------- */
.reveal,
.reveal-pop {
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.js .reveal,
html.js .reveal-pop {
  opacity: 0;
  transform: translateY(22px) rotate(var(--rot, 0deg));
}
html.js .reveal-pop {
  transform: translateY(22px) scale(0.94) rotate(var(--rot, 0deg));
}
html.js .reveal.in-view,
html.js .reveal-pop.in-view {
  opacity: 1;
  transform: translateY(0) rotate(var(--rot, 0deg));
}
html.js .reveal-pop.in-view {
  transform: translateY(0) scale(1) rotate(var(--rot, 0deg));
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .reveal-pop {
    opacity: 1;
    transform: rotate(var(--rot, 0deg));
  }
  html.js .reveal-pop { transform: scale(1) rotate(var(--rot, 0deg)); }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .ai-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .ai-features {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
  }
  .ai-features li { margin-bottom: 22px; }
  .ai-arrow { display: none; }
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 40px;
  }
  .hero-visual {
    width: 100%;
    max-width: 620px;
    min-height: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 920px) {
  .main-nav { display: none; }

  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .nav-burger span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-header.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .main-nav a {
    padding: 13px 2px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    border-bottom: 1px solid var(--primary-soft-2);
  }
  .site-header.nav-open .main-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 900px) {
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .step { max-width: 340px; }
  .step-arrow {
    align-self: center;
    margin: 2px 0;
    transform: rotate(90deg);
  }
}

@media (max-width: 760px) {
  .how,
  .occasions,
  .ai-section,
  .pricing {
    padding: 72px 0;
  }

  .ai-grid { grid-template-columns: 1fr; }

  .price-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 28px;
  }
  .price-amount strong { font-size: 48px; }
  .price-list { max-width: 420px; }

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

@media (max-width: 560px) {
  .container { padding-inline: 20px; }

  .nav-actions .btn-ghost { display: none; }

  .hero { padding-bottom: 8px; }
  .hero-grid { padding-top: 28px; }
  .hero .lede { font-size: 17px; }
  .hero-checks { gap: 10px 16px; }
  .hero-checks li { font-size: 14px; }

  .hero-visual { min-height: 620px; }
  .blob {
    top: -40px;
    right: -80px;
    width: 380px;
    height: 380px;
  }
  .portrait-tile {
    top: 0;
    padding: 12px 12px 14px;
  }
  .portrait-tile img { width: clamp(150px, 46vw, 200px); }
  .phone {
    left: 0;
    top: 216px;
    width: min(250px, 74%);
  }
  .wa-card {
    left: auto;
    right: 0;
    top: 132px;
    width: min(250px, 78%);
    padding: 12px 14px;
  }
  .ai-card {
    width: min(300px, 100%);
    padding: 14px 16px;
  }
  .flow-arrow { display: none; }
  .t1 { top: 2%; left: 0; }
  .t2 { top: 56%; right: 0; }
  .t3 { bottom: 30%; left: 0; }

  .occ-next { right: 0; }

  .ai-two { gap: 10px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

/* generated imagery */
.portrait-tile img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.emoji-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.occ-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
