/* =============================================================
   Instant ITR — Concept 3 · Friendly Personal Brand
   Warm, advisor-first, editorial layout
   ============================================================= */

:root {
  --bg: #F5F5F0;
  --paper: #FFFFFF;
  --ink: #1C1917;
  --ink-2: #44403C;
  --ink-3: #78716C;
  --teal: #0E7490;
  --teal-2: #155E75;
  --teal-soft: #CFFAFE;
  --warm: #C2410C;
  --warm-soft: #FED7AA;
  --sage: #6B7280;
  --line: #E7E5E4;
  --line-soft: #F1EEEB;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --max: 1180px;
  --t: 280ms cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
strong, .stat { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 40px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; line-height: 1;
  min-height: 48px;
  border: 1.5px solid transparent;
  transition: transform var(--t), background-color var(--t), border-color var(--t), color var(--t);
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(14,116,144,.25); }
.btn .i { width: 16px; height: 16px; }
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { background: var(--teal); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--lg { padding: 18px 28px; min-height: 56px; font-size: 16px; }

/* Script accent (handwritten) */
.script {
  font-family: 'Caveat', cursive;
  color: var(--warm);
  font-size: 28px;
  font-weight: 600;
  display: inline-block;
  line-height: 1;
}

/* Highlight underlines */
.hl {
  background-image: linear-gradient(180deg, transparent 65%, var(--warm-soft) 65%);
  padding: 0 4px;
}
.hl-2 {
  background-image: linear-gradient(180deg, transparent 65%, var(--teal-soft) 65%);
  padding: 0 4px;
}

/* Top bar */
.top {
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
}
.top__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.top__item { display: inline-flex; align-items: center; gap: 8px; }
.top__item svg { width: 14px; height: 14px; opacity: .7; }
.top__item a { transition: color var(--t); }
.top__item a:hover { color: var(--warm-soft); }
.top__item strong { font-weight: 600; }
@media (max-width: 640px) { .top__item--hide { display: none; } }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,245,240,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr__row {
  display: flex; align-items: center; gap: 24px;
  padding-block: 14px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
}
.logo__photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FED7AA, #C2410C);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
}
.logo__photo--white { background: linear-gradient(135deg, #FED7AA, #FB923C); }
.logo__text {
  display: flex; flex-direction: column;
  font-size: 15px; font-weight: 600; line-height: 1.15;
}
.logo__text small {
  font-size: 11px; font-weight: 400; color: var(--ink-3);
  letter-spacing: .02em;
}
.logo--white { color: var(--bg); }
.logo__text--white small { color: rgba(245,245,240,.6); }

.nav { display: none; align-items: center; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color var(--t);
  position: relative;
}
.nav a:hover { color: var(--warm); }
.nav a:hover::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--warm); border-radius: 2px;
}
.hdr__t {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; margin-left: auto;
  border-radius: var(--r-sm);
}
.hdr__t span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.hdr__t:hover { background: var(--line-soft); }
.hdr .btn { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .hdr .btn { display: inline-flex; }
  .hdr__t { display: none; }
}
@media (max-width: 1023px) {
  .nav {
    position: fixed; inset: 70px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 20px;
    transform: translateY(-110%); transition: transform var(--t);
    box-shadow: 0 12px 32px -16px rgba(0,0,0,.1);
  }
  .nav--open { display: flex; transform: translateY(0); }
  .nav a { padding: 14px; font-size: 17px; }
}

/* Hero */
.hero { padding-block: 64px 80px; }
.hero__grid {
  display: grid; gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
}
.hero__copy { display: grid; gap: 20px; }
.hero__copy h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -.03em;
  margin-block: 8px;
}
.lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.7;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 12px;
}
.reassure {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-3);
  margin-top: 8px;
}
.reassure svg {
  width: 18px; height: 18px;
  background: var(--teal); color: #fff;
  border-radius: 50%; padding: 3px;
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 80px; }
  .hero { padding-block: 96px 120px; }
}

