/* ============================================================
   Easy Business English - "Sound Like You Belong in the Room"
   Brand: premium education. Deep emerald + teal + warm gold.
   Fraunces display serif, Inter body. Mobile-first.
   ============================================================ */

:root {
  --emerald-deep: #04241f;
  --emerald: #06352d;
  --emerald-2: #0a4a3f;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --gold-deep: #b8862f;
  --gold: #d9a94e;
  --gold-bright: #f0cd7d;
  --gold-pale: #fdf6e3;
  --grad-gold: linear-gradient(135deg, #b8862f 0%, #d9a94e 45%, #f0cd7d 100%);
  --grad-emerald: linear-gradient(160deg, #06352d 0%, #0a4a3f 60%, #0f766e 130%);
  --paper: #fbf9f3;
  --card: #ffffff;
  --body: #33413c;
  --muted: #64746d;
  --line: rgba(6, 53, 45, 0.12);
  --hero-text: #e9f3ee;
  --hero-muted: #b9cdc4;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(4, 36, 31, 0.10);
  --shadow-lg: 0 18px 44px rgba(4, 36, 31, 0.16);
  --shadow-gold: 0 14px 34px rgba(217, 169, 78, 0.28);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--body);
  background: linear-gradient(180deg, #fbf9f3 0%, #f6f2e8 100%);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-bright); color: var(--emerald-deep); }

img { max-width: 100%; height: auto; }

a { color: var(--emerald-2); }
a:hover { color: var(--gold-deep); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Readable measure for running prose on wide pages */
.wrap > p,
.wrap > ul,
.wrap > ol {
  max-width: 44em;
}

main > section { padding: 72px 0; }
main > section:first-child { padding-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--emerald-deep);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin: 0 0 0.6em;
  font-weight: 600;
}
h3 { font-size: 1.25rem; margin: 1.25em 0 0.4em; font-weight: 600; }
p { margin: 0.75em 0; }
ul, ol { margin: 0.75em 0; padding-left: 1.5em; }
li { margin: 0.35em 0; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 36, 31, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 205, 125, 0.22);
  padding: 14px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
  color: #ffffff;
  line-height: 1.1;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: block;
}
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-wordmark { color: #ffffff; letter-spacing: 0.01em; }
.brand-tagline {
  font-family: var(--body-font);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 4px;
  white-space: nowrap;
}
.brand:hover .brand-mark { filter: drop-shadow(0 2px 10px rgba(217, 169, 78, 0.55)); }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 4px; }
.site-nav a {
  margin-left: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--hero-text);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover {
  background: rgba(217, 169, 78, 0.18);
  color: var(--gold-bright);
}
.site-nav a[aria-current="page"] {
  background: rgba(217, 169, 78, 0.16);
  color: var(--gold-bright);
}

/* ---------- Hero (deep emerald, gold light) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(240, 205, 125, 0.22), transparent 62%),
    radial-gradient(760px 520px at 95% 115%, rgba(20, 184, 166, 0.20), transparent 60%),
    radial-gradient(760px 520px at 5% 115%, rgba(20, 184, 166, 0.12), transparent 60%),
    linear-gradient(170deg, #04241f 0%, #06352d 55%, #0a4a3f 100%);
  color: var(--hero-text);
  padding: 104px 0 88px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 40%, rgba(240, 205, 125, 0.07) 50%, transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, #b8862f 0%, #f0cd7d 50%, #b8862f 100%);
}
.hero h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.6vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 16em;
}
.hero .eyebrow { color: var(--gold-bright); margin: 0 0 16px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 12px;
}

.value-prop {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--hero-muted);
  max-width: 40rem;
  margin: 0 0 26px;
}
.hero .value-prop strong { color: #ffffff; font-weight: 600; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--grad-gold);
  color: #3a2a08;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  margin: 10px 10px 10px 0;
  box-shadow: var(--shadow-gold);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover {
  background: var(--grad-gold);
  filter: brightness(1.07);
  color: #3a2a08;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(217, 169, 78, 0.45);
}
.btn.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(240, 205, 125, 0.55);
  box-shadow: none;
}
.btn.secondary:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(217, 169, 78, 0.12);
  filter: none;
}
section:not(.hero) .btn.secondary {
  color: var(--emerald-deep);
  border-color: var(--emerald-2);
}
section:not(.hero) .btn.secondary:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  background: var(--gold-pale);
  filter: none;
}
.price-card.featured .btn.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}
.price-card.featured .btn.secondary:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(217, 169, 78, 0.12);
}

.cta { margin-top: 28px; }

/* ---------- Sample audio player ---------- */

.sample-player {
  margin: 30px 0 22px;
  padding: 20px 22px;
  max-width: 36rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(240, 205, 125, 0.4);
  box-shadow: var(--shadow-lg);
}
.sample-player .sample-label {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--emerald-deep);
  margin: 0 0 12px;
}
.sample-player .sample-label::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
  box-shadow: 0 0 0 4px rgba(217, 169, 78, 0.2);
}
.sample-player audio {
  width: 100%;
  display: block;
  accent-color: var(--gold-deep);
}
.sample-player a { color: var(--gold-deep); }

