/* =========================================================
   RichRoad Trading Academy — site styles
   Colours come from the logo (green #0E7341, black #010101),
   on an ivory page. One typeface: DM Sans.
   ========================================================= */

:root {
  --bg: #FFFFEB;          /* ivory-cream page background */
  --card: #FFFFF5;        /* card surface (cream-white) */
  --beige: #F3ECD3;       /* warm bone sections, tuned to the cream */
  --line: #E7DFC4;        /* borders, dividers */
  --sage: #E3EDE5;        /* pale green tint */
  --green: #0E7341;       /* logo green */
  --green-deep: #0A5430;  /* hover, dark band */
  --black: #010101;       /* logo black */
  --burgundy: #58181F;    /* the dark accent: main buttons, the tool tabs */
  --burgundy-deep: #42121A;   /* burgundy with a touch of black: the main buttons */
  --heading: #222220;     /* soft charcoal for headlines */
  --ink: #1F1E1B;         /* body text */
  --muted: #6B665C;       /* secondary text */
  --brass: #B08D57;       /* fine accent lines only */
  --gold-edge: #C9A55C;   /* the Join button's edge */

  /* One family for everything keeps the page light. --serif is kept as a name so older rules still work. */
  --serif: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --max: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  /* Handmade paper, tinted from the cream itself so the page still reads as #FFFFEB (drawn in code, no image download) */
  --paper: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27240%27 height=%27240%27%3E%3Cfilter id=%27a%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.85%27 numOctaves=%273%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 0.839  0 0 0 0 0.824  0 0 0 0 0.627  1.7 0 0 0 -.74%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23a)%27 opacity=%270.400%27/%3E%3C/svg%3E'), url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27520%27 height=%27520%27%3E%3Cfilter id=%27c%27%3E%3CfeTurbulence type=%27turbulence%27 baseFrequency=%27.016%27 numOctaves=%272%27 seed=%2711%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 0.839  0 0 0 0 0.824  0 0 0 0 0.627  -5 0 0 0 .40%27/%3E%3C/filter%3E%3Cfilter id=%27d%27%3E%3CfeTurbulence type=%27turbulence%27 baseFrequency=%27.021%27 numOctaves=%272%27 seed=%2723%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 1  0 0 0 0 1  0 0 0 0 .97  -5 0 0 0 .45%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23c)%27 opacity=%270.320%27/%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23d)%27 opacity=%270.600%27/%3E%3C/svg%3E'), url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27800%27 height=%27800%27%3E%3Cfilter id=%27e%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.005%27 numOctaves=%273%27 seed=%273%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 0.933  0 0 0 0 0.925  0 0 0 0 0.769  0 1.6 0 0 -.84%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23e)%27 opacity=%270.300%27/%3E%3C/svg%3E');
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

h1, h2, h3 {
  font-family: var(--sans);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 5.8vw, 5rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.012em; }
h1 em, h2 em { font-style: normal; color: var(--green); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Buttons ----------
   Main button: black with a fine gold edge and a soft glow; turns metallic gold on hover. */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--burgundy-deep);
  color: #FFFFEB;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid var(--gold-edge);
  box-shadow: 0 0 0 1px rgba(201, 165, 92, .15), 0 0 22px 4px rgba(201, 165, 92, .2), 0 0 48px 10px rgba(201, 165, 92, .077);
  -webkit-text-stroke: 0 currentColor;
  transition: color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .25s ease, -webkit-text-stroke-width .25s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, #8E6A2C 0%, #C9A04E 22%, #F3DFA2 46%, #D4AE5E 62%, #A47B34 82%, #8E6A2C 100%);
  opacity: 0; transition: opacity .35s ease;
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg); opacity: 0;
  transition: left .8s ease, opacity .2s ease;
}
.btn:hover, .btn:focus-visible {
  color: #15130F; border-color: #E9D08F;
  -webkit-text-stroke: .55px currentColor;
  box-shadow: 0 0 0 1px rgba(233, 208, 143, .245), 0 0 30px 6px rgba(214, 174, 94, .27), 0 0 64px 14px rgba(214, 174, 94, .105), 0 10px 26px rgba(176, 141, 87, .154);
  transform: translateY(-1px);
}
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn:hover::after, .btn:focus-visible::after { left: 130%; opacity: 1; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-edge); outline-offset: 3px; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Quiet secondary button: outline only, no gold */
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost::before, .btn-ghost::after { display: none; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--card); color: var(--ink); border-color: var(--ink); box-shadow: none; -webkit-text-stroke: 0; }
/* On the dark green band */
.btn-light { background: var(--bg); color: var(--ink); }

