/* J Hunt Learning: site styles */

/* ---------- Fonts (self-hosted, latin subset, variable weight) ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --teal: #0F3D3E;
  --teal-dark: #0A2A2B;
  --marigold: #F2B441;
  --ink: #13201F;
  --ink-soft: #3E4C4A;
  --muted: #4F5D5B;
  --mist: #E3EFEC;
  --paper: #F6F7F4;
  --white: #FFFFFF;
  --line: #E1E5E1;
  --input-border: #C4CCC8;
  --on-teal: #E6F0EE;
  --on-teal-muted: #CFE0DC;
  --on-ink: #C9D2D0;

  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-btn: 999px;
  --radius-card: 18px;
  --radius-panel: 24px;

  --max: 1200px;
  --gutter: 24px;
  --section-y: clamp(64px, 9vw, 96px);
  --header-h: 72px;
  --focus: 0 0 0 3px var(--white), 0 0 0 5px var(--teal);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--marigold); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--teal); color: var(--white); padding: 12px 18px;
  border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

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

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 400px) { :root { --gutter: 16px; } }

.section { padding-block: var(--section-y); scroll-margin-top: var(--header-h); }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-mist { background: var(--mist); }
.bg-teal { background: var(--teal); color: var(--white); }
.bg-ink { background: var(--ink); color: var(--on-ink); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); }
h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h2 {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
h3 { font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600; font-size: 14px; line-height: 1.4;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--teal); margin-bottom: 14px;
}
.lead { font-size: 20px; color: var(--ink-soft); max-width: 560px; }
.intro { color: var(--ink-soft); max-width: 680px; margin-top: 16px; }
.section-head { margin-bottom: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 26px;
  border-radius: var(--radius-btn); border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal); color: var(--white); }
.btn-marigold { background: var(--marigold); color: var(--ink); font-weight: 700; }
.btn-marigold:hover { background: #F5C462; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(246, 247, 244, 0.96);
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 50;
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 6px 16px; padding-block: 12px 4px;
}
.brand { display: inline-flex; justify-self: start; border-radius: 10px; }
.brand img { height: 34px; width: auto; }
.nav { grid-column: 1 / -1; grid-row: 2; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0; margin-inline: -8px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 8px;
}
.nav-links a:hover { color: var(--teal); text-decoration: underline; }

@media (min-width: 800px) {
  .site-header { position: sticky; top: 0; backdrop-filter: saturate(1.2) blur(6px); }
  .header-inner { display: flex; gap: 20px; min-height: var(--header-h); padding-block: 0; }
  .brand { margin-right: auto; }
  .brand img { height: 40px; }
  .nav-links { margin: 0; gap: 4px; }
}
@media (max-width: 799px) {
  .section { scroll-margin-top: 0; }
}
@media (max-width: 380px) {
  .brand img { height: 30px; }
  .header-cta { padding-inline: 14px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; } }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

.induction-card {
  background: var(--teal); color: var(--white);
  border-radius: var(--radius-panel); padding: 32px;
  box-shadow: 0 24px 48px -24px rgba(15, 61, 62, 0.45);
}
.induction-card .card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.induction-card h2 { color: var(--white); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.badge {
  display: inline-block; background: var(--marigold); color: var(--ink);
  font-size: 13px; font-weight: 700; line-height: 1; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
.timeline li {
  display: flex; gap: 16px; padding-block: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px; line-height: 1.45;
}
.timeline li:first-child { border-top: 0; }
.timeline .when { flex: none; width: 76px; color: var(--marigold); font-weight: 600; font-size: 14px; padding-top: 1px; }
.timeline .what { color: var(--on-teal); }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
.progress span { height: 6px; border-radius: 3px; background: var(--marigold); }
.progress span:last-child { background: rgba(255, 255, 255, 0.25); }
@media (max-width: 400px) {
  .induction-card { padding: 24px 20px; }
  .timeline .when { width: 68px; }
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border-radius: var(--radius-card); padding: 28px; }
.problem-card { background: var(--paper); }
.problem-card svg { width: 28px; height: 28px; color: var(--teal); margin-bottom: 18px; }
.problem-card h3 { margin-bottom: 8px; }
.problem-card p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Packages ---------- */
.packages { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.package {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px 24px;
}
.package .duration { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.package h3 { margin-bottom: 14px; }
/* When cards sit side by side, reserve two lines for titles so prices line up */
@media (min-width: 600px) { .package h3 { min-height: calc(2 * 1.3em); } }
.price { font-family: var(--font-head); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
.price .per { font-family: var(--font-body); font-size: 18px; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.founding, .credit { margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--marigold); }
.credit { color: var(--teal); }
.founding-note { margin-top: 4px; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--on-teal-muted); }
.package .desc { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }
.package ul { margin-top: 18px; margin-bottom: 28px; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.package li { position: relative; padding-left: 18px; }
.package li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.package .btn { margin-top: auto; width: 100%; }

.package.featured { background: var(--teal); border-color: var(--teal); color: var(--white); }
.package.featured .duration { color: var(--on-teal-muted); }
.package.featured h3, .package.featured .price { color: var(--white); }
.package.featured .desc, .package.featured ul { color: var(--on-teal); }
.package.featured li::before { background: var(--marigold); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { background: var(--white); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 16px; }
.closing { margin-top: 32px; font-weight: 500; }

/* ---------- Why ---------- */
.why { display: grid; gap: 40px; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; } }
.points { display: grid; gap: 32px 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.point { border-top: 3px solid var(--marigold); padding-top: 18px; }
.point h3 { font-size: 19px; margin-bottom: 6px; }
.point p { color: var(--ink-soft); font-size: 16px; }

/* ---------- About ---------- */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: minmax(0, 380px) 1fr; gap: 72px; } }
.photo {
  aspect-ratio: 4 / 5; width: 100%; max-width: 380px;
  border-radius: var(--radius-panel); background: var(--mist); overflow: hidden;
  display: grid; place-items: center;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .placeholder-mark { width: 30%; height: auto; object-fit: contain; opacity: 0.9; }
.about-text p { color: var(--ink-soft); margin-top: 16px; max-width: 620px; }
.about-text h2 { margin-bottom: 4px; }
.text-link {
  display: inline-block; margin-top: 26px; padding-block: 6px;
  color: var(--teal); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--marigold);
}
.text-link:hover { color: var(--teal-dark); border-bottom-color: var(--teal); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.contact h2 { color: var(--white); font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.1; }
.contact-text { margin-top: 18px; font-size: 18px; color: var(--on-teal); max-width: 520px; }
.contact-list { margin-top: 28px; display: grid; gap: 12px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--white); font-weight: 500; }
.contact-list a:hover { color: var(--marigold); }
.contact-list svg { width: 22px; height: 22px; color: var(--marigold); flex: none; }

.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius-panel); padding: 32px; }
@media (max-width: 400px) { .form-card { padding: 24px 18px; } }
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 16px;
  background: var(--white); border: 1.5px solid var(--input-border); border-radius: 10px;
  transition: border-color .15s ease;
}
.field textarea { resize: vertical; min-height: 116px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F3D3E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); border-radius: 10px;
}
.field [aria-invalid="true"] { border-color: #B42318; }
.field-error { font-size: 14px; color: #B42318; font-weight: 500; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit { margin-top: 24px; min-height: 52px; font-weight: 700; }
.submit[disabled] { opacity: 0.7; cursor: progress; }
.small-print { margin-top: 14px; font-size: 14px; color: var(--muted); }
.form-status { margin-top: 16px; font-size: 15px; font-weight: 500; border-radius: 10px; }
.form-status:empty { display: none; }
.form-status.is-success { background: var(--mist); color: var(--teal); padding: 14px 16px; }
.form-status.is-error { background: #FEF3F2; color: #B42318; padding: 14px 16px; }
.form-status a { color: inherit; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 32px; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 4px; margin-inline: -10px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--on-ink); }
.footer-links a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--marigold); }