/* ---------- License block ---------- */

.license-block {
  margin: 22px 0 10px;
  padding: 18px 22px 18px 20px;
  max-width: 40rem;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(240, 205, 125, 0.45);
  border-left: 4px solid var(--gold);
  color: var(--body);
  box-shadow: var(--shadow);
}
.license-block p { margin: 0; font-size: 0.98rem; line-height: 1.6; }
.license-block strong { color: var(--emerald-deep); }

.trust-line {
  font-size: 0.92rem;
  color: var(--hero-muted);
  font-weight: 600;
}
section:not(.hero) .trust-line { color: var(--muted); }

/* ---------- Course cards ---------- */

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.course-grid.single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.course-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.course-card h3 { margin: 10px 0 8px; font-size: 1.35rem; }
.course-card p { margin: 0.5em 0; color: var(--muted); }
.course-card .price-line { font-size: 1.02rem; color: var(--body); margin: 0.35em 0 0.55em; }
.course-card .price-line strong {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--emerald-deep);
}
.course-card .card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.course-card .card-actions .btn { margin: 0; text-align: center; }
.course-card .details-link {
  text-align: center;
  font-weight: 700;
  color: var(--emerald-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  align-self: center;
  padding-bottom: 1px;
}
.course-card .details-link:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.course-card-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad-gold);
  color: #3a2a08;
  margin-bottom: 6px;
}
.course-card-status + h3 { margin-top: 12px; }

/* ---------- Method steps ---------- */

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  counter-reset: step;
}
.method-steps > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.method-steps > div:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.method-steps > div::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.method-steps h3 { margin: 0 0 6px; }
.method-steps p { margin: 0; color: var(--muted); }

/* ---------- Curriculum ---------- */

.curriculum {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  counter-reset: lesson;
  max-width: 46em;
}
.curriculum li {
  counter-increment: lesson;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px 20px 78px;
  margin: 0 0 14px;
  box-shadow: var(--shadow);
}
.curriculum li::before {
  content: counter(lesson, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
}
.curriculum .lesson-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--emerald-deep);
  margin: 0 0 4px;
}
.curriculum p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
  gap: 24px;
  margin: 32px 0 12px;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.price-card p { max-width: none; }