/* ---------- Header / navigation: logo left, links centred, Join right ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 235, .9);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
}
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; gap: 24px; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; color: var(--ink); text-decoration: none; font-size: .92rem;
  -webkit-text-stroke: 0 currentColor;
  transition: transform .25s cubic-bezier(.3,.7,.2,1), color .2s ease, -webkit-text-stroke-width .2s ease;
}
.nav-links a[aria-current="page"] { color: var(--green); }
/* hover: the link grows towards you and turns bold (thickened in place, so nothing shifts) */
.nav-links a:hover, .nav-links a:focus-visible { color: var(--green); transform: scale(1.12); -webkit-text-stroke: .5px currentColor; }
.nav .btn { padding: 9px 18px; font-size: .9rem; justify-self: end; }
.nav-toggle, .nav-toggle-label { display: none; }

@media (min-width: 901px) {
  .nav-menu { display: contents; }   /* links and button sit directly in the 3-column header */
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-toggle-label {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; cursor: pointer; align-items: center;
    border-radius: 12px; border: 1px solid var(--line);
  }
  .nav-toggle-label span { display: block; width: 20px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px;
    display: none;
  }
  .nav-toggle:checked ~ .nav-menu { display: block; }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--beige); font-size: 1.1rem; transform-origin: left center; }
  .nav-links a:hover { transform: scale(1.06); }
  .nav-menu .btn { width: 100%; margin-top: 20px; }
  .brand img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34ch; margin-bottom: 36px; }
.hero-art img { width: 100%; filter: drop-shadow(0 30px 50px rgba(31, 30, 27, .08)); }
.hero-center { text-align: center; }
.hero-center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-beige { background: var(--beige); }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.rule { width: 56px; height: 2px; background: var(--brass); border: 0; margin: 0 0 28px; }
.center .rule { margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.big-text { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.35; color: var(--heading); font-weight: 500; letter-spacing: -0.01em; }
.big-text em { color: var(--green); }
.muted { color: var(--muted); }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.section-beige .card { border-color: rgba(221, 208, 186, .8); }

.principles .card { display: grid; grid-template-columns: 52px 1fr; column-gap: 24px; }
.principles .icon { grid-row: span 2; margin: 0; }
@media (max-width: 480px) { .principles .card { grid-template-columns: 1fr; } .principles .icon { grid-row: auto; margin-bottom: 20px; } }

.icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--sage); color: var(--green);
  display: grid; place-items: center; margin-bottom: 22px;
}
.icon svg { width: 26px; height: 26px; }

/* Numbered framework steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { list-style: none; padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 1rem; color: var(--green); font-weight: 600;
  display: block; margin-bottom: 14px;
}
.steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
.steps { padding: 0; margin: 0; }
.steps.two { grid-template-columns: 1fr 1fr; }
.steps.two li:nth-child(odd) { padding-right: 28px; }
.steps.two li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); padding-right: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .steps, .steps.two { grid-template-columns: 1fr; }
  .steps li, .steps.two li:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
}

/* Market chips row (Home) */
.markets { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding: 0; list-style: none; }
.markets li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 500; font-size: .97rem; }

