/* Fonts are preconnected and asynchronously loaded in HTML <head> for optimal Core Web Vitals (FCP/LCP) */

:root {
  --primary: #5a4af5;
  --primary-hover: #4738d8;
  --primary-light: #f0ebff;
  --secondary: #ff8d6a;
  --accent: #f7c96b;
  --success: #34b27d;
  --bg-page: #f8f4ee;
  --bg-surface: #fffdfb;
  --bg-surface-alt: #f5efe8;
  --text-main: #1f1a17;
  --text-muted: #615a56;
  --text-light: #948a83;
  --border: rgba(93, 72, 52, 0.12);
  --shadow-sm: 0 12px 24px rgba(66, 48, 30, 0.06);
  --shadow-md: 0 22px 40px rgba(61, 45, 35, 0.12);
  --shadow-lg: 0 35px 80px rgba(60, 46, 40, 0.14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --container-max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(111, 92, 255, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 141, 106, 0.12), transparent 24%),
    var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

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

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
}

.container {
  width: min(var(--container-max), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #7c63ff 100%);
  color: #fff;
  box-shadow: 0 18px 32px rgba(90, 74, 245, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #6957f5 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(90, 74, 245, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-main);
  border-color: rgba(31, 26, 23, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 251, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 26, 23, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

.hero {
  position: relative;
  padding: 76px 0 68px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 30%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(124, 99, 255, 0.08);
  border: 1px solid rgba(124, 99, 255, 0.14);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 20px 0 18px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 1.16rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.hero-note {
  color: var(--text-light);
  font-size: 0.9rem;
}

.guide-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.guide-promo .section-title {
  margin: 8px 0;
}

.guide-promo .section-subtitle {
  margin: 0;
  text-align: left;
}

.guide-promo .btn {
  flex-shrink: 0;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-proof strong {
  color: var(--text-main);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  margin-left: -8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-main);
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.avatar-stack span:nth-child(1) {
  background: linear-gradient(135deg, #f9d6b0, #f5c2ef);
}

.avatar-stack span:nth-child(2) {
  background: linear-gradient(135deg, #cfe7ff, #d9f2d9);
}

.avatar-stack span:nth-child(3) {
  background: linear-gradient(135deg, #ffe0bd, #fdd7d2);
}

.mini-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mini-stat {
  min-width: 120px;
  padding: 18px 18px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.mini-stat strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.mini-stat span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
}

.showcase-shell {
  position: relative;
  max-width: 530px;
  margin-left: auto;
  padding: 18px 18px 30px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.5));
  border: 1px solid rgba(93, 72, 52, 0.08);
  box-shadow: var(--shadow-lg);
}

.showcase-shell::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 99, 255, 0.08), rgba(255, 141, 106, 0.08));
  z-index: 0;
}

.floating-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(93, 72, 52, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.card-main {
  padding: 22px;
  transform: rotate(-2deg);
}

.card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-pill.purple {
  background: rgba(90, 74, 245, 0.08);
  color: var(--primary);
}

.card-pill.peach {
  background: rgba(255, 141, 106, 0.12);
  color: #d86745;
}

.card-spark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff3cf, #fdd0c4);
  font-size: 1.1rem;
}

.card-main h3 {
  margin-bottom: 16px;
  font-size: 1.9rem;
  letter-spacing: -0.04em;
}

.budget-bar {
  height: 14px;
  border-radius: 999px;
  background: #ebe7e4;
  overflow: hidden;
  margin-bottom: 12px;
}

.budget-fill {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #8a7aff 58%, #ffb999 100%);
}

.budget-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.gift-list-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(93, 72, 52, 0.08);
  border-radius: 16px;
  background: rgba(248, 244, 238, 0.7);
}

.mini-emoji {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e3ddff, #fce4d8);
  font-size: 1.25rem;
}

.mini-item strong {
  display: block;
  font-size: 0.96rem;
}

.mini-item small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.card-side {
  position: absolute;
  right: -12px;
  bottom: 28px;
  width: 190px;
  padding: 18px 16px;
  transform: rotate(8deg);
}

.side-score {
  margin: 16px 0 14px;
}

.side-score strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.side-score span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.card-side ul {
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.8;
}

.showcase-badge {
  position: absolute;
  left: 18px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #0d7b4e;
  border: 1px solid rgba(34, 197, 94, 0.12);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(93, 72, 52, 0.08);
  border-bottom: 1px solid rgba(93, 72, 52, 0.08);
}

.section-title-wrap {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 3vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.06rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(93, 72, 52, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(90, 74, 245, 0.12), rgba(255, 141, 106, 0.12));
  font-size: 1.55rem;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  gap: 20px;
}

.app-downloads {
  margin-top: 44px;
  text-align: center;
}

.app-downloads h3 {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.store-placeholders {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.store-placeholder {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-light);
  cursor: not-allowed;
  opacity: 0.72;
}

.store-icon {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.store-note {
  margin-top: 10px;
  color: var(--text-light);
  font-size: 0.82rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guide-app-cta {
  margin: 36px auto 0;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  text-align: center;
}

.guide-app-cta h2 {
  margin-bottom: 8px;
}

.guide-app-cta p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

.guide-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(93, 72, 52, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.guide-img-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  font-size: 3.8rem;
}

.guide-img-box.tech { background: linear-gradient(135deg, #dfe7ff, #f7fafc); }
.guide-img-box.home { background: linear-gradient(135deg, #fef3c7, #fff7ed); }
.guide-img-box.smart { background: linear-gradient(135deg, #dbeafe, #f1f5f9); }
.guide-img-box.keepsake { background: linear-gradient(135deg, #ede9fe, #f5f3ff); }

.guide-emoji {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 18px rgba(83, 64, 55, 0.1));
}

.guide-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 32px;
}

.guide-store-badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
}

.article-meta {
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.82rem;
}

.badge-amazon {
  background: #ffedd5;
  color: #c2410c;
}

.badge-ebay {
  background: #dbeafe;
  color: #1e40af;
}

.guide-title {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.guide-desc {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.article-subtitle {
  margin: 4px 0 8px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
}

.article-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.guide-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.guide-price {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.guide-price-note {
  display: block;
  color: var(--text-light);
  font-size: 0.72rem;
  margin-top: 2px;
}

.guide-footer a {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
}

.compliance-box {
  margin-top: 28px;
  padding: 16px 20px;
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(90,74,245,0.04), rgba(255,141,106,0.06));
  border: 1px solid rgba(90, 74, 245, 0.1);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.step-card {
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(93, 72, 52, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #8d7cff);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(93, 72, 52, 0.1);
  border-radius: 18px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

.legal-page-header {
  padding: 50px 0 30px;
  background: rgba(255, 255, 255, 0.66);
  border-bottom: 1px solid var(--border);
}

.legal-page-header h1 {
  margin-bottom: 10px;
  font-size: 2.5rem;
  letter-spacing: -0.04em;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 16px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.disclosure-highlight-box {
  margin: 24px 0;
  padding: 20px;
  border: 2px solid #93c5fd;
  border-radius: 18px;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-card {
  padding: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.3rem;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(90, 74, 245, 0.12);
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.2rem;
}

.footer-brand p {
  max-width: 320px;
  color: #94a3b8;
  line-height: 1.55;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94a3b8;
}

.footer-col a:hover {
  color: #fff;
}

.footer-disclaimer-panel {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-disclaimer-panel p {
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  color: #64748b;
  font-size: 0.8rem;
}

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

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

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

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: rgba(255, 253, 251, 0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

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

  .guide-promo {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 22px;
  }

  .guide-body {
    padding: 24px 22px;
  }

  .guide-title {
    font-size: 1.35rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

:root {
  --primary: #71519a;
  --primary-hover: #5b3f80;
  --primary-light: #f0eafa;
  --secondary: #e99570;
  --accent: #f0c56a;
  --bg-page: #fbf8f3;
  --bg-surface-alt: #f2edf8;
  --text-main: #30283a;
  --text-muted: #6d6474;
  --text-light: #918896;
  --border: rgba(67, 49, 81, 0.12);
}

body {
  background:
    radial-gradient(circle at 8% 6%, rgba(230, 216, 246, 0.72), transparent 25rem),
    radial-gradient(circle at 92% 37%, rgba(255, 227, 204, 0.42), transparent 24rem),
    var(--bg-page);
}

.hero {
  overflow: hidden;
  padding: 84px 0 82px;
  background: linear-gradient(120deg, rgba(246, 239, 251, 0.92), rgba(255, 248, 238, 0.74));
}

.hero::before {
  background:
    radial-gradient(circle at 78% 38%, rgba(203, 230, 219, 0.48), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 55%);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  gap: clamp(36px, 7vw, 92px);
}

.hero-content {
  max-width: 630px;
}

.hero h1 {
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-badge {
  background: rgba(113, 81, 154, 0.08);
  border-color: rgba(113, 81, 154, 0.14);
}

.hero-visual {
  min-height: 370px;
  display: grid;
  place-items: center;
}

.hero-plan-card {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 25px;
  border: 1px solid rgba(67, 49, 81, 0.09);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(77, 57, 89, 0.16);
  transform: rotate(2deg);
}

.hero-plan-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
}

.hero-plan-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: #fff0e4;
  font-size: 1.35rem;
}

.hero-plan-label,
.hero-plan-date {
  color: var(--text-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-plan-date {
  margin-left: auto;
  padding: 7px 9px;
  border-radius: 8px;
  background: #f4eff8;
  color: var(--primary);
}

.hero-plan-eyebrow {
  margin-bottom: 2px;
  color: var(--text-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.hero-plan-card h2 {
  margin-bottom: 18px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.hero-plan-budget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  margin-bottom: 12px;
  border-radius: 13px;
  background: #f3eff8;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-plan-budget strong {
  color: var(--primary);
  font-size: 1.15rem;
}

.hero-plan-gift {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 1.2rem;
}

.hero-plan-gift strong,
.hero-plan-gift small {
  display: block;
}

.hero-plan-gift strong {
  font-size: 0.82rem;
}

.hero-plan-gift small {
  margin-top: 2px;
  color: var(--text-light);
  font-size: 0.68rem;
}

.hero-plan-check,
.hero-plan-more {
  margin-left: auto;
  color: #46826c;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-plan-more {
  color: var(--text-light);
  font-size: 1.3rem;
}

.hero-plan-link {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-confetti {
  position: absolute;
  z-index: 0;
  color: var(--secondary);
}

.hero-confetti-one {
  top: 7%;
  right: 10%;
  font-size: 3rem;
  transform: rotate(18deg);
}

.hero-confetti-two {
  bottom: 8%;
  left: 2%;
  color: #80a991;
  font-size: 2.4rem;
  transform: rotate(-14deg);
}

.section {
  padding: clamp(58px, 7vw, 84px) 0;
}

.section-alt {
  background: rgba(239, 233, 247, 0.78);
  border-color: rgba(113, 81, 154, 0.1);
}

#features .feature-card:nth-child(1) {
  border-top: 4px solid #a68cc2;
}

#features .feature-card:nth-child(2) {
  border-top: 4px solid #e9a17e;
}

#features .feature-card:nth-child(3) {
  border-top: 4px solid #80a991;
}

.feature-icon-wrap {
  color: var(--primary);
}

.guide-home-section {
  background: linear-gradient(180deg, #fffaf4 0%, #fdf6ed 100%);
}

.guide-home-section .section-title-wrap {
  margin-bottom: 36px;
}

.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-guide-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(67, 49, 81, 0.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(67, 49, 81, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(67, 49, 81, 0.11);
}

.home-guide-art,
.guide-card-art {
  position: relative;
  display: grid;
  min-height: 150px;
  place-items: center;
  overflow: hidden;
}

.home-guide-art > span,
.guide-card-art > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 25px rgba(67, 49, 81, 0.08);
  font-size: 2.65rem;
  transform: rotate(-7deg);
}

.home-guide-art i,
.guide-card-art i {
  position: absolute;
  top: 14px;
  right: 23px;
  color: rgba(113, 81, 154, 0.42);
  font-size: 1.8rem;
  font-style: normal;
}

.home-guide-card-lilac .home-guide-art,
.guide-card-art-lilac {
  background: linear-gradient(135deg, #e8def2, #f6eafa);
}

.home-guide-card-peach .home-guide-art,
.guide-card-art-peach {
  background: linear-gradient(135deg, #fbe2d2, #fff0dd);
}

.home-guide-card-mint .home-guide-art,
.guide-card-art-mint {
  background: linear-gradient(135deg, #dceee4, #edf5df);
}

.home-guide-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.home-guide-kicker {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-guide-content h3 {
  margin-bottom: 9px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.home-guide-content p {
  flex: 1;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-guide-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}

.home-guide-actions > a {
  font-size: 0.84rem;
  font-weight: 800;
}

.save-guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--primary);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.save-guide-button:hover {
  transform: translateY(-1px);
  border-color: rgba(113, 81, 154, 0.35);
  background: #f4eff8;
}

.save-guide-button[aria-pressed="true"] {
  border-color: rgba(113, 81, 154, 0.2);
  background: #f0eafa;
}

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

.saved-guide-summary {
  min-height: 1.5em;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.guide-tools {
  margin: 0 auto 30px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.guide-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 620px;
  min-height: 48px;
  padding: 0 15px;
  margin: 0 auto 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.guide-search-icon {
  color: var(--primary);
  font-size: 1.65rem;
  line-height: 1;
}

.guide-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-main);
  font: inherit;
  font-size: 0.92rem;
}

.guide-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.guide-filter {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.guide-filter.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.guide-result-count {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 0.78rem;
  text-align: center;
}

.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  border-color: var(--border);
}

.guide-card-art {
  min-height: 130px;
}

.guide-card-art > span {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  font-size: 2.1rem;
}

.guide-body {
  gap: 0;
  padding: 24px;
}

.guide-body .save-guide-button {
  align-self: flex-start;
  margin-top: auto;
}

.guide-empty-state {
  padding: 32px 16px;
  color: var(--text-muted);
  text-align: center;
}

.guide-empty-state[hidden],
.guide-card[hidden] {
  display: none;
}

.legal-page-header {
  background:
    radial-gradient(circle at 85% 20%, rgba(237, 222, 246, 0.8), transparent 16rem),
    linear-gradient(120deg, #fffaf4, #f4edf8);
}

.feature-card,
.step-card,
.faq-item {
  border-color: var(--border);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(113, 81, 154, 0.45);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 28px;
  }

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

@media (max-width: 680px) {
  .hero {
    padding: 58px 0 52px;
  }

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

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .hero-visual {
    min-height: auto;
    margin: 12px 8px 0;
  }

  .hero-plan-card {
    width: min(100%, 420px);
    transform: rotate(1deg);
  }

  .home-guide-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-home-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-tools {
    padding: 16px;
  }
}

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