/* Highview Tutors — design system carried from Highway Careers Coaching
   Deep ink on warm paper, emerald accent, muted gold, Fraunces display + Inter body. */

:root {
  --ink: #101a26;
  --ink-soft: #465364;
  --paper: #faf8f4;
  --surface: #ffffff;
  --accent: #0f7b5f;
  --accent-dark: #0b5f4a;
  --accent-tint: #e7f2ee;
  --accent-bright: #57c2a2;
  --gold: #b98a2f;
  --gold-tint: #f5eeda;
  --line: #e7e1d6;
  --on-dark: #eef1f5;
  --on-dark-soft: #aeb9c9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 26, 38, 0.05), 0 8px 24px rgba(16, 26, 38, 0.06);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
.wrap { width: min(1080px, 92%); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 38em; }
.muted { color: var(--ink-soft); }
a { color: var(--accent-dark); text-underline-offset: 3px; }

/* ---------- Header + tabs ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 0; gap: 1rem;
}
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 0.6rem;
  min-width: 0;
}
.brand .bt { min-width: 0; }
.nav-toggle { flex: none; }
.brand-mark {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  background: var(--ink); display: grid; place-items: center;
}
.brand-mark svg { display: block; }
.brand .bt { display: block; line-height: 1.1; }
.brand .bt small {
  display: block; font-family: var(--font-body); font-weight: 600;
  font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-top: 2px;
}

.nav-links { display: none; align-items: center; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.94rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent-dark); }
.nav-links a[aria-current="page"] { color: var(--accent-dark); font-weight: 700; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 0.7rem 0 1.1rem; }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.6rem 0; color: var(--ink);
  text-decoration: none; font-weight: 500;
}
.mobile-menu a[aria-current="page"] { color: var(--accent-dark); font-weight: 700; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 520px) {
  .brand { gap: 0.5rem; font-size: 1rem; }
  .brand-mark { width: 30px; height: 30px; }
  .brand .bt small { font-size: 0.52rem; letter-spacing: 0.1em; }
}
@media (max-width: 380px) {
  .brand .bt small { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.78rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.96rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-tint); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.6rem, 6vw, 4.4rem) 0; }
.section-tight { padding: clamp(1.8rem, 4vw, 2.8rem) 0; }
.section h2 { margin-bottom: 0.7rem; }
.section > .wrap > .lede { margin-bottom: 2rem; }
.section-dark {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 90 L60 30 L120 90' fill='none' stroke='%2357c2a2' stroke-width='6' opacity='0.05'/%3E%3C/svg%3E");
  color: var(--on-dark);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede, .section-dark .muted { color: var(--on-dark-soft); }
.section-dark .eyebrow { color: var(--accent-bright); }

.page-head { padding: clamp(2.2rem, 6vw, 3.6rem) 0 clamp(1.2rem, 3vw, 2rem); }
.page-head h1 { margin-bottom: 0.7rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.8rem, 8vw, 5rem) 0 clamp(2.2rem, 6vw, 3.6rem); position: relative; overflow: hidden; }
.hero h1 { max-width: 16em; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero .lede { margin-bottom: 1.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 0.8rem; }
.hero-note { font-size: 0.9rem; color: var(--ink-soft); }
.peaks { display: none; position: absolute; right: -1%; top: 8%; width: 340px; opacity: 0.45; pointer-events: none; }
@media (min-width: 1100px) { .peaks { display: block; } }

.locpill {
  display: inline-block; border: 1.5px solid var(--line); background: #fff;
  border-radius: 999px; padding: 0.4rem 1.1rem; font-size: 0.9rem;
  color: var(--ink-soft); margin-bottom: 1.2rem;
}
.locpill b { color: var(--ink); }

/* ---------- Offer band ---------- */
.offer-band { background: var(--gold-tint); border-block: 1px solid #e6dcc0; }
.offer-band .wrap { padding: 1.6rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 2rem; }
.offer-band .oh { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
.offer-band .os { color: #6b5518; font-size: 0.95rem; font-weight: 600; }
.offer-band .btn { margin-left: auto; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.card .tag {
  display: inline-block; padding: 0.2rem 0.75rem; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-dark);
  font-weight: 700; font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.section-dark .card {
  background: rgba(255,255,255,0.05); border-color: rgba(87,194,162,0.3); box-shadow: none;
}
.section-dark .card p { color: var(--on-dark-soft); }

.ticks { list-style: none; }
.ticks li { padding: 0.38rem 0 0.38rem 1.7rem; position: relative; color: var(--ink-soft); font-size: 0.96rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.ticks li b { color: var(--ink); }
.section-dark .ticks li { color: var(--on-dark-soft); }
.section-dark .ticks li::before { color: var(--accent-bright); }
.section-dark .ticks li b { color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-block; padding: 0.45rem 1.1rem; border: 1.5px solid var(--line);
  border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 600; font-size: 0.9rem;
}
.section-dark .chip { background: transparent; color: var(--on-dark); border-color: rgba(87,194,162,0.45); }

/* ---------- Achievements ---------- */
.ach-card { text-align: center; }
.ach-card .k {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
}
.ach-card .n { font-weight: 700; margin-top: 0.4rem; }
.ach-card .v {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.6rem; color: var(--gold); margin-top: 0.3rem; line-height: 1.1;
}
.ach-card .d { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.2rem; }
.section-dark .ach-card .k { color: var(--accent-bright); }
.section-dark .ach-card .n { color: #fff; }
/* muted gold goes muddy on ink — use the brighter gold on dark backgrounds */
.section-dark .ach-card .v { color: #e0b34c; }

/* ---------- Quote ---------- */
.quote { border-left: 4px solid var(--gold); padding-left: 1.2rem; }
.quote p.q { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.5; }
.quote .who { margin-top: 0.8rem; font-size: 0.9rem; color: var(--ink-soft); }
.quote .who b { color: var(--ink); }
.section-dark .quote p.q { color: var(--on-dark); }
.section-dark .quote .who { color: var(--on-dark-soft); }
.section-dark .quote .who b { color: #fff; }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card .price {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; margin: 0.3rem 0 0.8rem;
}
.price-card .price small { font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); font-family: var(--font-body); }
.price-card.featured { border: 2px solid var(--accent); }
.badge {
  position: absolute; top: -12px; left: 1.4rem; background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 12px; border-radius: 999px;
}

/* ---------- Callout ---------- */
.note {
  background: var(--accent-tint); border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0; padding: 1rem 1.2rem;
  font-size: 0.95rem; color: var(--ink-soft); margin-top: 1.4rem;
}
.note strong { color: var(--ink); }

.capture {
  background: var(--ink); border-radius: var(--radius);
  padding: clamp(1.6rem, 5vw, 2.4rem); color: var(--on-dark);
}
.capture h2 { color: #fff; margin-bottom: 0.5rem; }
.capture p { color: var(--on-dark-soft); margin-bottom: 1.2rem; }
.capture .num {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 1.8rem); color: #fff; text-decoration: none;
}
.capture .num:hover { color: var(--accent-bright); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.3rem, 4vw, 1.9rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1rem; }
label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 0.35rem; }
input[type="text"], input[type="tel"], input[type="email"], select {
  font: inherit; padding: 0.72rem 1rem; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.subj-checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.subj-checks label {
  display: flex; align-items: center; gap: 0.45rem; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.88rem;
  font-weight: 500; cursor: pointer; margin: 0;
}
.subj-checks input { accent-color: var(--accent-dark); width: 15px; height: 15px; }
.mode { display: flex; gap: 0.5rem; }
.mode label {
  flex: 1; text-align: center; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.6rem 0.3rem; font-size: 0.88rem; font-weight: 500; cursor: pointer; margin: 0;
}
.mode input { accent-color: var(--accent-dark); margin-right: 0.35rem; }
#form-msg { margin-top: 0.8rem; font-size: 0.9rem; color: var(--accent-dark); min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding: 2.6rem 0 1.8rem; font-size: 0.9rem; }
.site-footer .cols { display: grid; gap: 1.4rem; margin-bottom: 1.8rem; }
@media (min-width: 700px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.6rem; }
.site-footer a { color: #cfd7e2; text-decoration: none; display: block; padding: 0.2rem 0; }
.site-footer a:hover { color: var(--accent-bright); }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.2rem; font-size: 0.8rem; }

/* ---------- Mobile polish ---------- */
@media (max-width: 700px) {
  /* offer band: stack cleanly instead of stranding the button to the right */
  .offer-band .wrap { flex-direction: column; align-items: stretch; gap: 0.9rem; padding: 1.4rem 0; }
  .offer-band .btn { margin-left: 0; text-align: center; }
}

@media (max-width: 560px) {
  /* full-width, equal CTAs read as deliberate rather than ragged */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }

  .locpill { font-size: 0.82rem; padding: 0.35rem 0.9rem; }
  .hero { padding-top: 2rem; }
  .hero .lede { font-size: 1.02rem; }

  /* tighter, denser achievement tiles — three tall boxes felt empty */
  .ach-card { padding: 1.05rem 1rem; }
  .ach-card .v { font-size: 1.5rem; }
  .ach-card .n { font-size: 0.95rem; }

  .card { padding: 1.25rem 1.2rem; }
  .capture { padding: 1.5rem 1.3rem; }
  .quote { padding-left: 1rem; }
  .quote p.q { font-size: 1.02rem; }

  /* keep the eyebrow/heading pair tight so sections start with impact */
  .eyebrow { margin-bottom: 0.6rem; }
  .section > .wrap > .lede { margin-bottom: 1.5rem; }
}