.price-card .tier {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin: 0 0 6px;
}
.price-card .price {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--emerald-deep);
  margin: 0 0 10px;
}
.price-card .price small {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.price-card ul { padding-left: 1.3em; color: var(--body); }
.price-card .btn { margin: 18px 0 0; text-align: center; }

.price-card.featured {
  background: var(--grad-emerald);
  border: 2px solid var(--gold);
  color: #eef5f1;
  box-shadow: 0 20px 50px rgba(4, 36, 31, 0.30);
}
.price-card.featured .tier { color: var(--gold-bright); }
.price-card.featured .price { color: #ffffff; }
.price-card.featured .price small { color: var(--hero-muted); }
.price-card.featured p, .price-card.featured ul { color: #d6e4dc; }

/* ---------- Guarantee box ---------- */

.guarantee {
  background: var(--gold-pale);
  border: 1px solid rgba(217, 169, 78, 0.5);
  border-radius: var(--radius);
  padding: 30px 30px;
  max-width: 46em;
  box-shadow: var(--shadow);
}
.guarantee h2 { margin-top: 0; }
.guarantee p { color: var(--body); }
.guarantee strong { color: var(--emerald-deep); }

/* ---------- FAQ ---------- */

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 14px 0;
  max-width: 44em;
}
.faq-item .q {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--emerald-deep);
  margin: 0 0 8px;
  padding-left: 26px;
  position: relative;
}
.faq-item .q::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
}
.faq-item .a p { margin: 0.5em 0; color: var(--body); }
.faq-item .a p:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--grad-emerald);
  color: var(--hero-text);
  border-radius: var(--radius);
  padding: 48px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 280px at 50% 0%, rgba(240, 205, 125, 0.22), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { color: #ffffff; margin: 0 0 12px; position: relative; }
.cta-band p { color: var(--hero-muted); max-width: 38em; margin-left: auto; margin-right: auto; position: relative; }
.cta-band .btn { position: relative; margin: 18px 6px 0; }

/* ---------- Details rhythm ---------- */

section[id] { scroll-margin-top: 96px; }
.details-tagline {
  font-family: var(--display);
  font-weight: 600;
  color: var(--gold-deep);
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.details h2 { margin-top: 2.2em; }
.details > .eyebrow { margin-bottom: 8px; }
.details > .eyebrow + h2 { margin-top: 0.35em; }

/* Light gold rhythm on alternating scroll sections */
.section-tint { background: linear-gradient(180deg, #fdf6e3 0%, #fbf9f3 100%); }

/* ---------- Contact form ---------- */

.contact-form {
  max-width: 34em;
  margin-top: 24px;
}
.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--emerald-deep);
  margin: 18px 0 6px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--body-font);
  background: #fff;
  color: var(--body);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 169, 78, 0.25);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .btn { margin: 20px 0 0; border: none; cursor: pointer; }
.form-note { font-size: 0.92rem; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer {
  background: linear-gradient(180deg, #04241f 0%, #021612 100%);
  color: #9fb8ad;
  padding: 48px 0 32px;
  margin-top: 0;
  font-size: 0.95rem;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, #0f766e 0%, #d9a94e 50%, #0f766e 100%) 1;
}
.site-footer .wrap { max-width: 1040px; }
.site-footer a {
  color: #e9f3ee;
  margin-right: 20px;
  text-decoration: none;
  font-weight: 600;
  line-height: 2.1;
}
.site-footer a:hover { color: var(--gold-bright); }
.site-footer .fine {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #7fa092;
  font-size: 0.88rem;
}
.site-footer .fine::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: baseline;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .course-grid, .method-steps { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  main > section { padding: 52px 0; }
  .hero { padding: 88px 0 64px; }
  .hero .eyebrow { margin: 0 0 18px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.7rem); margin: 0 0 20px; }
  .hero .value-prop { margin: 0 0 26px; }
  .sample-player { margin: 30px 0 22px; padding: 16px; }
  .license-block { margin: 22px 0 10px; }
  .cta { margin-top: 28px; }
  .site-header .wrap { gap: 10px 12px; }
  .site-nav a { margin-left: 0; margin-right: 4px; padding: 7px 12px; }
  .btn { width: 100%; text-align: center; margin-right: 0; }
  .cta-band { padding: 38px 26px; }
  .curriculum li { padding: 18px 18px 18px 66px; }
  .curriculum li::before { left: 18px; top: 18px; font-size: 1.25rem; }
  section[id] { scroll-margin-top: 132px; }
  .brand-tagline { font-size: 0.56rem; letter-spacing: 0.18em; }
}