/* Comparison (them vs. RichRoad) */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.compare > div { padding: 36px; }
.compare > div + div { border-left: 1px solid var(--line); background: var(--sage); }
.compare h3 { font-size: 1.2rem; margin-bottom: 18px; }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 12px 0 12px 32px; position: relative; border-top: 1px solid rgba(221, 208, 186, .7); }
.compare li:first-child { border-top: 0; }
.compare li::before { content: ""; position: absolute; left: 0; top: 19px; width: 16px; height: 2px; background: var(--muted); }
.compare > div + div li::before { content: ""; top: 15px; width: 12px; height: 7px; background: none; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.compare > div + div li { border-top-color: rgba(14, 115, 65, .15); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 10px 0 10px 34px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.checks.cross li::before { border: 0; width: 14px; height: 2px; background: var(--muted); transform: none; top: 22px; left: 2px; }

/* ---------- Video ---------- */
.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: var(--black); border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(31, 30, 27, .1);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Price card ---------- */
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(32px, 4vw, 48px);
  box-shadow: 0 30px 60px rgba(31, 30, 27, .06);
}
.price { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; color: var(--heading); font-weight: 600; letter-spacing: -0.02em; }
.price-sub { color: var(--muted); margin: 14px 0 28px; }
.price-sub strong { color: var(--ink); }
.price-card .checks { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 32px; }
.price-card .btn { width: 100%; }

/* How to join */
.join-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.join-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.join-steps .num {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--green);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; color: var(--green); font-size: 1.1rem;
  background: var(--card);
}
.join-steps h3 { font-size: 1.15rem; margin: 10px 0 4px; }
.join-steps p { color: var(--muted); margin: 0; }

/* ---------- Schedule (Academy) ---------- */
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 0; }
.schedule div { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; font-weight: 600; color: var(--heading); }
.schedule small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }

.stat { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.stat span { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--green); font-weight: 600; margin-right: 6px; }

/* ---------- Traits row ---------- */
.traits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.traits div { padding: 32px 28px; border-left: 1px solid var(--line); }
.traits div:first-child { border-left: 0; }
.traits h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--green); }
.traits p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 860px) {
  .traits { grid-template-columns: 1fr 1fr; }
  .traits div:nth-child(3) { border-left: 0; }
  .traits div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .traits { grid-template-columns: 1fr; }
  .traits div { border-left: 0; }
  .traits div + div { border-top: 1px solid var(--line); }
}

/* ---------- Tools ---------- */
.tool { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tool + .tool { margin-top: clamp(64px, 9vw, 112px); }
.tool.reverse .tool-art { order: 2; }
.tool-art img { width: 100%; filter: drop-shadow(0 24px 40px rgba(31, 30, 27, .07)); }
.tool .checks { margin: 8px 0 32px; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } .tool.reverse .tool-art { order: 0; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.12rem, 1.8vw, 1.3rem); font-weight: 500; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 48px 28px 0; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Closing CTA band ---------- */
.cta-band { background: var(--green-deep); color: #E9F1EB; padding: clamp(72px, 10vw, 120px) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 18ch; margin: 0 auto 18px; }
.cta-band p { max-width: 52ch; margin: 0 auto 36px; font-size: 1.12rem; color: #CFE0D5; }
.cta-band::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(14, 115, 65, .55), transparent 60%);
  pointer-events: none;
}
.cta-band .container { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--beige); padding: 72px 0 40px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-top img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-top p { color: var(--muted); max-width: 36ch; }
.footer-top h4 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--heading); margin: 6px 0 16px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 10px; }
.footer-top a { color: var(--ink); text-decoration: none; }
.footer-top a:hover { color: var(--green); text-decoration: underline; }
.disclaimer { padding-top: 32px; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.disclaimer strong { color: var(--ink); }
.copyright { margin-top: 24px; color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* =========================================================
   Home page journey
   ========================================================= */

/* The visitor's own thought, voiced above each chapter heading */
.thought {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--green);
  margin: 0 0 14px;
}
.section-head .thought { color: var(--green); font-size: clamp(1.1rem, 1.6vw, 1.3rem); }

/* A dashed "road" running down the page, with a stop at each chapter (wide screens) */
.journey { position: relative; }
.journey > .section { position: relative; }
@media (min-width: 1320px) {
  .journey::before {
    content: ""; position: absolute; top: 0; bottom: 0; z-index: 1;
    left: calc(50% - (var(--max) / 2) - 24px);
    border-left: 2px dashed var(--line);
  }
  .journey > .section::before {
    content: ""; position: absolute; z-index: 2;
    left: calc(50% - (var(--max) / 2) - 32px);
    top: 136px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--green);
  }
  .journey > .section-beige::before { background: var(--beige); }
  .journey > .section:last-child::before { background: var(--green); }
}

