/* PennyPath site — one column of reading width, a winding "path" of five levels as the centerpiece. */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #F6F8F3;
  --surface: #FFFFFF;
  --tint: #E6EFE5;
  --ink: #1D2620;
  --muted: #4E5A52;
  --line: #D6E0D7;
  --forest: #14532D;
  --grow: #2F8F4E;
  --copper: #C8702F;
  --copper-text: #A44D19;
  --copper-wash: #FBEDE2;
  --on-forest: #FFFFFF;
  --on-forest-muted: #DCE8DE;
  --panel: #14532D;
  --font: "Plus Jakarta Sans", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
 
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-text); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--forest); }
.brand img { width: 36px; height: 36px; }
.brand .word span { color: var(--copper-text); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); }

/* Hero */
.hero { padding-block: 56px 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-text); }
.hero h1 { font-size: clamp(38px, 6vw, 62px); margin-top: 12px; color: var(--forest); }
.hero h1 em { font-style: normal; color: var(--copper-text); }
.lead { font-size: 19px; color: var(--muted); margin-top: 18px; max-width: 34em; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; }
.pill b { color: var(--grow); }
.soon { margin-top: 26px; display: inline-block; padding: 12px 18px; border-radius: 14px; background: var(--panel); color: var(--on-forest); font-weight: 800; }

.phones { position: relative; display: flex; justify-content: center; gap: 0; min-height: 420px; }
.phone { width: 230px; border-radius: 34px; border: 8px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 24px 48px -24px rgba(20, 83, 45, 0.45); }
.phone img { border-radius: 26px; }
.phones .phone:nth-child(2) { margin-left: -60px; margin-top: 60px; }

/* Sections */
section { padding-block: 56px; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 8px; }
.section-head p { color: var(--muted); margin-top: 12px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* The five levels, drawn as stops on a path */
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.levels::before { content: ""; position: absolute; left: 31px; top: 24px; bottom: 24px; width: 4px; border-radius: 4px; background: repeating-linear-gradient(to bottom, var(--grow) 0 10px, transparent 10px 18px); }
.level { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 18px; padding-block: 14px; position: relative; }
.stop { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--grow); color: var(--on-forest); font-weight: 800; font-size: 24px; border: 5px solid var(--bg); }
.band .stop { border-color: var(--surface); }
.level:last-child .stop { background: var(--copper); }
.level h3 { font-size: 22px; }
.level .ages { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper-text); }
.level p { color: var(--muted); margin-top: 4px; }
.level .topics { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.level .topics span { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--forest); }

/* Three-step loop */
.loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.loop article { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; padding: 24px; }
.band .loop article { background: var(--bg); }
.loop .n { font-size: 13px; font-weight: 800; color: var(--copper-text); letter-spacing: 0.08em; text-transform: uppercase; }
.loop h3 { font-size: 21px; margin-top: 6px; }
.loop p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.loop .eg { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--forest); background: var(--tint); padding: 10px 12px; border-radius: 12px; }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.screens figure { margin: 0; }
.screens .phone { width: 100%; border-width: 6px; border-radius: 28px; }
.screens .phone img { border-radius: 22px; }
.screens figcaption { text-align: center; font-weight: 700; font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Promise */
.promise { background: var(--panel); color: var(--on-forest); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.promise h2 { font-size: clamp(28px, 4vw, 38px); }
.promise p { color: var(--on-forest-muted); margin-top: 12px; }
.promise a { color: var(--on-forest); font-weight: 800; }
.promise a:hover { color: var(--on-forest-muted); }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.promise li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--on-forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232F8F4E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.faq summary { font-weight: 800; cursor: pointer; font-size: 18px; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* Legal pages */
.doc { padding-block: 48px 64px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); color: var(--forest); }
.doc .meta { color: var(--muted); margin-top: 10px; font-size: 15px; }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc h3 { font-size: 19px; margin-top: 24px; }
.doc p, .doc li { color: var(--ink); }
.doc p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 12px 0 0; }
.doc li { margin-top: 6px; }
.summary { background: var(--tint); border-radius: 20px; padding: 22px 24px; margin-top: 28px; }
.summary h2 { margin-top: 0; font-size: 20px; }
.summary ul { margin-top: 10px; }
.table-wrap { overflow-x: auto; margin-top: 16px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 800; }
.mail { font-weight: 800; user-select: all; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 32px 40px; color: var(--muted); font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); font-weight: 700; text-decoration: none; }
.site-foot a:hover { color: var(--forest); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .phones { min-height: 0; }
  .loop { grid-template-columns: minmax(0, 1fr); }
  .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise { grid-template-columns: minmax(0, 1fr); padding: 28px; }
}
@media (max-width: 420px) {
  .phone { width: 170px; }
  .phones .phone:nth-child(2) { margin-left: -50px; margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }


/* Teachers block: a lighter card so it doesn't repeat the parents panel */
.promise.alt { background: var(--copper-wash); color: var(--ink); box-shadow: none; }
.promise.alt .eyebrow { color: var(--copper-text); }
.promise.alt p { color: var(--muted); }
.promise.alt a { color: var(--copper-text); }
.promise.alt a:hover { color: var(--forest); }
.promise.alt li::before { background-color: var(--surface); }
