/* Penglo landing page: why it works, how to use it, what learners say.
   The hero is styled by landing-v4.css. */
:root {
  --text-max: 1074px;
  --ink: #004c5e;
  --sky: #b2e0ee;
  --cream: #fcfdf3;
  --pink: #f4c8d6;   --pink-ink: #891f42;
  --green: #bfebd9;  --green-ink: #1f895d;
  --slate: #d3dee8;  --slate-ink: #4e677d;
  --purple: #ded2f3; --purple-ink: #5b2b9a;
  --rounded: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --jp: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-family: var(--rounded);
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

/* Same face as the Figma hero when previewed in Chrome. */
.v4-hero { font-family: var(--rounded); }
.v4-hero h1 { margin: 0; }

.wrap { width: min(var(--text-max), calc(100% - 48px)); margin-inline: auto; }

.sky    { background: var(--sky);    color: var(--ink); }
.cream  { background: var(--cream);  color: var(--ink); }
.pink   { background: var(--pink);   color: var(--pink-ink); }
.green  { background: var(--green);  color: var(--green-ink); }
.slate  { background: var(--slate);  color: var(--slate-ink); }
.purple { background: var(--purple); color: var(--purple-ink); }

.big { font-size: clamp(40px, 5.2vw, 92px); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.big span { display: block; }
.sub { margin-top: 20px; font-size: clamp(19px, 1.9vw, 30px); line-height: 1.3; font-weight: 500; opacity: .85; text-wrap: balance; }
.body { margin-top: 20px; max-width: 30em; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; font-weight: 450; }

.pill {
  display: inline-grid; place-items: center; min-width: 240px; height: 68px; padding: 0 36px;
  border: 0; border-radius: 999px; background: var(--cream); color: var(--ink);
  font-size: 28px; font-weight: 600; text-decoration: none;
  transition: transform 120ms ease, background-color 120ms ease;
}
.pill:hover { background: #fff; }
.pill:active { transform: translateY(2px); }
.pill.dark { background: var(--ink); color: var(--cream); }
.pill.dark:hover { background: #00596e; }

/* Closing band */
.closing { text-align: center; padding-block: clamp(96px, 14vw, 180px); }
.closing .waiting { display: block; width: min(260px, 60%); height: auto; margin: 0 auto 36px; }
.closing .pill { margin-top: 40px; }
.closing .fine { margin-top: 20px; font-size: 17px; opacity: .8; }

/* Questions */
.faq { padding-block: clamp(72px, 9vw, 128px); }
.faq h2 { font-size: clamp(32px, 3.4vw, 52px); font-weight: 700; }
.faq-list { margin-top: 32px; max-width: 760px; border-top: 2px solid rgba(0, 76, 94, .14); }
.faq details { border-bottom: 2px solid rgba(0, 76, 94, .14); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 24px; max-width: 34em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; font-weight: 450; }
.faq [lang="ja"] { font-family: var(--jp); font-weight: 600; }

/* Footer */
.foot { background: var(--ink); color: var(--cream); padding-block: 56px 96px; font-size: 16px; line-height: 1.6; }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.foot .name { font-size: 28px; font-weight: 700; }
.foot p, .foot address { opacity: .75; font-style: normal; }
.foot nav { display: grid; gap: 6px; align-content: start; }
.foot nav a { text-decoration: none; opacity: .85; }
.foot nav a:hover { opacity: 1; text-decoration: underline; }


@media (max-width: 520px) {
}
@media (max-width: 900px) {
  .pill { height: 56px; font-size: 22px; min-width: 220px; }
  .foot .wrap { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { .pill { transition: none; } }

.part { padding-block: clamp(80px, 9vw, 136px); }
.part h2, .closing .big { font-size: clamp(36px, 4.4vw, 68px); font-weight: 700; line-height: 1.1; }
.part h3 { font-size: clamp(21px, 1.7vw, 26px); font-weight: 700; line-height: 1.25; }
.part p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; font-weight: 450; }

/* Why it works: picture, title, one short paragraph. */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; text-align: center; }
.trio img { display: block; height: 190px; width: auto; max-width: 100%; margin: 0 auto 28px; object-fit: contain; }
.trio p { margin-top: 10px; }
/* confused.png has a near-white background; multiply lets the cream page show through. */
.trio img.on-white { mix-blend-mode: multiply; }

/* How to use it: three numbered cards. */
.steps { display: grid; gap: 18px; margin-top: 56px; }
.steps li { display: grid; grid-template-columns: 150px 1fr; gap: 40px; align-items: center; width: min(820px, 100%); padding: 32px 40px; border-radius: 28px; background: var(--cream); color: var(--ink); }
.steps li:nth-child(2) { margin-left: auto; }
.steps img { display: block; width: 100%; height: 130px; object-fit: contain; }
.steps p { margin-top: 8px; }

/* What learners say. */
.said { display: grid; grid-template-columns: 110px 1fr; gap: 32px; align-items: center; }
.said img { display: block; width: 100%; height: auto; }
.said p { margin-top: 8px; }
.said h2 { font-size: clamp(22px, 2.9vw, 38px); line-height: 1.15; }
.said h2 span { display: block; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.quotes li { display: grid; align-content: start; gap: 10px; padding: 32px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 2px rgba(0, 76, 94, .1); }

.closing .big { font-size: clamp(40px, 5.2vw, 88px); }

@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; gap: 56px; }
  .trio img { height: 160px; }
  .steps li { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; text-align: center; }
  .steps img { height: 120px; }
  .quotes { grid-template-columns: 1fr; }
  .said { grid-template-columns: 80px 1fr; gap: 20px; }
}

/* Questions: sits on the same cream as the reviews above it; same three text sizes as the rest. */
.part.faq { padding-top: 0; }
.part.faq summary { font-size: clamp(21px, 1.7vw, 26px); font-weight: 700; line-height: 1.25; }
.part.faq details p { font-size: clamp(17px, 1.3vw, 19px); }