/* ---------- Privacy page ---------- */
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 40px; margin-bottom: 10px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p, .prose ul + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.updated { color: var(--muted); font-size: 15px; }
.draft-note {
  margin-block: 24px 8px; padding: 16px 18px; border-radius: 12px;
  background: #FFF6E3; border: 1.5px solid var(--marigold); color: var(--ink); font-size: 15px;
}

/* ---------- Sample review page ---------- */
.report h3 { font-size: 19px; margin-top: 28px; margin-bottom: 4px; }
.report li strong, .report p strong { color: var(--ink); }
.sample-note {
  margin-block: 20px 24px; padding: 16px 18px; border-radius: 12px;
  background: var(--mist); color: var(--ink); font-size: 16px;
}
.report-meta { display: grid; gap: 8px; margin: 0; font-size: 16px; }
.report-meta div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.report-meta dt { font-weight: 600; color: var(--ink); }
.report-meta dd { margin: 0; color: var(--ink-soft); }
.report-actions { margin-top: 24px; }
.summary-panel { margin-top: 20px; padding: 24px; border-radius: var(--radius-card); background: var(--paper); border-left: 4px solid var(--marigold); }
.summary-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink) !important; }
.summary-panel ol { list-style: decimal; padding-left: 22px; margin-top: 10px; display: grid; gap: 8px; }
.summary-panel li { color: var(--ink-soft); }

.report-wide { max-width: 960px; margin-top: 24px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); }
.action-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.action-table th { text-align: left; background: var(--teal); color: var(--white); font-weight: 600; padding: 12px 14px; }
.action-table td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.action-table td:first-child { font-family: var(--font-head); font-weight: 800; color: var(--teal); }
.action-table td:nth-child(2) { color: var(--ink); font-weight: 500; }
.action-table tbody tr:nth-child(-n+3) { background: #FBF7EC; }
.effort { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.effort.low { background: var(--mist); color: var(--teal); }
.effort.med { background: #F3EBD8; color: #5C4513; }
.effort.high { background: var(--teal); color: var(--white); }

.guarantee { margin-top: 40px; padding: 28px; border-radius: var(--radius-panel); background: var(--teal); }
.guarantee h2 { margin-top: 0 !important; color: var(--white); }
.guarantee p { color: var(--on-teal) !important; font-size: 18px; }
.report-cta { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.report-cta .btn-row { margin-top: 20px; }

/* Review card extras */
.guarantee-line { display: flex; gap: 10px; align-items: flex-start; margin-top: -8px; margin-bottom: 20px; padding: 12px 14px; border-radius: 12px; background: var(--mist); color: var(--teal); font-size: 14px; font-weight: 500; line-height: 1.45; }
.guarantee-line strong { font-weight: 700; }
.guarantee-line svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.sample-link { margin-top: -10px; margin-bottom: 20px; font-size: 15px; font-weight: 600; }

.print-only { display: none; }
@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  .print-only { display: flex !important; }
  .print-brand { align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
  .print-brand img { height: 32px; width: auto; }
  .site-header, .site-footer, .skip-link, .no-print { display: none !important; }
  body, .bg-white { background: #fff; }
  .section { padding-block: 0; }
  .table-wrap { overflow: visible; border: 0; }
  .action-table { min-width: 0; font-size: 12px; }
  .action-table tr, .summary-panel, .guarantee { break-inside: avoid; }
  .report h2, .report h3 { break-after: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
