:root {
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --cobalt: #2449bf;
  --cobalt-dark: #17348f;
  --orange: #f47b36;
  --orange-soft: #ffe1cf;
  --ink: #18324a;
  --muted: #617080;
  --line: #ded8cc;
  --mint: #dfeee8;
  --green: #2f8f74;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 102px;
}

#top,
#about,
#ipasso,
#features,
#legal,
#advantages,
#difference,
#school-flow,
#line-contact {
  scroll-margin-top: 102px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.section-shell { max-width: 1460px; margin: 0 auto; padding-left: 56px; padding-right: 56px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  padding: 12px max(36px, calc((100vw - 1460px) / 2 + 56px));
  border-bottom: 1px solid rgba(24, 50, 74, .1);
  background: rgba(251, 246, 236, .9);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand img { width: 45px; height: 45px; object-fit: contain; border-radius: 10px; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { color: var(--cobalt); font-size: 17px; letter-spacing: .08em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .17em; }

.site-header nav { display: flex; gap: 32px; color: #43556a; font-weight: 700; font-size: 14px; }
.site-header nav a { position: relative; padding: 10px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 0; height: 2px; background: var(--orange); transition: width .2s ease; }
.site-header nav a:hover::after { width: 100%; }
.nav-cta { justify-self: end; display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px; border: 1px solid var(--cobalt); border-radius: 999px; color: var(--cobalt); font-weight: 800; font-size: 14px; transition: .2s ease; }
.nav-cta:hover { color: white; background: var(--cobalt); transform: translateY(-2px); }

.hero { min-height: 690px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 76px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 14px; color: var(--cobalt); font-size: 13px; font-weight: 900; letter-spacing: .18em; }
.eyebrow span { width: 43px; height: 5px; border-radius: 5px; background: var(--orange); }
.hero h1, .about h2, .product h2, .features h2, .contact h1, .contact h2 {
  margin: 22px 0 24px;
  font-family: "Iowan Old Style", "Songti TC", "Noto Serif TC", "PMingLiU", serif;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.13;
}
.hero h1 { font-size: clamp(52px, 5.4vw, 80px); }
.hero h1 em { position: relative; color: var(--cobalt); font-style: normal; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; z-index: -1; left: -2%; right: -5%; bottom: 4px; height: 12px; background: var(--orange-soft); border-radius: 50%; transform: rotate(-2deg); }
.hero-lead { max-width: 630px; margin: 0; color: #53697b; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.primary-button, .line-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 62px; padding: 0 28px; border-radius: 18px; background: var(--cobalt); color: white; font-weight: 900; box-shadow: 0 14px 32px rgba(36, 73, 191, .2); transition: transform .22s ease, box-shadow .22s ease; }
.primary-button:hover, .line-button:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(36, 73, 191, .27); }
.primary-button span { font-size: 25px; }
.text-link { padding: 8px 0 3px; border-bottom: 2px solid var(--ink); font-weight: 800; }
.text-link span { margin-left: 8px; color: var(--orange); }
.hero-note { display: flex; align-items: center; gap: 14px; margin-top: 42px; color: #65788a; font-size: 14px; }
.independence-note { max-width: 620px; margin: 18px 0 0; padding-left: 16px; border-left: 3px solid var(--orange); color: #65788a; font-size: 13px; }
.independence-note strong { color: var(--ink); }
.note-dots { display: flex; }
.note-dots i { width: 36px; height: 36px; display: grid; place-items: center; margin-left: -7px; border: 3px solid var(--cream); border-radius: 50%; color: white; font-style: normal; font-weight: 900; font-size: 12px; }
.note-dots i:first-child { margin-left: 0; background: var(--cobalt); }
.note-dots i:nth-child(2) { background: var(--orange); }
.note-dots i:nth-child(3) { background: var(--green); }

.hero-visual { position: relative; min-height: 550px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: -80px -170px -70px -30px; z-index: -2; background: radial-gradient(circle at 45% 50%, #fff8ef 0 26%, #fde4d4 27% 35%, transparent 36%), radial-gradient(circle at 55% 54%, rgba(255,255,255,.8), transparent 64%); }
.road-loop { position: absolute; z-index: -1; width: 520px; height: 520px; border: 2px dashed rgba(36, 73, 191, .35); border-radius: 50%; transform: rotate(13deg); }
.app-backdrop { position: absolute; width: 74%; height: 82%; right: 2%; top: 7%; border-radius: 38px; background: var(--cobalt); transform: rotate(4deg); box-shadow: 0 28px 55px rgba(25, 52, 143, .16); }
.app-window { position: relative; z-index: 2; width: 88%; overflow: hidden; border: 1px solid #e2ddd4; border-radius: 34px; background: var(--paper); box-shadow: 0 28px 56px rgba(24, 50, 74, .18); }
.app-topbar { height: 96px; display: flex; align-items: center; justify-content: space-between; padding: 24px 34px; border-bottom: 1px solid #eee7dd; }
.app-topbar img { width: 146px; height: 58px; object-fit: contain; }
.window-dots { display: flex; gap: 8px; }
.window-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ded9d0; }
.window-dots i:first-child { background: var(--orange); }
.app-body { min-height: 360px; display: grid; grid-template-columns: 28% 72%; }
.app-body aside { display: grid; align-content: start; gap: 20px; padding: 34px 26px; background: #eff2fb; }
.app-body aside span { height: 13px; border-radius: 10px; background: #cdd6f2; }
.app-body aside .aside-pill { height: 58px; margin-bottom: 12px; border-radius: 18px; background: var(--cobalt); }
.dashboard { display: grid; gap: 18px; padding: 30px; }
.welcome-card { display: flex; align-items: center; justify-content: space-between; padding: 24px 22px; border-radius: 22px; background: var(--orange-soft); }
.welcome-card div:first-child { display: grid; gap: 3px; }
.welcome-card small { color: #7e6f67; font-size: 9px; letter-spacing: .16em; }
.welcome-card strong { font-family: "Iowan Old Style", "Songti TC", serif; font-size: 21px; }
.score-ring { width: 60px; height: 60px; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 10px; border: 8px solid #ffb183; border-radius: 50%; background: var(--orange); color: white; line-height: 1; }
.score-ring b { font-size: 19px; }
.score-ring small { color: white; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-grid > div { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; align-items: center; padding: 14px; border: 1px solid #e5ded4; border-radius: 18px; }
.mini-icon { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--mint); color: var(--green); font-style: normal; font-weight: 900; }
.mini-icon.bike { color: var(--cobalt); background: #e2e8fb; }
.mini-grid span { font-size: 12px; font-weight: 800; }
.mini-grid b { color: #93a0aa; font-size: 9px; }
.progress-card { display: grid; grid-template-columns: 1fr auto; gap: 9px; color: white; padding: 16px 20px; border-radius: 18px; background: var(--cobalt); font-size: 12px; }
.progress-card i { grid-column: 1 / 3; height: 8px; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.25); }
.progress-card em { display: block; width: 78%; height: 100%; border-radius: inherit; background: var(--orange); }
.update-card { position: absolute; right: -2%; bottom: 4%; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 17px 22px; border-radius: 20px; background: white; box-shadow: 0 18px 42px rgba(24, 50, 74, .19); animation: float 4s ease-in-out infinite; }
.update-card i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-style: normal; font-weight: 900; }
.update-card div { display: grid; }
.update-card strong { color: var(--cobalt); }
.update-card span { color: var(--muted); font-size: 12px; }

.trust-strip { max-width: 1460px; margin: 0 auto; display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); padding: 28px 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-strip > div { display: grid; align-content: center; min-height: 82px; padding: 0 34px; border-left: 1px solid var(--line); }
.trust-strip > div:first-child { padding-left: 0; border-left: 0; }
.trust-intro { font-family: "Iowan Old Style", "Songti TC", serif; font-size: 22px; font-weight: 800; line-height: 1.5; }
.trust-strip strong { color: var(--cobalt); font-size: 18px; }
.trust-strip span { color: var(--muted); font-size: 13px; }

.about { padding-top: 120px; padding-bottom: 120px; }
.about-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 100px; align-items: start; }
.about h2, .product h2, .features h2, .contact h1, .contact h2 { font-size: clamp(38px, 4.3vw, 56px); }
.about-copy { padding-top: 28px; color: #53697b; font-size: 17px; }
.about-copy p { margin: 0 0 24px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.audience-grid article { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,253,248,.55); }
.audience-grid article::after { content: ""; position: absolute; width: 90px; height: 90px; right: -26px; bottom: -33px; border: 18px solid var(--orange-soft); border-radius: 50%; }
.audience-grid span { color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.audience-grid strong { display: block; margin: 26px 0 5px; color: var(--cobalt); font-family: "Iowan Old Style", "Songti TC", serif; font-size: 25px; }
.audience-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.product { padding-bottom: 120px; }
.product-card { position: relative; overflow: hidden; min-height: 590px; display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 70px; padding: 70px; border-radius: 40px; background: var(--cobalt); color: white; }
.product-card::before { content: ""; position: absolute; width: 600px; height: 600px; right: -250px; top: -290px; border: 70px solid rgba(255,255,255,.06); border-radius: 50%; }
.section-kicker.light { color: #ffc39f; }
.product-copy { position: relative; z-index: 2; }
.product-copy > img { width: 220px; height: 95px; object-fit: contain; margin: 18px 0 6px; padding: 7px 12px; border-radius: 17px; background: white; }
.product h2 { max-width: 650px; margin-top: 20px; }
.product-copy p { max-width: 580px; color: #d8e1ff; font-size: 17px; }
.product-copy a { display: inline-flex; gap: 12px; margin-top: 22px; padding-bottom: 4px; border-bottom: 2px solid var(--orange); font-weight: 900; }
.exam-card { position: relative; z-index: 2; padding: 30px; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 18px 18px 0 var(--orange); transform: rotate(2deg); }
.exam-top { display: flex; justify-content: space-between; color: #60728a; font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.exam-card h3 { margin: 25px 0; font-family: "Iowan Old Style", "Songti TC", serif; font-size: 28px; line-height: 1.4; }
.road-scene { position: relative; height: 180px; overflow: hidden; background: #cbd7e2; }
.road-scene::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -55px; height: 150px; background: #40566c; transform: rotate(-5deg); }
.road-scene i, .road-scene em, .road-scene span { position: absolute; z-index: 2; bottom: 35px; width: 72px; height: 8px; background: white; transform: rotate(-5deg); }
.road-scene i { left: 8%; }.road-scene em { left: 43%; }.road-scene span { right: 4%; }
.answer-bars { display: flex; gap: 12px; margin-top: 24px; }
.answer-bars i { width: 24%; height: 12px; background: #dce3e9; }
.answer-bars i:first-child { width: 34%; background: var(--orange); }

.features { padding-bottom: 130px; }
.section-heading { display: grid; grid-template-columns: 1fr .6fr; gap: 70px; align-items: end; }
.section-heading p { color: var(--muted); font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.feature-card { min-height: 320px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); transition: transform .22s ease, box-shadow .22s ease; }
.feature-card:hover { transform: translateY(-7px); box-shadow: 0 18px 34px rgba(24,50,74,.09); }
.feature-card > span { color: var(--muted); font-size: 15px; font-weight: 900; letter-spacing: .13em; }
.feature-card > i { width: 55px; height: 55px; margin: 36px 0 28px; border: 14px solid var(--cobalt); border-radius: 50%; box-shadow: 18px -13px 0 -7px var(--orange-soft); }
.feature-card.orange > i { border-color: var(--orange); box-shadow: 18px -13px 0 -7px #e6ecff; }
.feature-card.green > i { border-color: var(--green); box-shadow: 18px -13px 0 -7px var(--orange-soft); }
.feature-card.purple > i { border-color: #7657b4; box-shadow: 18px -13px 0 -7px #e6ecff; }
.feature-card h3 { margin: 20px 0 8px; font-family: "Iowan Old Style", "Songti TC", serif; color: var(--cobalt); font-size: 24px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.legal { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; padding-bottom: 120px; }
.legal-intro { align-self: start; position: sticky; top: 122px; }
.legal h2 { margin: 22px 0 18px; font-family: "Iowan Old Style", "Songti TC", "Noto Serif TC", "PMingLiU", serif; font-size: clamp(38px, 4vw, 58px); line-height: 1.16; letter-spacing: -.035em; }
.legal-intro > p { max-width: 520px; margin: 0; color: var(--muted); }
.legal-grid { display: grid; gap: 14px; }
.legal-grid article { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.legal-grid article > span { color: var(--orange); font-size: 15px; font-weight: 900; letter-spacing: .12em; }
.legal-grid h3 { margin: 0 0 7px; color: var(--cobalt); font-family: "Iowan Old Style", "Songti TC", serif; font-size: 22px; }
.legal-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.legal-grid a { display: inline-flex; gap: 8px; margin-top: 12px; padding-bottom: 2px; border-bottom: 1px solid var(--cobalt); color: var(--cobalt); font-size: 13px; font-weight: 800; }

.contact-hero { min-height: 700px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(470px, .94fr); gap: clamp(44px, 5vw, 76px); align-items: center; padding-top: 72px; padding-bottom: 100px; }
.contact-hero-copy { min-width: 0; }
.contact-hero-copy h1, .school-section-heading h2, .difference-copy h2 { margin: 22px 0 24px; font-family: "Iowan Old Style", "Songti TC", "Noto Serif TC", "PMingLiU", serif; font-weight: 800; letter-spacing: -.035em; line-height: 1.13; }
.contact-hero-copy h1 { max-width: 760px; font-size: clamp(48px, 5vw, 65px); }
.contact-hero-copy h1 em { display: block; color: var(--cobalt); font-style: normal; }
.contact-hero-copy > p { max-width: 720px; margin: 0; color: #53697b; font-size: 18px; line-height: 1.9; }
.contact-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.contact-tags span { padding: 7px 13px; border: 1px solid #cfd7ea; border-radius: 999px; background: rgba(255,255,255,.55); color: var(--cobalt); font-size: 12px; font-weight: 800; }
.school-console { position: relative; min-width: 0; overflow: hidden; padding: 34px; border: 1px solid #e2ddd4; border-radius: 34px; background: var(--paper); box-shadow: 20px 24px 0 var(--orange-soft), 0 28px 56px rgba(24,50,74,.13); }
.school-console::after { content: ""; position: absolute; width: 280px; height: 280px; right: -170px; top: -170px; border: 42px solid #e7ebfa; border-radius: 50%; }
.console-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.console-top div { display: grid; }
.console-top small { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.console-top strong { margin-top: 4px; color: var(--cobalt); font-family: "Iowan Old Style", "Songti TC", serif; font-size: 24px; }
.console-top > span { padding: 6px 11px; border-radius: 999px; background: var(--mint); color: var(--green); font-size: 11px; font-weight: 900; }
.console-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.console-grid article { display: flex; align-items: center; gap: 12px; min-height: 96px; padding: 15px; border-radius: 18px; background: #f2f4fa; }
.console-grid i { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--cobalt); color: white; font-style: normal; font-weight: 900; }
.console-grid article:nth-child(2) i { background: var(--orange); }
.console-grid article:nth-child(3) i { background: var(--green); }
.console-grid article:nth-child(4) i { background: #7657b4; }
.console-grid article div { min-width: 0; display: grid; }
.console-grid strong { font-size: 14px; }
.console-grid span { color: var(--muted); font-size: 11px; }
.console-note { margin-top: 20px; color: var(--muted); font-size: 12px; }
.console-note span { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); }

.school-benefits { padding-top: 120px; padding-bottom: 130px; border-top: 1px solid var(--line); }
.school-section-heading { display: grid; grid-template-columns: 1fr .55fr; gap: 70px; align-items: end; }
.school-section-heading h2 { font-size: clamp(38px, 4.3vw, 62px); }
.difference-copy h2 { font-size: clamp(38px, 3.6vw, 54px); }
.school-section-heading > p { margin: 0 0 24px; color: var(--muted); }
.school-section-heading.compact { grid-template-columns: 1fr; }
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.advantage-card { min-height: 330px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.advantage-card.featured { border-color: var(--orange); }
.advantage-card > span { color: var(--orange); font-size: 15px; font-weight: 900; letter-spacing: .14em; }
.advantage-card > i { width: 50px; height: 50px; display: grid; place-items: center; margin: 28px 0; border-radius: 16px; background: var(--cobalt); color: white; font-style: normal; font-weight: 900; box-shadow: 10px 10px 0 #dfe5fb; }
.advantage-card.featured > i { background: var(--orange); box-shadow: 10px 10px 0 var(--orange-soft); }
.advantage-card h3 { margin: 20 0 8px; color: var(--cobalt); font-family: "Iowan Old Style", "Songti TC", serif; font-size: 24px; }
.advantage-card p { margin: 0; color: var(--muted); font-size: 14px; }

.difference-section { display: grid; grid-template-columns: 1fr; gap: 42px; align-items: start; padding-top: 76px; padding-bottom: 82px; border-radius: 40px; background: var(--cobalt); color: white; }
.difference-copy { max-width: 1040px; padding: 0 48px; }
.difference-copy > p { max-width: 820px; margin-bottom: 0; color: #d8e1ff; font-size: 17px; }
.comparison-table { width: auto; height: fit-content; margin: 0 48px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; }
.comparison-row { display: grid; grid-template-columns: .55fr 1fr 1.2fr; }
.comparison-row > * { padding: 20px 22px; border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); font-size: 15px; line-height: 1.65; }
.comparison-row > *:first-child { border-left: 0; }
.comparison-row strong { color: #ffc39f; }
.comparison-row span:nth-child(2) { color: #cbd5f6; }
.comparison-row span:last-child { color: white; }
.comparison-head > * { border-top: 0; background: rgba(10,28,86,.34); color: white !important; font-size: 13px; font-weight: 900; letter-spacing: .08em; }

.school-flow { padding-top: 120px; padding-bottom: 120px; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 44px 0 0; padding: 0; list-style: none; }
.flow-grid li { position: relative; min-height: 190px; padding: 28px; border: 1px solid var(--line); border-top: 4px solid var(--cobalt); border-radius: 0 0 20px 20px; background: var(--paper); }
.flow-grid li::after { content: "→"; position: absolute; right: -14px; top: 42%; z-index: 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: white; font-weight: 900; }
.flow-grid li:last-child::after { display: none; }
.flow-grid span { color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.flow-grid strong { display: block; margin-top: 24px; color: var(--cobalt); font-family: "Iowan Old Style", "Songti TC", serif; font-size: 23px; }
.flow-grid p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }

.contact { padding-bottom: 110px; }
.contact-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(48px, 7vw, 100px); align-items: center; padding: 72px 8%; border-radius: 40px; background: var(--ink); color: white; }
.contact-panel::before, .contact-panel::after { content: ""; position: absolute; border: 2px dashed rgba(255,255,255,.15); border-radius: 50%; }
.contact-panel::before { width: 520px; height: 520px; right: -180px; top: -200px; }
.contact-panel::after { width: 620px; height: 620px; right: -230px; top: -250px; }
.contact-copy { position: relative; z-index: 2; max-width: 820px; }
.contact h1, .contact h2 { margin-bottom: 18px; }
.contact-copy > p { max-width: 600px; color: #c9d4dc; font-size: 16px; }
.contact-prompt-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.contact-prompt-list span { padding: 6px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #dbe4ea; font-size: 11px; }
.line-button { margin-top: 25px; background: #06c755; box-shadow: 0 14px 32px rgba(6,199,85,.16); }
.line-button:hover { box-shadow: 0 18px 38px rgba(6,199,85,.25); }
.line-button > span { display: grid; place-items: center; height: 33px; padding: 0 7px; border: 2px solid white; border-radius: 9px; font-size: 9px; }
.line-button b { font-size: 22px; }
.line-notice { display: block; max-width: 610px; margin-top: 14px; color: #aebdc8; font-size: 12px; line-height: 1.7; }
.contact-brand-mark { position: relative; z-index: 2; width: 240px; overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: 32px; background: white; box-shadow: 0 18px 44px rgba(0,0,0,.2); }
.contact-brand-mark img { width: 100%; aspect-ratio: 1; object-fit: cover; }
footer { max-width: 1348px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; padding: 35px 0 50px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { grid-row: 1 / 3; }
.footer-brand img { width: 54px; height: 54px; }
.footer-brand strong { color: var(--cobalt); }
footer p, footer > small { margin: 0; text-align: right; font-size: 12px; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 1220px) {
  .contact-hero { min-height: 0; grid-template-columns: 1fr; padding-top: 72px; }
  .contact-hero-copy { max-width: 860px; }
  .school-console { width: min(820px, calc(100% - 20px)); }
  .difference-copy { max-width: 820px; padding: 0 56px; }
  .comparison-table { margin: 0 56px; }
}

@media (max-width: 1100px) {
  .section-shell { padding-left: 32px; padding-right: 32px; }
  .site-header { padding-left: 32px; padding-right: 32px; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(760px, 100%); margin: 0 auto; }
  .trust-strip { grid-template-columns: 1fr 1fr; padding-left: 32px; padding-right: 32px; }
  .trust-strip > div:nth-child(3) { border-left: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .advantage-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid li:nth-child(2)::after { display: none; }
  footer { margin-left: 32px; margin-right: 32px; }
}

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { padding-top: 48px; }
  .hero-actions { gap: 20px; }
  .hero-visual { min-height: 500px; }
  .about-grid, .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .school-section-heading { grid-template-columns: 1fr; gap: 12px; }
  .legal { grid-template-columns: 1fr; gap: 36px; }
  .legal-intro { position: static; }
  .about-copy { padding-top: 0; }
  .audience-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; padding: 48px 34px; }
  .exam-card { max-width: 520px; }
  .contact-panel { grid-template-columns: 1fr; padding: 55px 34px; }
  .contact-brand-mark { width: 190px; justify-self: center; border-radius: 26px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 86px; }
  #top, #about, #ipasso, #features, #legal, #advantages, #difference, #school-flow, #line-contact { scroll-margin-top: 86px; }
  .section-shell { padding-left: 20px; padding-right: 20px; }
  .site-header { min-height: 70px; gap: 12px; padding: 10px 18px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 7px; }
  .nav-cta { padding: 9px 12px; font-size: 12px; }
  .hero h1 { font-size: 49px; }
  .contact-hero { min-height: 0; padding-top: 56px; padding-bottom: 80px; }
  .contact-hero-copy h1 { font-size: clamp(36px, 11vw, 43px); }
  .contact-hero-copy > p { font-size: 16px; }
  .console-grid { grid-template-columns: 1fr; }
  .school-console { width: calc(100% - 10px); padding: 24px; border-radius: 26px; box-shadow: 10px 14px 0 var(--orange-soft), 0 20px 42px rgba(24,50,74,.12); }
  .console-top { align-items: flex-start; gap: 14px; }
  .hero-lead { font-size: 16px; }
  .hero-note { align-items: flex-start; }
  .primary-button { min-height: 58px; width: 100%; }
  .text-link { margin-left: 4px; }
  .hero-visual { min-height: 390px; margin-top: 10px; }
  .app-window { width: 100%; border-radius: 22px; }
  .app-topbar { height: 66px; padding: 14px 20px; }
  .app-topbar img { width: 110px; }
  .app-body { min-height: 275px; grid-template-columns: 25% 75%; }
  .app-body aside { padding: 22px 12px; gap: 15px; }
  .dashboard { gap: 10px; padding: 14px; }
  .welcome-card { padding: 14px; }
  .welcome-card strong { font-size: 14px; }
  .score-ring { width: 48px; height: 48px; border-width: 6px; }
  .score-ring b { font-size: 14px; }
  .mini-grid { gap: 7px; }
  .mini-grid > div { display: block; padding: 10px; }
  .mini-icon { width: 30px; height: 30px; margin-bottom: 6px; }
  .mini-grid span { display: block; }
  .update-card { right: 0; bottom: -5px; padding: 12px 14px; }
  .update-card i { width: 32px; height: 32px; }
  .road-loop { width: 340px; height: 340px; }
  .trust-strip { grid-template-columns: 1fr; padding: 16px 20px; }
  .trust-strip > div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .trust-strip > div:first-child { border-top: 0; }
  .about, .features, .school-benefits { padding-top: 85px; padding-bottom: 85px; }
  .legal { padding-bottom: 85px; }
  .about h2, .product h2, .features h2, .contact h1, .contact h2, .school-section-heading h2, .difference-copy h2 { font-size: 39px; }
  .product { padding-bottom: 85px; }
  .product-card { padding: 40px 24px; border-radius: 28px; }
  .exam-card { padding: 22px; box-shadow: 10px 10px 0 var(--orange); }
  .feature-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-card { min-height: 300px; }
  .difference-section { margin-left: 20px; margin-right: 20px; padding: 56px 24px; border-radius: 28px; }
  .difference-copy { padding: 0; }
  .comparison-table { margin: 0; }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-row > * { border-left: 0; }
  .comparison-row:not(.comparison-head) { padding: 18px; border-top: 1px solid rgba(255,255,255,.18); }
  .comparison-head + .comparison-row { border-top: 0; }
  .comparison-row > strong { padding: 0 0 13px; border-top: 0; color: #ffc39f; font-size: 16px; }
  .comparison-row > span { position: relative; padding: 27px 14px 12px; border: 0; border-radius: 12px; background: rgba(255,255,255,.07); }
  .comparison-row > span + span { margin-top: 8px; }
  .comparison-row > span:last-child { background: rgba(255,255,255,.14); }
  .comparison-row > span::before { content: attr(data-label); position: absolute; top: 7px; left: 14px; color: #aebeea; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
  .comparison-row > span:last-child::before { color: #ffd0b4; }
  .comparison-head { display: none; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid li::after, .flow-grid li:nth-child(2)::after { display: none; }
  .flow-grid li { min-height: 0; padding: 24px; }
  .school-flow { padding-top: 85px; padding-bottom: 85px; }
  .feature-card { min-height: 280px; }
  .legal-grid article { gap: 14px; padding: 22px 20px; }
  .contact { padding-bottom: 75px; }
  .contact-panel { padding: 44px 24px; border-radius: 28px; }
  .contact-brand-mark { width: 170px; }
  .line-button { width: 100%; gap: 12px; padding: 0 16px; }
  footer { grid-template-columns: 1fr; align-items: start; margin: 0 20px; }
  .footer-brand { grid-row: auto; }
  footer p, footer > small { text-align: left; }
}

@media (max-width: 380px) {
  .brand span small { display: none; }
  .nav-cta { gap: 7px; }
  .console-top > span { display: none; }
  .school-console { padding: 20px; }
  .console-grid article { padding: 13px; }
  .contact-panel { padding-left: 20px; padding-right: 20px; }
  .contact-brand-mark { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