/* Student quote cards */
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px 28px;
  position: relative;
  margin: 0;
}
.quote::before {
  content: "\201C"; font-family: var(--serif); font-size: 4.2rem; line-height: 1;
  color: var(--green); opacity: .35; position: absolute; top: 14px; left: 26px;
}
.quote blockquote { margin: 0; padding-top: 30px; font-size: 1.04rem; color: var(--ink); line-height: 1.65; }
.quote figcaption { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--beige); font-size: .92rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--heading); font-weight: 600; font-size: .98rem; }
.quote.feature { background: transparent; border: 0; border-left: 3px solid var(--green); border-radius: 0; padding: 4px 0 4px 28px; }
.quote.feature::before { display: none; }
.quote.feature blockquote { padding-top: 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--heading); }
.quote.feature figcaption { border-top: 0; padding-top: 0; margin-top: 14px; }
.section-beige .quote:not(.feature) { border-color: rgba(221, 208, 186, .8); }
.quotes-masonry { columns: 3 320px; column-gap: 24px; }
.quotes-masonry .quote { break-inside: avoid; margin-bottom: 24px; }

/* "Sound familiar?" list */
.familiar { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.familiar li { padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); position: relative; font-size: 1.08rem; }
.familiar li::before { content: ""; position: absolute; left: 4px; top: 30px; width: 18px; height: 2px; background: var(--brass); }

/* Before / after charts */
.reframe { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.reframe figure { margin: 0; }
.reframe img { width: 100%; }
.reframe figcaption { margin-top: 14px; font-weight: 600; color: var(--heading); }
.reframe figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
@media (max-width: 680px) { .reframe { grid-template-columns: 1fr; } }

/* What we refuse to do */
.refuse { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.refuse div { padding: 26px 24px; border-left: 1px solid var(--line); }
.refuse div:first-child { border-left: 0; }
.refuse strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--heading); margin-bottom: 4px; }
.refuse span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .refuse { grid-template-columns: 1fr 1fr; }
  .refuse div:nth-child(3) { border-left: 0; }
  .refuse div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .refuse { grid-template-columns: 1fr; }
  .refuse div { border-left: 0; padding: 20px 22px; }
  .refuse div + div { border-top: 1px solid var(--line); }
}

/* The road: from first lesson to independent trader */
.road { list-style: none; margin: 0; padding: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; border-left: 2px dashed var(--line); }
.road li { position: relative; padding: 0 0 26px 52px; }
.road li:last-child { padding-bottom: 0; }
.road li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--green);
}
.road li.start::before, .road li.end::before { background: var(--green); box-shadow: 0 0 0 5px var(--sage); }
.road h3 { font-size: 1.2rem; margin: 0 0 4px; }
.road p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Format list (fits your life) */
.format { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.format li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.format .icon { margin: 0; }
.format h3 { font-size: 1.15rem; margin: 4px 0 4px; }
.format p { margin: 0; color: var(--muted); font-size: .98rem; }

.countries { text-align: center; color: var(--muted); margin-top: 16px; font-size: 1.02rem; }
.countries strong { color: var(--heading); font-weight: 600; }

/* ---------- Small helpers ---------- */
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 40px; }
.center { text-align: center; }
.note { font-size: .95rem; color: var(--muted); }
.stack > * + * { margin-top: 20px; }

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

/* Green highlighted words stay upright, like "Clarity" in the hero */
.big-text em, .quote em { font-style: normal; }

/* =========================================================
   Liquid-glass button — for secondary actions (the black-and-gold .btn stays the main one).
   A frosted pill with a soft inner glow and a faint outer ring; on hover a thin
   rainbow sheen travels around the edge, like light on curved glass.
   ========================================================= */