/* Hero photo */
.hero__photo { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.photo-frame {
  aspect-ratio: 4/5;
  background: #FED7AA;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  border: 8px solid var(--paper);
  box-shadow: 0 30px 60px -20px rgba(124,45,18,.4), 0 8px 16px -8px rgba(0,0,0,.1);
}
.photo-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}
.photo-frame--lg {
  aspect-ratio: 1/1.2;
  border-width: 6px;
  max-width: 360px;
}
.photo-cap {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  display: grid; gap: 4px;
}
.cap-stars { color: #F59E0B; letter-spacing: 2px; font-size: 14px; }
.photo-cap em { font-style: normal; font-size: 13px; color: var(--ink); }

.photo-tag {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 18px;
  display: grid; gap: 2px;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.08);
  max-width: 200px;
}
.photo-tag strong { font-size: 22px; font-weight: 700; color: var(--teal); letter-spacing: -.02em; }
.photo-tag span { font-size: 12px; color: var(--ink-3); line-height: 1.4; }
.photo-tag--1 { top: 24px; left: -16px; transform: rotate(-3deg); }
.photo-tag--2 { bottom: 32px; right: -16px; transform: rotate(2deg); }
@media (max-width: 768px) {
  .photo-tag--1, .photo-tag--2 { display: none; }
}

/* Stats band */
.band {
  background: var(--ink);
  color: var(--bg);
  padding-block: 32px;
}
.band__row {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}
.band__row > div { display: grid; gap: 4px; }
.band strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.band span { font-size: 14px; color: rgba(245,245,240,.7); }
.band__sep { color: rgba(245,245,240,.3); font-size: 24px; line-height: 1; display: none; }
@media (min-width: 768px) {
  .band__row { flex-direction: row; justify-content: center; gap: 32px; }
  .band__sep { display: inline; }
}

/* Heads */
.head {
  display: grid; gap: 12px; justify-items: center; text-align: center;
  max-width: 720px; margin: 0 auto 56px;
}
.head--left { justify-items: start; text-align: left; margin-inline: 0; }
.head h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.025em;
}
.head p { color: var(--ink-2); font-size: 17px; max-width: 56ch; }

/* How I help */
.help { padding-block: 96px; }
.help__grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.help__card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid; gap: 12px;
  position: relative;
  border: 1px solid var(--line-soft);
  transition: transform var(--t), box-shadow var(--t);
}
.help__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(124,45,18,.15);
}
.help__num {
  font-family: 'Caveat', cursive;
  font-size: 32px;
  color: var(--warm);
  font-weight: 700;
  line-height: 1;
}
.help__card h3 { font-size: 22px; }
.help__card p { color: var(--ink-2); font-size: 16px; }
.help__card em {
  font-style: italic;
  color: var(--ink-3);
  font-size: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  margin-top: 8px;
}
@media (min-width: 768px) { .help__grid { grid-template-columns: repeat(2, 1fr); } }

/* Why people stay */
.why {
  padding-block: 96px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(254,215,170,.4), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(207,250,254,.4), transparent 60%),
    var(--bg);
  border-block: 1px solid var(--line-soft);
}
.why__grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
.why article {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid; gap: 12px;
  border: 1px solid var(--line-soft);
}
.why__icon {
  width: 48px; height: 48px;
  background: var(--teal-soft); color: var(--teal-2);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
}
.why__icon svg { width: 24px; height: 24px; }
.why h3 { font-size: 20px; }
.why p { color: var(--ink-2); font-size: 16px; }
@media (min-width: 768px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }

/* Stories */
.stories { padding-block: 96px; }
.stories__grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
.story {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 0;
  display: grid; gap: 16px;
  border: 1px solid var(--line-soft);
  position: relative;
}
.story__years {
  position: absolute; top: -12px; left: 24px;
  background: var(--warm); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  letter-spacing: .02em;
}
.story blockquote {
  margin: 0;
  font-size: 16px; line-height: 1.7;
  color: var(--ink);
  font-style: italic;
}
.story figcaption {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.ava {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #FED7AA, #C2410C);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.story strong { display: block; font-size: 15px; }
.story em { font-size: 13px; color: var(--ink-3); font-style: normal; }

.stories__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px;
  padding: 14px 20px;
  background: var(--paper);
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  margin-inline: auto;
  width: fit-content;
  display: flex;
  justify-content: center;
}
.stories__more strong { color: var(--ink); font-weight: 700; }

@media (min-width: 768px) { .stories__grid { grid-template-columns: repeat(3, 1fr); } }

/* About */
.about {
  padding-block: 96px;
  background:
    linear-gradient(180deg, var(--bg), var(--paper));
  border-block: 1px solid var(--line-soft);
}
.about__grid {
  display: grid; gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
}
.about__photo { display: grid; gap: 16px; justify-items: center; }
.signature {
  font-family: 'Caveat', cursive;
  font-size: 36px;
  color: var(--warm);
  font-weight: 600;
  margin-top: -8px;
}
.about__copy { display: grid; gap: 16px; }
.about__copy h2 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -.025em;
}
.about__copy p { color: var(--ink-2); }
.creds { display: grid; gap: 10px; margin-top: 16px; }
.creds li {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; color: var(--ink);
}
.creds svg {
  width: 22px; height: 22px;
  background: var(--teal); color: #fff;
  border-radius: 50%; padding: 4px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; }
}

/* Book */
.book {
  padding-block: 96px;
  background: var(--ink);
  color: var(--bg);
}
.book__inner {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
.book__copy { display: grid; gap: 16px; }
.book__copy .script { color: #FDBA74; }
.book__copy h2 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -.025em;
}
.book__copy p { color: rgba(245,245,240,.75); font-size: 17px; }
.book__list { display: grid; gap: 8px; padding-top: 8px; }
.book__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: rgba(245,245,240,.85);
}
.book__list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #FDBA74;
}

.book__card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 40px;
  display: grid; gap: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
}
.book__card h3 { font-size: 24px; }
.book__card p { color: var(--ink-2); }
.book__btns { display: grid; gap: 10px; margin-top: 8px; }
.book__btns .btn--ghost { color: var(--ink); border-color: var(--line); }
.book__btns .btn--ghost:hover { background: var(--ink); color: var(--bg); }
.book__card small { font-size: 13px; color: var(--ink-3); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; }

@media (min-width: 1024px) {
  .book__inner { grid-template-columns: 1.1fr .9fr; gap: 80px; }
}

/* FAQ */
.faq { padding-block: 96px; }
.faq__list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq details[open] { border-color: var(--warm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  font-weight: 600; font-size: 18px;
  color: var(--ink);
  cursor: pointer; list-style: none;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; color: var(--warm); transition: transform var(--t); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 28px 24px; color: var(--ink-2); line-height: 1.7; }

/* Footer */
.ftr {
  background: var(--ink);
  color: var(--bg);
  padding-block: 64px 24px;
}
.ftr__top {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245,245,240,.1);
}
.ftr__top p { color: rgba(245,245,240,.6); font-size: 15px; max-width: 36ch; margin-top: 12px; }
.ftr__cols { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.ftr h4 {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #FDBA74;
  margin-bottom: 12px;
}
.ftr a { display: block; font-size: 14px; color: rgba(245,245,240,.85); padding-block: 4px; transition: color var(--t); }
.ftr a:hover { color: var(--bg); }
.ftr__bot {
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12px; color: rgba(245,245,240,.5);
}
.ftr__bot a { color: #FDBA74; }
@media (min-width: 768px) {
  .ftr__top { grid-template-columns: 1.5fr 2fr; gap: 64px; }
}

/* FAB */
.fab {
  position: fixed; right: 20px; bottom: 20px;
  width: 60px; height: 60px;
  background: #25D366; color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(37,211,102,.15), 0 8px 24px rgba(37,211,102,.4);
  z-index: 60;
  transition: transform var(--t);
  animation: bobble 4s ease-in-out infinite;
}
@keyframes bobble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.fab:hover { transform: scale(1.06); animation: none; }
.fab svg { width: 30px; height: 30px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
