/* AirPangaea programs site — shared styles (look: B3 "green & yellow") */
:root {
  --ink: #12302B;
  --ink-2: #3E5A54;
  --teal: #0F766E;
  --teal-dark: #0B4F4A;
  --mint: #E8F5F1;
  --mint-2: #F3FAF8;
  --line: #E3EFEB;
  --line-2: #D3EAE3;
  --yellow: #FFC845;
  --band: #12302B;
  --band-2: #1C443D;
  --band-text: #E6F2EF;
  --band-muted: #A9C7C0;
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.2; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-title { margin: 0 0 10px; font-weight: 800; font-size: 38px; letter-spacing: -0.02em; }
.section-lead { margin: 0 0 36px; color: var(--ink-2); max-width: 720px; }
.muted { color: var(--ink-2); }
.pill { display: inline-block; background: #FFFFFF; color: var(--teal); font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
.pill-solid { background: var(--teal); color: #FFFFFF; font-size: 13px; padding: 6px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 24px; border-radius: 14px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--teal); color: #FFFFFF; }
.btn-primary:hover { background: var(--teal-dark); color: #FFFFFF; }
.btn-light { background: #FFFFFF; color: var(--ink); }
.btn-light:hover { color: var(--teal-dark); }
.btn-dark { background: var(--ink); color: #FFFFFF; font-size: 19px; font-weight: 800; padding: 18px 30px; border-radius: 18px; }
.btn-dark:hover { background: #0A1F1B; color: #FFFFFF; }
.btn svg { flex: none; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 34px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--teal); }
.site-header .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* Hero */
.hero { background: var(--mint); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 60px; padding-bottom: 84px; }
.hero-copy { flex: 1 1 500px; min-width: 0; }
.hero-copy .pill { margin-bottom: 22px; }
.hero h1 { margin: 0 0 22px; font-weight: 800; font-size: 52px; line-height: 1.1; letter-spacing: -0.025em; }
.mark { background: var(--yellow); padding: 0 8px; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-lead { margin: 0 0 16px; font-size: 19px; color: var(--ink-2); max-width: 560px; }
.hero-sub { margin: 0 0 30px; font-size: 16px; color: var(--ink-2); max-width: 560px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-side { flex: 1 1 420px; min-width: 0; }
.word-card { background: #FFFFFF; border-radius: 28px; padding: 30px 32px; box-shadow: 0 12px 32px rgba(18, 48, 43, 0.10); }
.word-jp { font-family: 'Noto Sans JP', sans-serif; font-weight: 900; font-size: 60px; line-height: 1.1; }
.word-roman { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; margin-top: 8px; }
.word-roman b { font-size: 22px; font-weight: 800; }
.word-roman span { color: var(--ink-2); font-size: 15px; }
.word-rule { height: 2px; background: var(--mint); margin: 16px 0; }
.word-card p { margin: 0; font-size: 16px; color: var(--ink-2); }
.word-card p b { color: var(--ink); }
.hero-photo { margin: 16px 0 0; }
.hero-photo img { border-radius: 20px; width: 100%; }
figcaption.small { margin-top: 8px; font-size: 13px; color: var(--ink-2); }

/* Facts bar */
.facts { position: relative; margin-top: -40px; }
.facts dl { margin: 0; background: var(--band); color: #FFFFFF; border-radius: 24px; padding: 26px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 32px; }
.facts dt { font-size: 13px; color: var(--band-muted); }
.facts dd { margin: 0; font-weight: 700; font-size: 17px; }

/* Track record */
.record { padding-top: 56px; }
.record ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.record li { border-left: 4px solid var(--yellow); padding-left: 18px; }
.record strong { display: block; font-weight: 800; font-size: 36px; color: var(--teal); letter-spacing: -0.02em; line-height: 1.2; }
.record span { color: var(--ink-2); font-size: 15px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--mint-2); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step-head { display: flex; align-items: center; gap: 12px; }
.step h3 { margin: 0; font-size: 20px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-2); }
.step .eg { margin-top: auto; font-size: 14px; color: var(--ink); background: #FFFFFF; border-radius: 12px; padding: 12px 14px; }
.step-accent { background: var(--yellow); }
.step-accent p { color: #2A2A1A; }
.num { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--teal); color: #FFFFFF; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.num-dark { background: var(--ink); color: var(--yellow); }
.num-yellow { background: var(--yellow); color: var(--ink); width: 38px; height: 38px; }
.topics { margin: 28px 0 0; color: var(--ink-2); font-size: 15px; max-width: 820px; }

/* Sessions band */
.band { background: var(--band); color: #FFFFFF; }
.band .section-lead { color: #C4DAD4; margin-bottom: 14px; }
.band .section-title { color: #FFFFFF; }
.note-chip { display: inline-block; margin: 0 0 36px; background: var(--band-2); color: var(--band-text); border-radius: 12px; padding: 10px 16px; font-size: 15px; }
.sessions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.session { background: var(--band-2); border-radius: 20px; padding: 22px 24px; display: grid; grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.session-name { display: flex; gap: 14px; }
.session h3 { margin: 0 0 4px; font-size: 19px; }
.session-name p { margin: 0; color: var(--band-muted); font-size: 14px; }
.session .label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.label-zoom { color: var(--yellow); }
.label-task { color: #9FE0CF; }
.session .text { margin: 0; color: var(--band-text); font-size: 15px; }
.session-final { background: var(--yellow); color: var(--ink); grid-template-columns: 260px minmax(0, 1fr); }
.session-final .session-name p { color: #4A4A2A; }
.session-final .label { color: var(--ink); }
.session-final .text { color: #2A2A1A; }

/* Galleries */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.gallery figure { margin: 0; }
.frame { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--mint-2); border-radius: 18px; border: 1px solid var(--line); }
.slide { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: 0 6px 18px rgba(18, 48, 43, 0.12); }
.gallery figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.gallery figcaption b { color: var(--ink); }
.gallery figcaption .cap-title { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }

/* Certificate */
.cert { background: var(--mint); }
.cert .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.cert-img { flex: 1 1 460px; min-width: 0; }
.cert-img img { border-radius: 12px; box-shadow: 0 12px 32px rgba(18, 48, 43, 0.14); }
.cert-copy { flex: 1 1 400px; min-width: 0; }
.cert-copy h2 { margin: 14px 0; font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.cert-copy ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.cert-copy li + li { margin-top: 10px; }

/* Teachers */
.soft { background: var(--mint-2); }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: #FFFFFF; border-radius: 24px; padding: 28px; }
.card h3 { margin: 0 0 14px; font-size: 21px; }
.card ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 16px; }
.card li + li { margin-top: 8px; }
.card-accent { border: 2px solid var(--yellow); }
.card .fine { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }

/* Cohort */
.cohort { background: var(--mint); border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; }
.cohort-head { flex: 1 1 300px; }
.cohort-head h2 { margin: 14px 0 8px; font-weight: 800; font-size: 32px; letter-spacing: -0.02em; }
.cohort-head p { margin: 0; color: var(--ink-2); }
.cohort dl { flex: 2 1 480px; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; background: #FFFFFF; border-radius: 20px; padding: 28px; }
.cohort dt { font-size: 13px; color: var(--ink-2); }
.cohort dd { margin: 4px 0 0; font-weight: 700; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq div { border: 2px solid var(--line-2); border-radius: 20px; padding: 22px 24px; }
.faq h3 { margin: 0 0 6px; font-size: 17px; }
.faq p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* CTA */
.cta { background: var(--yellow); border-radius: 32px; padding: 52px 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.cta-copy { flex: 2 1 420px; min-width: 0; }
.cta h2 { margin: 0 0 12px; font-weight: 800; font-size: 38px; letter-spacing: -0.02em; }
.cta p { margin: 0 0 22px; color: #2A2A1A; font-size: 18px; }
.cta ol { margin: 0; padding-left: 22px; color: #2A2A1A; }
.cta-action { flex: 1 1 260px; display: flex; justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid #DDEBE7; font-size: 14px; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.site-footer .brand { display: inline-flex; align-items: center; gap: 14px; }
.site-footer .brand img { height: 24px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--ink-2); }

/* Responsive */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .session, .session-final { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cards-3 { grid-template-columns: minmax(0, 1fr); }
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .site-nav { display: none; }
  .hero .wrap { padding-top: 40px; padding-bottom: 72px; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 17px; }
  .word-jp { font-size: 44px; }
  .section-title { font-size: 30px; }
  .facts dl, .record ul, .steps, .gallery, .faq, .cohort dl { grid-template-columns: minmax(0, 1fr); }
  .record strong { font-size: 30px; }
  .cohort, .cta { padding: 28px 22px; }
  .cta h2 { font-size: 30px; }
  .btn-dark { font-size: 17px; }
}