@property --glass-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.btn-glass {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 1rem; white-space: nowrap;
  color: var(--ink); text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .62));
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  border: 1.5px solid var(--gold-edge);   /* gold edge, like the main buttons */
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -3px 8px rgba(60, 50, 30, .07),
    0 0 0 5px rgba(255, 255, 255, .45),
    0 0 0 6px rgba(201, 165, 92, .45),
    0 0 22px 4px rgba(201, 165, 92, .14),
    0 10px 24px -10px rgba(60, 50, 30, .28);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, color .2s ease;
}
/* the rainbow rim: a ring that only shows on hover and travels around the edge */
.btn-glass::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.6px; z-index: -1;
  background: conic-gradient(from var(--glass-angle),
    transparent 0deg, transparent 200deg,
    #FF8A8A 230deg, #FFD36E 250deg, #7FE0B4 270deg, #79B8FF 290deg, #C69BFF 310deg,
    transparent 340deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease;
}
.btn-glass:hover, .btn-glass:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -3px 8px rgba(60, 50, 30, .07),
    0 0 0 5px rgba(255, 255, 255, .55),
    0 0 0 6px rgba(214, 174, 94, .65),
    0 0 28px 6px rgba(214, 174, 94, .2),
    0 14px 30px -12px rgba(60, 50, 30, .32);
  border-color: #E9D08F;
}
.btn-glass:hover::before, .btn-glass:focus-visible::before { opacity: 1; animation: glass-sweep 2.4s linear infinite; }
@keyframes glass-sweep { to { --glass-angle: 360deg; } }
.btn-glass .arrow { transition: transform .25s ease; }
.btn-glass:hover .arrow { transform: translate(2px, -2px); }

/* =========================================================
   Paper-plane button — for "send" actions. On click it folds into a paper plane,
   flies off, and a confirmation appears (see js/plane.js).
   ========================================================= */
.btn-plane {
  position: relative; display: inline-grid; place-items: center;
  min-width: 156px; height: 46px; padding: 0; border: 0; border-radius: 10px; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--green-deep);
  background: transparent; text-decoration: none;
}
.btn-plane .plane-face {
  grid-area: 1 / 1; width: 100%; height: 100%; padding: 0 22px; border-radius: 10px; display: grid; place-items: center;
  background: #FFFFF5; box-shadow: 0 1px 2px rgba(60, 50, 30, .08), 0 8px 20px -8px rgba(60, 50, 30, .25);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path .32s cubic-bezier(.4,0,.2,1), transform .25s ease, box-shadow .25s ease;
}
.btn-plane:hover .plane-face { transform: translateY(-1px); box-shadow: 0 1px 2px rgba(60, 50, 30, .08), 0 12px 26px -10px rgba(60, 50, 30, .32); }
.btn-plane .plane-label { transition: opacity .15s ease; }
.btn-plane .plane-done {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; color: var(--green-deep);
  opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; pointer-events: none;
}
/* 1) the face folds into a plane shape */
.btn-plane.folding .plane-label { opacity: 0; }
.btn-plane.folding .plane-face { clip-path: polygon(0 62%, 100% 8%, 58% 100%, 44% 66%); box-shadow: none; }
/* 2) the plane flies up and away */
.btn-plane.flying .plane-face {
  transition: clip-path .32s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.5,0,.75,0), opacity .75s ease;
  transform: translate(140px, -70px) rotate(-14deg) scale(.45); opacity: 0;
}
/* 3) the confirmation */
.btn-plane.sent .plane-done { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .btn-glass:hover::before { animation: none; }
  .btn-plane .plane-face, .btn-plane.flying .plane-face { transition: none; }
}

/* The paper texture also runs through the bone-coloured sections and the footer */
.section-beige, .site-footer, .price-card, .card { background-image: var(--paper); }
.site-header { background-color: rgba(255, 255, 235, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* =========================================================
   Quiet text link — for secondary actions, so the black-and-gold
   "Explore the Academy" button stays one of a kind.
   Charcoal words on a fine green underline; on hover the words turn green,
   the line thickens and the arrow nudges forward.
   ========================================================= */
.link-quiet {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 500; font-size: 1rem; color: var(--heading);
  text-decoration: none; padding-bottom: 4px;
  background: linear-gradient(var(--green), var(--green)) 0 100% / 100% 1.5px no-repeat;
  transition: color .25s ease, background-size .25s ease;
}
.link-quiet:hover, .link-quiet:focus-visible { color: var(--green); background-size: 100% 2px; }
.link-quiet:focus-visible { outline: 2px solid var(--gold-edge); outline-offset: 4px; border-radius: 2px; }
.link-quiet .arrow { transition: transform .25s ease; }
.link-quiet:hover .arrow { transform: translate(2px, -2px); }
