:root {
  --ink: #12395f;
  --ink-deep: #0b2844;
  --coral: #ed684c;
  --gold: #d99a18;
  --cream: #fbf6ee;
  --paper: #fffdf9;
  --sand: #eadbc7;
  --muted: #5c6670;
  --line: rgba(18, 57, 95, 0.14);
  --shadow: 0 18px 50px rgba(27, 43, 58, 0.11);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: white; padding: .75rem 1rem; border-radius: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 246, 238, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap, .container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.brand span { max-width: 11rem; line-height: 1.05; }
.site-nav { display: flex; align-items: center; gap: 1.3rem; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: .94rem; padding: .45rem .2rem; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: var(--coral); border-color: currentColor; }
.menu-button { display: none; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: .6rem .8rem; border-radius: 12px; font-weight: 800; }

main { min-height: 64vh; }
.hero { padding: clamp(3rem, 7vw, 6.5rem) 0 4rem; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.eyebrow { margin: 0 0 .75rem; color: var(--coral); font-size: .82rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 12ch; margin-bottom: 1.25rem; font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.3rem; }
.hero-copy { max-width: 37rem; }
.hero-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.hero-image { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(18,57,95,.08); }
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.15rem; border-radius: 14px; text-decoration: none; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; box-shadow: 0 10px 24px rgba(18,57,95,.2); }
.button-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-white { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-head p { max-width: 38rem; margin: 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { position: relative; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 8px 26px rgba(27,43,58,.05); }
.card-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1.2rem; border-radius: 13px; color: white; background: var(--coral); font-weight: 900; }
.card p { margin-bottom: 0; color: var(--muted); }
.category-card { min-height: 220px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; }
.category-card::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 100px; height: 100px; background: radial-gradient(circle at top right, rgba(217,154,24,.32), transparent 67%); }
.category-card:nth-child(2) .card-number { background: var(--gold); }
.category-card:nth-child(3) .card-number { background: var(--ink); }
.text-link { color: var(--coral); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.promise { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.promise-list { display: grid; gap: 1rem; }
.promise-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.promise-item strong { color: var(--coral); font-size: 1.2rem; }
.promise-item h3 { margin-bottom: .35rem; }
.promise-item p { margin: 0; color: var(--muted); }

.page-hero { padding: clamp(3rem, 7vw, 6rem) 0 2.5rem; }
.page-hero h1 { max-width: 15ch; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.page-hero p { max-width: 48rem; color: var(--muted); font-size: 1.1rem; }
.content-shell { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3.5rem; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.8rem; font-size: 1.85rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: #394754; }
.prose a { color: var(--coral); font-weight: 750; }
.notice { padding: 1.2rem 1.3rem; border-left: 5px solid var(--gold); background: #fff8e8; border-radius: 0 16px 16px 0; }
.notice p { margin: 0; }
.product-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.product-pick { display: flex; flex-direction: column; padding: 1.35rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.product-pick h3 { margin: .9rem 0 .55rem; }
.product-pick p { margin-top: 0; }
.product-pick ul { padding-left: 1.2rem; }
.product-pick .affiliate-button { align-self: flex-start; margin-top: auto; max-width: 100%; text-align: center; background: var(--ink); color: white; }
.product-pick .market-note { display: none; }
.geo-amazon-link[aria-busy="true"] { cursor: wait; opacity: .72; }
.affiliate-note { padding: .9rem 1rem; border-radius: 12px; background: #f3f6f8; font-size: .95rem; }
.market-dialog { width: min(92vw, 520px); padding: 0; border: 0; border-radius: 22px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.market-dialog::backdrop { background: rgba(8, 27, 45, .62); }
.market-dialog-content { position: relative; padding: clamp(1.5rem, 5vw, 2.4rem); }
.market-dialog-content h2 { margin-bottom: .75rem; font-size: 1.8rem; }
.market-dialog-content > p:not(.eyebrow) { color: var(--muted); }
.market-dialog-close { position: absolute; top: .8rem; right: .9rem; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--ink); background: #f3f6f8; font-size: 1.6rem; cursor: pointer; }
.market-actions { display: grid; gap: .75rem; margin-top: 1.4rem; }
.market-actions .button { width: 100%; border: 1px solid var(--line); cursor: pointer; }
.sidebar { position: sticky; top: 105px; padding: 1.3rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.sidebar h2 { font-size: 1.1rem; }
.sidebar ul { margin: 0; padding-left: 1.2rem; }
.sidebar a { color: var(--ink); font-weight: 700; }

.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.guide-card { display: flex; flex-direction: column; min-height: 270px; }
.tag { display: inline-flex; align-self: flex-start; padding: .3rem .65rem; border-radius: 999px; color: var(--ink); background: rgba(217,154,24,.18); font-size: .8rem; font-weight: 850; }
.guide-card h2 { margin: 1rem 0 .7rem; font-size: 1.55rem; }
.guide-card p { flex: 1; }
.status { align-self: flex-start; margin-top: 1rem; color: var(--coral); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.contact-card { max-width: 720px; padding: clamp(1.5rem, 5vw, 3rem); background: var(--ink); color: white; border-radius: 30px; box-shadow: var(--shadow); }
.contact-card p { color: rgba(255,255,255,.78); }
.contact-card .button { background: var(--coral); color: white; }
.contact-card .contact-secondary { background: transparent; border-color: rgba(255,255,255,.35); }
.contact-email { color: white; font-weight: 750; overflow-wrap: anywhere; }

.site-footer { padding: 3.5rem 0 2rem; background: var(--ink-deep); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-grid h2 { font-size: 1.1rem; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: .55rem; }
.footer-grid a:hover { color: white; }
.footer-associate { margin: 2rem 0 0; color: rgba(255,255,255,.78); font-size: .95rem; }
.footer-associate + .footer-bottom { margin-top: .75rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.62); font-size: .9rem; }

@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .site-nav { display: none; position: absolute; inset: 78px 1rem auto; flex-direction: column; align-items: stretch; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav[data-open="true"] { display: flex; }
  .hero-grid, .promise, .content-shell { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 620px) {
  .brand span { display: none; }
  .nav-wrap { min-height: 68px; }
  .site-nav { top: 68px; }
  .hero { padding-top: 1.4rem; }
  .hero-grid { gap: 2rem; }
  .grid-3, .guide-grid, .product-picks, .footer-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .footer-grid { gap: 1.5rem; }
}

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

*:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Instagram links and guide follow section. */
.instagram-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; max-width: 100%; font-weight: 750; text-underline-offset: 4px; }
.instagram-icon { flex: 0 0 22px; }
.instagram-link span { min-width: 0; overflow-wrap: anywhere; }
.footer-grid .footer-instagram { margin: .8rem 0 0; }
.footer-instagram .instagram-link { color: white; }
.footer-instagram .instagram-link:hover { text-decoration-thickness: 2px; }
.instagram-follow { padding: 0 0 clamp(2rem, 5vw, 4rem); }
.instagram-follow-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; padding: clamp(1.25rem, 3.5vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.instagram-follow-copy { flex: 1 1 28rem; min-width: 0; }
.instagram-follow-copy h2 { margin: 0 0 .65rem; font-size: clamp(1.4rem, 2.5vw, 1.9rem); line-height: 1.2; }
.instagram-follow-copy p { margin: 0; color: var(--muted); }
.instagram-follow-link { flex: 0 1 auto; gap: .65rem; max-width: 100%; text-align: center; }
.instagram-follow-link span:first-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .instagram-follow-copy { flex-basis: 100%; }
  .instagram-follow-link { width: 100%; }
}
