* {
  box-sizing: border-box;
}

body {
  align-items: center;
  background: #dfe6f2;
  color: #172033;
  display: flex;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.phone-shell {
  background: #f5f7fb;
  box-shadow: 0 24px 80px rgba(20, 36, 67, 0.24);
  height: 812px;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
  width: min(390px, 100vw);
  max-width: 100%;
}

.page {
  display: none;
  height: 100%;
  overflow-y: auto;
  padding-bottom: 118px;
}

.page.active {
  display: block;
}

.hero {
  background: linear-gradient(135deg, #1f4fd8 0%, #2f6fed 58%, #5a8cff 100%);
  color: #fff;
  padding: 32px 15px 24px;
}

.hero-kicker {
  color: #dbe8ff;
  font-size: 12px;
  margin-bottom: 8px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.hero h1 {
  font-size: 24px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.hero p,
.plain-header p,
.dark-header p,
.green-header p {
  color: #eef5ff;
  font-size: 13px;
  line-height: 1.65;
  margin-top: 10px;
}

.search-card {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 53, 125, 0.18);
  color: #5e6f87;
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 14px;
  text-align: left;
  width: 100%;
}

.trust-strip {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  overflow: hidden;
}

.trust-strip div {
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 4px;
  text-align: center;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: #fff;
  font-size: 15px;
}

.trust-strip span {
  color: #dbe8ff;
  font-size: 11px;
  margin-top: 3px;
}

.search-card span {
  color: #1f4fd8;
  font-size: 20px;
}

.search-card strong {
  font-size: 13px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}

.stats div {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 16px;
}

.stats span {
  color: #dbe8ff;
  font-size: 11px;
  margin-top: 3px;
}

.content {
  padding: 14px;
}

.coupon-card {
  align-items: stretch;
  background: linear-gradient(135deg, #fff7e6 0%, #fff 56%, #eef4ff 100%);
  border-color: #ffd49b;
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  padding: 13px;
}

.coupon-card > div {
  flex: 1;
  min-width: 0;
}

.coupon-card small {
  color: #b85d00;
  display: block;
  font-size: 11px;
  font-weight: 800;
}

.coupon-card h2 {
  color: #172033;
  font-size: 16px;
  line-height: 1.35;
  margin-top: 5px;
}

.coupon-card p {
  color: #5d6b7e;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 5px;
}

.coupon-card aside {
  align-items: flex-end;
  display: flex;
  flex: 0 0 86px;
  flex-direction: column;
  justify-content: space-between;
}

.coupon-card span,
.coupon-card strong {
  background: #fff;
  border: 1px solid #ffd49b;
  color: #b85d00;
  display: block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 5px;
  text-align: center;
  width: 100%;
}

.coupon-card span {
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.coupon-card strong {
  border-radius: 0 0 8px 8px;
}

.coupon-card button {
  background: #e15f00;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  height: 32px;
  margin-top: 9px;
  width: 100%;
}

.schedule-card {
  margin-bottom: 14px;
  padding: 13px;
}

.schedule-card header {
  align-items: flex-start;
  display: flex;
  gap: 9px;
  justify-content: space-between;
}

.schedule-card h2 {
  font-size: 16px;
}

.schedule-card p {
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 4px;
}

.schedule-card header strong {
  background: #fff4e5;
  border: 1px solid #ffd49b;
  border-radius: 8px;
  color: #b85d00;
  flex: 0 0 auto;
  font-size: 11px;
  padding: 5px 7px;
  text-align: center;
}

.period {
  align-items: center;
  background: #f8fafc;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: 50px 1fr 34px;
  margin-top: 8px;
  padding: 9px;
}

.period b {
  color: #1f4fd8;
  font-size: 13px;
}

.period span,
.period em {
  color: #5d6b7e;
  font-size: 12px;
  font-style: normal;
}

.period em {
  color: #b85d00;
  font-weight: 800;
  text-align: right;
}

.coupon-page-hero {
  background: linear-gradient(135deg, #e15f00 0%, #f28b28 58%, #ffd49b 100%);
  color: #fff;
  padding: 24px 14px 18px;
  position: relative;
}

.coupon-page-hero small {
  color: #fff7e6;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-left: 42px;
}

.coupon-page-hero h1 {
  font-size: 26px;
  line-height: 1.15;
  margin-top: 6px;
  padding-left: 42px;
}

.coupon-page-hero p {
  color: #fff7e6;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
}

.coupon-ticket-page {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: #b85d00;
  display: flex;
  gap: 13px;
  justify-content: space-between;
  margin-top: 16px;
  padding: 14px;
}

.coupon-ticket-page div:first-child {
  align-items: baseline;
  display: flex;
  gap: 2px;
}

.coupon-ticket-page span {
  font-size: 18px;
  font-weight: 800;
}

.coupon-ticket-page strong {
  font-size: 44px;
  line-height: 1;
}

.coupon-ticket-page b,
.coupon-ticket-page em {
  display: block;
  font-style: normal;
  text-align: right;
}

.coupon-ticket-page b {
  color: #172033;
  font-size: 16px;
}

.coupon-ticket-page em {
  color: #8a520a;
  font-size: 12px;
  margin-top: 5px;
}

.coupon-rules-preview {
  padding: 14px;
}

.coupon-rules-preview h2 {
  font-size: 16px;
  margin-bottom: 6px;
}

.coupon-rules-preview div {
  background: #f8fafc;
  border-radius: 8px;
  margin-top: 8px;
  padding: 9px;
}

.coupon-rules-preview b,
.coupon-rules-preview span {
  display: block;
}

.coupon-rules-preview b {
  color: #b85d00;
  font-size: 12px;
}

.coupon-rules-preview span {
  color: #56657a;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}

.tool-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr 1fr;
}

.tool {
  border-radius: 8px;
  min-height: 98px;
  padding: 12px;
  text-align: left;
}

.tool i {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  color: #1f4fd8;
  display: flex;
  font-style: normal;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  margin-bottom: 9px;
  width: 28px;
}

.tool strong,
.tool span {
  display: block;
}

.tool strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.tool span {
  color: #5d6b7e;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

@media (max-width: 500px) {
  body {
    align-items: stretch;
    justify-content: flex-start;
  }

  .phone-shell {
    box-shadow: none;
    width: min(390px, 100vw);
  }
}

.blue {
  background: #eaf2ff;
  border: 1px solid #bdd2ff;
}

.orange {
  background: #fff4e5;
  border: 1px solid #ffd49b;
}

.green {
  background: #eaf8f1;
  border: 1px solid #bce6cf;
}

.violet {
  background: #f1edff;
  border: 1px solid #d6c9ff;
}

.section-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 18px 0 9px;
}

.data-board {
  margin-top: 14px;
  padding: 13px;
}

.data-board header {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: space-between;
}

.data-board h2 {
  font-size: 16px;
}

.data-board p {
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 3px;
}

.data-board header button {
  background: #eef4ff;
  border-radius: 8px;
  color: #1f4fd8;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
}

.signal {
  align-items: center;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  gap: 9px;
  margin-top: 8px;
  padding: 9px;
}

.signal b {
  align-items: center;
  background: #1f4fd8;
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex: 0 0 auto;
  font-size: 13px;
  height: 36px;
  justify-content: center;
  width: 48px;
}

.signal strong,
.signal span {
  display: block;
}

.signal strong {
  font-size: 14px;
}

.signal span {
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 3px;
}

.section-title h2 {
  font-size: 17px;
}

.section-title button,
.section-title span {
  background: transparent;
  color: #57708f;
  font-size: 12px;
}

.panel {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
}

.timeline {
  padding: 3px 13px;
}

.timeline article,
.path article {
  display: flex;
  gap: 10px;
  padding: 12px 0;
}

.timeline article + article,
.path article + article {
  border-top: 1px solid #edf0f5;
}

.timeline b {
  background: #1f4fd8;
  border: 4px solid #dce8ff;
  border-radius: 50%;
  flex: 0 0 auto;
  height: 16px;
  margin-top: 3px;
  width: 16px;
}

.timeline strong,
.timeline span,
.path strong,
.path span {
  display: block;
}

.timeline strong,
.path strong {
  font-size: 14px;
}

.timeline span,
.path span {
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}

.course {
  display: flex;
  gap: 10px;
  margin-bottom: 9px;
  padding: 12px;
}

.badge {
  align-items: center;
  background: #fff1e0;
  border-radius: 8px;
  color: #b85d00;
  display: flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  width: 42px;
}

.muted-badge {
  background: #eef4ff;
  color: #1f4fd8;
}

.course h3 {
  font-size: 15px;
}

.course p {
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 4px;
}

.course footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
}

.course footer strong {
  color: #e15f00;
  font-size: 14px;
}

.course footer button,
.primary {
  background: #1f4fd8;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
}

.course footer button {
  font-size: 12px;
  padding: 7px 11px;
}

.info-panel {
  margin-bottom: 9px;
  padding: 13px;
}

.info-panel section + section {
  border-top: 1px solid #edf0f5;
  margin-top: 11px;
  padding-top: 11px;
}

.info-panel h3 {
  font-size: 14px;
  margin-bottom: 7px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list span {
  background: #eef4ff;
  border-radius: 8px;
  color: #1f4fd8;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 7px;
}

.info-panel p {
  background: #f8fafc;
  border-radius: 8px;
  color: #344054;
  font-size: 12px;
  line-height: 1.55;
  padding: 9px;
}

.info-panel aside {
  background: #fff7e6;
  border-radius: 8px;
  margin-top: 11px;
  padding: 9px;
}

.info-panel aside span {
  color: #5d4a2f;
  display: block;
  font-size: 12px;
  line-height: 1.55;
}

.faq-list {
  padding: 0 12px;
}

.faq-list button {
  align-items: center;
  background: transparent;
  color: #172033;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: space-between;
  min-height: 44px;
  padding: 0;
  text-align: left;
  width: 100%;
}

.faq-list button + button {
  border-top: 1px solid #edf0f5;
}

.faq-list span {
  color: #8a96a8;
  font-size: 20px;
  margin-left: 9px;
}

.bottom-bar {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e7ecf3;
  bottom: 0;
  display: none;
  gap: 9px;
  grid-template-columns: 1fr 1fr;
  left: 0;
  padding: 9px 14px 13px;
  position: absolute;
  right: 0;
}

.phone-shell[data-current-page="home"] .bottom-bar {
  display: grid;
}

.bottom-bar button {
  background: #eef4ff;
  border-radius: 8px;
  color: #1f4fd8;
  font-size: 14px;
  font-weight: 700;
  height: 44px;
}

.bottom-bar .primary,
.primary {
  background: #1f4fd8;
  color: #fff;
}

.plain-header,
.dark-header,
.green-header {
  color: #fff;
  padding: 24px 14px 18px;
  position: relative;
}

.plain-header {
  background: #fff;
  color: #172033;
}

.plain-header p {
  color: #667085;
}

.blue-header {
  background: #1f4fd8;
  color: #fff;
}

.blue-header p {
  color: #e7efff;
}

.dark-header {
  background: #172033;
}

.green-header {
  background: #116149;
}

.plain-header h1,
.dark-header h1,
.green-header h1 {
  font-size: 20px;
  line-height: 1.25;
  padding-left: 26px;
}

.back {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: currentColor;
  font-size: 28px;
  height: 32px;
  left: 10px;
  line-height: 26px;
  position: absolute;
  top: 18px;
  width: 32px;
}

.query-row {
  align-items: center;
  background: #f2f6ff;
  border: 1px solid #cfdbf3;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 5px 5px 5px 12px;
}

.query-row input {
  background: transparent;
  border: 0;
  flex: 1;
  min-width: 0;
  outline: 0;
}

.query-row button {
  background: #1f4fd8;
  border-radius: 8px;
  color: #fff;
  padding: 8px 14px;
}

.chips {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.chips button {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  color: #172033;
  font-size: 13px;
  padding: 9px;
  text-align: left;
}

.chips button.active {
  border-color: #1f4fd8;
}

.chips span {
  color: #667085;
  display: block;
  font-size: 11px;
  margin-top: 4px;
}

.school-card,
.form-card,
.question,
.result,
.resource,
.path {
  margin-top: 12px;
  padding: 14px;
}

.school-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.school-head h2 {
  font-size: 18px;
}

.school-head p {
  color: #667085;
  font-size: 12px;
  margin-top: 4px;
}

.school-head mark {
  background: #eef4ff;
  border-radius: 8px;
  color: #1f4fd8;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 7px;
}

.metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-top: 13px;
}

.metrics div {
  background: #f8fafc;
  border-radius: 8px;
  padding: 9px;
}

.metrics div:last-child {
  grid-column: 1 / -1;
}

.metrics span,
.metrics strong {
  display: block;
}

.metrics span {
  color: #7b8797;
  font-size: 11px;
}

.metrics strong {
  font-size: 13px;
  margin-top: 5px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.tags span {
  background: #fff4e5;
  border-radius: 8px;
  color: #a65500;
  font-size: 11px;
  padding: 4px 6px;
}

.school-card aside {
  background: #eef8f4;
  border-radius: 8px;
  margin-top: 12px;
  padding: 11px;
}

.school-card aside strong {
  color: #116149;
  font-size: 13px;
}

.school-card aside p,
.form-card p {
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 5px;
}

.form-card h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.form-card input,
.form-card select {
  appearance: none;
  background: #f8fafc;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  display: block;
  height: 43px;
  margin-bottom: 8px;
  outline: 0;
  padding: 0 11px;
  width: 100%;
}

.form-card select {
  background-image:
    linear-gradient(45deg, transparent 50%, #667085 50%),
    linear-gradient(135deg, #667085 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 18px,
    calc(100% - 13px) 18px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  color: #172033;
  font-weight: 700;
}

.form-card .primary,
.result .primary {
  height: 44px;
  width: 100%;
}

.question {
  position: relative;
}

.question > span {
  background: #eef4ff;
  border-radius: 8px;
  color: #1f4fd8;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 7px;
}

.question em {
  color: #8a96a8;
  font-size: 11px;
  font-style: normal;
  position: absolute;
  right: 14px;
  top: 18px;
}

.question h2 {
  font-size: 15px;
  line-height: 1.45;
  margin: 11px 0 9px;
}

.question label {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e7ecf3;
  border-radius: 8px;
  color: #344054;
  display: flex;
  font-size: 13px;
  gap: 7px;
  margin-top: 7px;
  min-height: 41px;
  padding: 8px 9px;
}

.result {
  text-align: center;
}

.result > strong {
  color: #1f4fd8;
  display: block;
  font-size: 42px;
  line-height: 1;
}

.result h2 {
  font-size: 17px;
  margin-top: 6px;
}

.result p {
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0 13px;
}

.resource.active {
  border-color: #1f4fd8;
}

.resource small {
  display: flex;
  gap: 6px;
}

.resource small span {
  background: #eef4ff;
  border-radius: 8px;
  color: #1f4fd8;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 6px;
}

.resource h2 {
  font-size: 15px;
  margin-top: 9px;
}

.resource p {
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}

.resource-detail {
  margin-top: 12px;
  padding: 14px;
}

.resource-detail small {
  color: #1f4fd8;
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.resource-detail h2 {
  font-size: 16px;
  line-height: 1.35;
  margin-top: 6px;
}

.resource-detail p {
  color: #56657a;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 7px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.detail-tags span {
  background: #eef4ff;
  border-radius: 8px;
  color: #1f4fd8;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 6px;
}

.resource-detail ul {
  list-style: none;
  margin: 11px 0 0;
  padding: 0;
}

.resource-detail li {
  background: #f8fafc;
  border-radius: 8px;
  color: #344054;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 7px;
  padding: 8px 9px;
}

.resource-detail aside {
  background: #fff7e6;
  border-radius: 8px;
  margin-top: 11px;
  padding: 9px;
}

.resource-detail aside b,
.resource-detail aside span {
  display: block;
}

.resource-detail aside b {
  color: #b85d00;
  font-size: 12px;
}

.resource-detail aside span {
  color: #5d4a2f;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}

.path b {
  align-items: center;
  background: #eef4ff;
  border-radius: 8px;
  color: #1f4fd8;
  display: flex;
  flex: 0 0 auto;
  font-size: 12px;
  height: 28px;
  justify-content: center;
  width: 32px;
}

.site-nav {
  display: none;
}

@media (min-width: 640px) {
  body {
    align-items: stretch;
    background: #f4f7fb;
    display: block;
    min-height: 100vh;
  }

  .site-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #e5eaf2;
    display: flex;
    gap: 24px;
    height: 68px;
    justify-content: space-between;
    left: 0;
    padding: 0 max(32px, calc((100vw - 1180px) / 2));
    position: sticky;
    right: 0;
    top: 0;
    z-index: 20;
  }

  .site-nav button,
  .site-nav a {
    text-decoration: none;
  }

  .brand {
    background: transparent;
    color: #172033;
    display: flex;
    flex-direction: column;
    font-weight: 900;
    line-height: 1.2;
    min-width: 180px;
    text-align: left;
  }

  .brand small {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    margin-top: 3px;
  }

  .site-nav nav {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: center;
  }

  .site-nav nav button {
    background: transparent;
    border-radius: 8px;
    color: #344054;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 14px;
  }

  .site-nav nav button:hover {
    background: #eef4ff;
    color: #1f4fd8;
  }

  .tel-link {
    background: #1f4fd8;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    padding: 11px 16px;
  }

  .phone-shell {
    background: #f4f7fb;
    box-shadow: none;
    height: auto;
    max-height: none;
    max-width: none;
    min-height: calc(100vh - 68px);
    overflow: visible;
    width: 100%;
  }

  .page {
    height: auto;
    min-height: calc(100vh - 68px);
    overflow: visible;
    padding-bottom: 80px;
  }

  .hero,
  .coupon-page-hero,
  .green-header,
  .plain-header,
  .dark-header {
    padding: 56px max(32px, calc((100vw - 1180px) / 2));
  }

  .hero {
    display: grid;
    gap: 18px 30px;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  }

  .hero-kicker,
  .hero h1,
  .hero p,
  .trust-strip,
  .search-card {
    grid-column: 1;
  }

  .stats {
    align-self: start;
    grid-column: 2;
    grid-row: 2 / span 4;
    margin-top: 0;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.12;
    max-width: 760px;
  }

  .hero p,
  .plain-header p,
  .dark-header p,
  .green-header p,
  .coupon-page-hero p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 720px;
  }

  .hero-kicker {
    font-size: 16px;
    font-weight: 800;
  }

  .trust-strip {
    max-width: 520px;
  }

  .trust-strip div,
  .stats div {
    padding: 16px 10px;
  }

  .trust-strip strong,
  .stats strong {
    font-size: 20px;
  }

  .trust-strip span,
  .stats span {
    font-size: 13px;
  }

  .search-card {
    max-width: 520px;
    min-height: 58px;
  }

  .search-card strong {
    font-size: 16px;
  }

  .stats {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .content {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1180px;
    padding: 30px 32px 96px;
  }

  .content > * {
    grid-column: span 12;
  }

  .page[data-page="home"] .coupon-card,
  .page[data-page="home"] .schedule-card {
    grid-column: span 6;
    margin-bottom: 0;
  }

  .page[data-page="home"] .tool-grid,
  .page[data-page="home"] .data-board,
  .page[data-page="home"] .timeline,
  .page[data-page="home"] .info-panel,
  .page[data-page="home"] .faq-list {
    grid-column: span 12;
  }

  .page[data-page="home"] .course {
    grid-column: span 6;
    margin-bottom: 0;
  }

  .page[data-page="home"] .section-title {
    grid-column: span 12;
    margin: 10px 0 -6px;
  }

  .tool-grid {
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tool {
    min-height: 132px;
    padding: 18px;
  }

  .tool strong {
    font-size: 18px;
  }

  .tool span {
    font-size: 14px;
  }

  .panel {
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(20, 36, 67, 0.06);
  }

  .coupon-card,
  .schedule-card,
  .data-board,
  .info-panel,
  .course,
  .timeline,
  .faq-list,
  .resource,
  .resource-detail,
  .form-card,
  .coupon-rules-preview,
  .path {
    padding: 22px;
  }

  .coupon-card h2,
  .schedule-card h2,
  .data-board h2,
  .section-title h2,
  .resource-detail h2,
  .form-card h2 {
    font-size: 22px;
  }

  .coupon-card p,
  .schedule-card p,
  .data-board p,
  .course p,
  .info-panel p,
  .resource p,
  .resource-detail p {
    font-size: 14px;
  }

  .data-board {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .data-board header {
    grid-column: 1 / -1;
  }

  .signal {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0;
    min-height: 150px;
    padding: 18px;
  }

  .signal b {
    height: 32px;
    width: 54px;
  }

  .signal strong {
    font-size: 18px;
  }

  .signal span {
    font-size: 14px;
  }

  .timeline {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline article {
    border: 0;
    padding: 0;
  }

  .timeline article + article {
    border-top: 0;
  }

  .info-panel {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-panel section + section {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }

  .info-panel aside {
    grid-column: 1 / -1;
  }

  .faq-list {
    padding: 6px 22px;
  }

  .faq-list button {
    font-size: 16px;
    min-height: 56px;
  }

  .coupon-page-hero h1,
  .plain-header h1,
  .green-header h1,
  .dark-header h1 {
    font-size: 40px;
    padding-left: 0;
  }

  .coupon-page-hero small,
  .coupon-page-hero h1 {
    margin-left: 0;
    padding-left: 0;
  }

  .back {
    display: none;
  }

  .page[data-page="coupon"] .coupon-rules-preview,
  .page[data-page="resource"] .resource-detail,
  .page[data-page="plan"] .path {
    grid-column: span 7;
  }

  .page[data-page="coupon"] .form-card,
  .page[data-page="resource"] .form-card,
  .page[data-page="plan"] .form-card {
    grid-column: span 5;
  }

  .page[data-page="resource"] .resource {
    grid-column: span 3;
  }

  .form-card input,
  .form-card select {
    height: 48px;
    margin-bottom: 12px;
  }

  .form-card .primary,
  .result .primary {
    height: 48px;
  }

  .bottom-bar {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    bottom: 24px;
    box-shadow: 0 16px 36px rgba(20, 36, 67, 0.12);
    display: grid;
    gap: 10px;
    grid-template-columns: 120px 140px;
    left: auto;
    padding: 10px;
    position: fixed;
    right: 24px;
  }

  .phone-shell[data-current-page="home"] .bottom-bar {
    display: grid;
  }
}

@media (max-width: 639px) {
  body {
    align-items: stretch;
    background: #f5f7fb;
    justify-content: flex-start;
  }

  .phone-shell {
    box-shadow: none;
    height: auto;
    max-height: none;
    min-height: 100vh;
    width: 100%;
  }

  .page {
    min-height: 100vh;
  }
}

@media (min-width: 640px) {
  body {
    background: #f3f6fb;
  }

  .site-nav {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e6ebf3;
    height: 64px;
    padding: 0 max(32px, calc((100vw - 1040px) / 2));
  }

  .site-nav nav {
    gap: 6px;
  }

  .site-nav nav button {
    border-radius: 8px;
    color: #39465e;
    font-size: 14px;
    padding: 9px 14px;
    white-space: nowrap;
  }

  .site-nav nav button:hover {
    background: #eef4ff;
  }

  .hero,
  .coupon-page-hero,
  .plain-header,
  .green-header,
  .dark-header {
    padding-left: max(32px, calc((100vw - 1040px) / 2));
    padding-right: max(32px, calc((100vw - 1040px) / 2));
  }

  .hero {
    align-items: center;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 320px;
    min-height: 360px;
    padding-bottom: 42px;
    padding-top: 54px;
  }

  .hero-kicker,
  .hero h1,
  .hero p,
  .trust-strip,
  .search-card {
    grid-column: 1;
    max-width: 620px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.75;
    max-width: 600px;
  }

  .trust-strip {
    max-width: 430px;
  }

  .search-card {
    max-width: 320px;
  }

  .stats {
    align-self: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    display: none;
    grid-column: 2;
    grid-row: 1 / span 5;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 14px;
  }

  .stats div {
    padding: 14px 12px;
  }

  .content {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1040px;
    padding: 26px 32px 100px;
  }

  .content > *,
  .page[data-page="home"] .tool-grid,
  .page[data-page="home"] .data-board,
  .page[data-page="home"] .timeline,
  .page[data-page="home"] .info-panel,
  .page[data-page="home"] .faq-list {
    grid-column: 1 / -1;
  }

  .page[data-page="home"] .coupon-card,
  .page[data-page="home"] .schedule-card,
  .page[data-page="home"] .course {
    grid-column: span 1;
  }

  .page[data-page="home"] .section-title {
    grid-column: 1 / -1;
    margin: 6px 0 -2px;
    max-width: none;
  }

  .section-title button {
    margin-left: auto;
  }

  .coupon-card,
  .schedule-card,
  .data-board,
  .info-panel,
  .course,
  .timeline,
  .faq-list,
  .resource,
  .resource-detail,
  .form-card,
  .coupon-rules-preview,
  .path {
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(25, 40, 72, 0.06);
    padding: 20px;
  }

  .coupon-card h2,
  .schedule-card h2,
  .data-board h2,
  .section-title h2,
  .resource-detail h2,
  .form-card h2 {
    font-size: 20px;
  }

  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool {
    min-height: 118px;
  }

  .page[data-page="coupon"] .coupon-rules-preview,
  .page[data-page="resource"] .resource-detail,
  .page[data-page="plan"] .path {
    grid-column: 1;
  }

  .page[data-page="coupon"] .form-card,
  .page[data-page="resource"] .form-card,
  .page[data-page="plan"] .form-card {
    grid-column: 2;
  }

  .page[data-page="resource"] .resource {
    grid-column: span 1;
  }

  .bottom-bar,
  .phone-shell[data-current-page="home"] .bottom-bar {
    display: none;
  }
}

@media (min-width: 640px) and (max-width: 900px) {
  .site-nav {
    height: 58px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .site-nav nav {
    display: none;
  }

  .tel-link {
    padding: 10px 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 30px;
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .stats {
    display: none;
  }

  .content {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .page[data-page="home"] .coupon-card,
  .page[data-page="home"] .schedule-card,
  .page[data-page="home"] .course,
  .page[data-page="coupon"] .coupon-rules-preview,
  .page[data-page="coupon"] .form-card,
  .page[data-page="resource"] .resource-detail,
  .page[data-page="resource"] .form-card,
  .page[data-page="plan"] .path,
  .page[data-page="plan"] .form-card {
    grid-column: 1;
  }
}

/* Official site skin inspired by the auto-writing platform homepage */
:root {
  --paper: #faf8f5;
  --paper-2: #f3f0eb;
  --surface: #ede9e2;
  --ink: #1a1814;
  --ink-2: #3d3a34;
  --muted: #807b72;
  --line: rgba(160, 150, 135, 0.32);
  --gold: #a07840;
  --gold-2: #c49a58;
  --blue: #2f66d0;
  --blue-soft: #e9f0ff;
  --coral: #d96a3a;
  --coral-soft: #fff1e8;
  --mint: #2f7a5d;
  --mint-soft: #eaf7f0;
  --plum: #7d4aa8;
  --plum-soft: #f4ecff;
  --green-ink: #31483a;
  --red-ink: #8b3a2e;
}

body {
  align-items: stretch;
  background:
    radial-gradient(circle at 8% 10%, rgba(47, 102, 208, 0.08), transparent 24%),
    radial-gradient(circle at 78% 8%, rgba(217, 106, 58, 0.1), transparent 22%),
    radial-gradient(circle at 92% 42%, rgba(47, 122, 93, 0.08), transparent 20%),
    linear-gradient(180deg, var(--paper), var(--paper-2));
  color: var(--ink);
  display: block;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  letter-spacing: 0;
}

button,
input,
select,
.tel-link {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  background-image:
    linear-gradient(rgba(160, 150, 135, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 150, 135, 0.04) 1px, transparent 1px);
  background-size: 100% 32px, 32px 100%;
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: fixed;
}

.site-nav {
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  align-items: center;
  backdrop-filter: saturate(180%) blur(16px);
  background: rgba(250, 248, 245, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 28px -28px rgba(26, 24, 20, 0.32);
  color: var(--ink);
  display: flex;
  gap: 26px;
  height: 58px;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  background: transparent;
  color: var(--ink);
  display: flex;
  gap: 12px;
  padding: 0;
}

.brand::before {
  display: none;
}

.brand img {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.42);
  display: block;
  height: 34px;
  object-fit: cover;
  object-position: center;
  width: 116px;
}

.brand span {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 700;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.site-nav nav {
  display: flex;
  gap: 30px;
}

.site-nav nav button {
  background: transparent;
  border-radius: 0;
  color: var(--muted);
  font-size: 13px;
  padding: 4px 0;
}

.site-nav nav button:hover {
  background: transparent;
  color: var(--ink);
}

.tel-link {
  background: linear-gradient(135deg, var(--ink), #3b3023);
  border-radius: 0;
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  text-decoration: none;
}

.phone-shell {
  background: transparent;
  box-shadow: none;
  height: auto;
  max-height: none;
  min-height: calc(100vh - 58px);
  overflow: visible;
  position: relative;
  width: 100%;
}

.page {
  height: auto;
  min-height: calc(100vh - 58px);
  overflow: visible;
  padding-bottom: 0;
}

.hero {
  background: transparent;
  color: var(--ink);
  display: grid;
  gap: 0 72px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  margin: 0 auto;
  max-width: 1180px;
  min-height: 560px;
  padding: 96px 36px 72px;
}

.hero-kicker {
  align-self: end;
  border-left: 2px solid var(--coral);
  color: var(--coral);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  grid-column: 1;
  margin: 0 0 20px;
  padding-left: 14px;
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 500;
  grid-column: 1;
  line-height: 1.12;
  max-width: 700px;
}

.hero p {
  border-left: 2px solid var(--gold);
  color: var(--ink-2);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 17px;
  grid-column: 1;
  line-height: 1.95;
  margin-top: 26px;
  max-width: 650px;
  padding-left: 18px;
}

.trust-strip {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  display: grid;
  gap: 0;
  grid-column: 1;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  max-width: 620px;
}

.trust-strip div {
  background: rgba(250, 248, 245, 0.7);
  border-right: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
}

.trust-strip div:nth-child(1) {
  background: linear-gradient(180deg, rgba(233, 240, 255, 0.9), rgba(250, 248, 245, 0.72));
}

.trust-strip div:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 241, 232, 0.92), rgba(250, 248, 245, 0.72));
}

.trust-strip div:nth-child(3) {
  background: linear-gradient(180deg, rgba(234, 247, 240, 0.9), rgba(250, 248, 245, 0.72));
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  color: var(--ink);
  font-size: 17px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 12px;
}

.search-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  gap: 12px;
  grid-column: 1;
  margin-top: 34px;
  max-width: 280px;
  padding: 0 0 8px;
  width: auto;
}

.search-card span {
  color: var(--blue);
}

.search-card strong {
  color: var(--ink);
  font-size: 14px;
}

.stats {
  align-self: end;
  background:
    radial-gradient(circle at 82% 12%, rgba(196, 154, 88, 0.34), transparent 28%),
    radial-gradient(circle at 20% 86%, rgba(47, 102, 208, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(26, 24, 20, 0.98), rgba(49, 72, 58, 0.98)),
    var(--ink);
  border: 0;
  box-shadow: 0 28px 52px -34px rgba(26, 24, 20, 0.54);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 0;
  grid-column: 2;
  grid-row: 1 / span 6;
  justify-content: flex-end;
  margin: 0 0 8px auto;
  min-height: 430px;
  overflow: hidden;
  padding: 168px 28px 28px;
  position: relative;
  width: min(100%, 340px);
}

.stats::before {
  color: rgba(255, 255, 255, 0.08);
  content: "欧";
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 138px;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 24px;
}

.stats::after {
  color: rgba(250, 248, 245, 0.5);
  content: "ORENDA EDUCATION";
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  left: 28px;
  position: absolute;
  top: 38px;
}

.stats div {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  padding: 18px 0;
  text-align: left;
}

.stats strong {
  color: #fff;
  font-size: 20px;
}

.stats span {
  color: rgba(250, 248, 245, 0.55);
  font-size: 13px;
}

.content {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
  padding: 36px 36px 96px;
  position: relative;
}

.panel,
.resource,
.resource-detail,
.form-card,
.coupon-rules-preview,
.path,
.coupon-card,
.schedule-card,
.data-board,
.faq-list {
  background: rgba(250, 248, 245, 0.78);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 18px 46px -36px rgba(26, 24, 20, 0.32);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
  will-change: transform;
}

.panel:hover,
.resource:hover,
.resource-detail:hover,
.form-card:hover,
.coupon-rules-preview:hover,
.path:hover,
.coupon-card:hover,
.schedule-card:hover,
.data-board:hover,
.faq-list:hover,
.trust-strip:hover,
.stats:hover {
  border-color: rgba(160, 120, 64, 0.56);
  box-shadow: 0 26px 62px -34px rgba(26, 24, 20, 0.42);
  transform: translateY(-6px);
}

.page[data-page="home"] .coupon-card {
  grid-column: 1 / 7;
}

.page[data-page="home"] .section-title {
  align-items: end;
  grid-column: 1 / -1;
  margin: 12px 0 -6px;
}

.section-title h2,
.coupon-card h2,
.schedule-card h2,
.data-board h2,
.resource-detail h2,
.form-card h2,
.coupon-rules-preview h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 600;
}

.section-title button,
.data-board header button,
.coupon-card button,
.schedule-card header strong,
.primary,
.form-card .primary {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
}

.section-title button:hover,
.data-board header button:hover,
.coupon-card button:hover,
.primary:hover,
.form-card .primary:hover,
.tel-link:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.coupon-card {
  background:
    linear-gradient(135deg, rgba(255, 241, 232, 0.96), rgba(250, 248, 245, 0.94) 48%, rgba(233, 240, 255, 0.72));
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 96px;
  margin: 0;
  padding: 24px;
}

.coupon-card small,
.coupon-rules-preview b,
.period b {
  color: var(--coral);
}

.coupon-card p,
.schedule-card p,
.data-board p,
.resource-detail p,
.coupon-rules-preview span {
  color: var(--ink-2);
  line-height: 1.7;
}

.coupon-card aside {
  flex-basis: auto;
}

.coupon-card span,
.coupon-card strong {
  border-color: rgba(160, 120, 64, 0.38);
  border-radius: 0;
  color: var(--gold);
}

.tool-grid {
  display: grid;
  gap: 20px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool {
  background: rgba(250, 248, 245, 0.78);
  border: 1px solid var(--line);
  border-radius: 0;
  min-height: 160px;
  padding: 22px;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.tool.blue {
  background: linear-gradient(180deg, var(--blue-soft), rgba(250, 248, 245, 0.92));
}

.tool.orange {
  background: linear-gradient(180deg, var(--coral-soft), rgba(250, 248, 245, 0.92));
}

.tool.green {
  background: linear-gradient(180deg, var(--mint-soft), rgba(250, 248, 245, 0.92));
}

.tool.violet {
  background: linear-gradient(180deg, var(--plum-soft), rgba(250, 248, 245, 0.92));
}

.tool:hover {
  border-color: rgba(160, 120, 64, 0.58);
  box-shadow: 0 24px 54px -36px rgba(26, 24, 20, 0.38);
  transform: translateY(-7px);
}

.tool i {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--gold);
  height: 34px;
  margin-bottom: 22px;
  width: 34px;
}

.tool.blue i {
  border-color: rgba(47, 102, 208, 0.28);
  color: var(--blue);
}

.tool.orange i {
  border-color: rgba(217, 106, 58, 0.28);
  color: var(--coral);
}

.tool.green i {
  border-color: rgba(47, 122, 93, 0.28);
  color: var(--mint);
}

.tool.violet i {
  border-color: rgba(125, 74, 168, 0.28);
  color: var(--plum);
}

.tool strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 19px;
}

.tool span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  margin-top: 10px;
}

.data-board {
  grid-column: 1 / 8;
  padding: 28px;
}

.data-board header,
.schedule-card header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.signal,
.period,
.coupon-rules-preview div,
.path article {
  background: rgba(243, 240, 235, 0.72);
  border-radius: 0;
}

.signal b {
  background: var(--ink);
  border-radius: 0;
  color: var(--paper);
}

.signal:nth-of-type(2) b {
  background: var(--blue);
}

.signal:nth-of-type(3) b {
  background: var(--mint);
}

.signal:nth-of-type(4) b {
  background: var(--coral);
}

.page[data-page="home"] .schedule-card {
  grid-column: 8 / -1;
  margin: 0;
  padding: 28px;
}

.period {
  border-left: 2px solid var(--gold);
  grid-template-columns: 72px 1fr 46px;
  padding: 14px;
}

.period:nth-of-type(2) {
  border-left-color: var(--blue);
}

.period:nth-of-type(3) {
  border-left-color: var(--mint);
}

.period:nth-of-type(4) {
  border-left-color: var(--coral);
}

.faq-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
}

.faq-list button {
  background: transparent;
  border-bottom: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 18px;
  padding: 22px;
}

.faq-list button:last-child {
  border-right: 0;
}

.coupon-page-hero,
.plain-header,
.green-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  margin: 0;
  padding: 72px max(36px, calc((100vw - 1180px) / 2)) 54px;
}

.coupon-page-hero h1,
.plain-header h1,
.green-header h1 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  margin-top: 8px;
  padding-left: 0;
}

.coupon-page-hero small {
  color: var(--gold);
  margin-left: 0;
}

.coupon-page-hero p,
.plain-header p,
.green-header p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
  max-width: 650px;
}

.back {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  left: auto;
  margin-bottom: 24px;
  position: static;
}

.page[data-page="resource"] .resource,
.page[data-page="coupon"] .coupon-rules-preview,
.page[data-page="plan"] .path {
  grid-column: span 3;
}

.page[data-page="resource"] .resource-detail,
.page[data-page="coupon"] .coupon-rules-preview,
.page[data-page="plan"] .path {
  grid-column: 1 / 8;
}

.page[data-page="resource"] .form-card,
.page[data-page="coupon"] .form-card,
.page[data-page="plan"] .form-card {
  grid-column: 8 / -1;
}

.form-card input,
.form-card select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
}

.bottom-bar {
  display: none;
}

@media (max-width: 920px) {
  .site-nav {
    height: auto;
    min-height: 58px;
    padding: 12px 18px;
  }

  .site-nav nav {
    display: none;
  }

  .tel-link {
    padding: 9px 12px;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 54px 18px 34px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 15px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .stats {
    margin: 34px 0 0;
    min-height: 320px;
    width: 100%;
  }

  .content {
    display: block;
    padding: 22px 18px 92px;
  }

  .content > * {
    margin-bottom: 18px;
  }

  .tool-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .tool {
    min-height: auto;
  }

  .coupon-card {
    grid-template-columns: 1fr;
  }

  .coupon-card aside {
    align-items: stretch;
  }

  .coupon-page-hero,
  .plain-header,
  .green-header {
    padding: 34px 18px 28px;
  }

  .faq-list button {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .faq-list button:last-child {
    border-bottom: 0;
  }
}

/* Apple-inspired palette refinement */
:root {
  --paper: #fbfbfd;
  --paper-2: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --gold: #0071e3;
  --gold-2: #2997ff;
  --blue: #0071e3;
  --blue-soft: #e8f2ff;
  --coral: #ff6b35;
  --coral-soft: #fff0e8;
  --mint: #34c759;
  --mint-soft: #eaf8ee;
  --plum: #af52de;
  --plum-soft: #f6ebff;
}

body {
  background:
    radial-gradient(circle at 16% 8%, rgba(0, 113, 227, 0.1), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(52, 199, 89, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 58%, #fbfbfd 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

body::before {
  opacity: 0.18;
}

.site-nav {
  background: rgba(251, 251, 253, 0.82);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.28);
}

.brand span,
.hero h1,
.section-title h2,
.coupon-card h2,
.schedule-card h2,
.data-board h2,
.resource-detail h2,
.form-card h2,
.coupon-rules-preview h2,
.tool strong,
.coupon-page-hero h1,
.plain-header h1,
.green-header h1,
.faq-list button {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

.tel-link,
.section-title button,
.data-board header button,
.coupon-card button,
.schedule-card header strong,
.primary,
.form-card .primary {
  background: #0071e3;
  border-color: #0071e3;
  color: #fff;
}

.tel-link:hover,
.section-title button:hover,
.data-board header button:hover,
.coupon-card button:hover,
.primary:hover,
.form-card .primary:hover {
  background: #005bb5;
  border-color: #005bb5;
}

.hero-kicker {
  border-left-color: #0071e3;
  color: #0071e3;
}

.hero h1 {
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: 0;
}

.hero p {
  border-left-color: rgba(0, 113, 227, 0.42);
  color: #424245;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
}

.trust-strip,
.panel,
.resource,
.resource-detail,
.form-card,
.coupon-rules-preview,
.path,
.coupon-card,
.schedule-card,
.data-board,
.faq-list,
.tool {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 48px -38px rgba(0, 0, 0, 0.32);
}

.trust-strip div {
  border-color: rgba(0, 0, 0, 0.08);
}

.trust-strip div:nth-child(1) {
  background: linear-gradient(180deg, #edf5ff, #fff);
}

.trust-strip div:nth-child(2) {
  background: linear-gradient(180deg, #fff3ec, #fff);
}

.trust-strip div:nth-child(3) {
  background: linear-gradient(180deg, #edfbf1, #fff);
}

.search-card {
  border-bottom-color: #0071e3;
  color: #0071e3;
}

.search-card span,
.search-card strong {
  color: #0071e3;
}

.stats {
  background:
    radial-gradient(circle at 82% 8%, rgba(41, 151, 255, 0.55), transparent 26%),
    radial-gradient(circle at 12% 88%, rgba(52, 199, 89, 0.22), transparent 26%),
    linear-gradient(145deg, #1d1d1f, #2f3136);
  border-radius: 8px;
}

.coupon-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 255, 0.86) 58%, rgba(234, 248, 238, 0.72));
}

.coupon-card small,
.coupon-rules-preview b,
.period b {
  color: #0071e3;
}

.tool.blue {
  background: linear-gradient(180deg, #e8f2ff, #ffffff);
}

.tool.orange {
  background: linear-gradient(180deg, #fff0e8, #ffffff);
}

.tool.green {
  background: linear-gradient(180deg, #eaf8ee, #ffffff);
}

.tool.violet {
  background: linear-gradient(180deg, #f6ebff, #ffffff);
}

.tool i,
.back,
.form-card input,
.form-card select {
  border-radius: 8px;
}

.signal,
.period,
.coupon-rules-preview div,
.path article {
  background: #f5f5f7;
  border-radius: 8px;
}

.signal b {
  background: #0071e3;
  border-radius: 8px;
}

.period {
  border-left-color: #0071e3;
}

.coupon-page-hero,
.plain-header,
.green-header {
  background:
    radial-gradient(circle at 18% 16%, rgba(0, 113, 227, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff, #f5f5f7);
}

@media (max-width: 640px) {
  body {
    background: #f5f5f7;
  }

  .site-nav {
    gap: 8px;
    min-height: 58px;
    padding: 9px 14px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand img {
    border-radius: 7px;
    height: 28px;
    width: 96px;
  }

  .brand span {
    font-size: 16px;
    white-space: nowrap;
  }

  .tel-link {
    border-radius: 6px;
    flex: 0 0 auto;
    font-size: 12px;
    padding: 8px 9px;
  }

  .hero {
    padding: 28px 16px 22px;
  }

  .hero-kicker {
    font-size: 12px;
    margin-bottom: 12px;
    padding-left: 10px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.16;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    padding-left: 12px;
  }

  .trust-strip {
    margin-top: 20px;
  }

  .trust-strip div {
    padding: 11px 14px;
  }

  .search-card {
    margin-top: 20px;
    max-width: none;
    width: 100%;
  }

  .stats {
    display: none;
  }

  .content {
    padding: 18px 14px 64px;
  }

  .content > * {
    margin-bottom: 14px;
  }

  .section-title {
    align-items: center;
    gap: 10px;
    margin: 18px 0 10px;
  }

  .section-title h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .section-title button {
    border-radius: 6px;
    flex: 0 0 auto;
    font-size: 13px;
    padding: 8px 10px;
  }

  .tool-grid {
    gap: 12px;
  }

  .tool {
    align-items: flex-start;
    display: grid;
    gap: 0 14px;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 0;
    padding: 18px;
  }

  .tool i {
    font-size: 20px;
    height: 44px;
    margin: 0;
    width: 44px;
  }

  .tool strong {
    font-size: 21px;
    line-height: 1.25;
    padding-top: 4px;
  }

  .tool span {
    font-size: 14px;
    grid-column: 2;
    line-height: 1.55;
    margin-top: 8px;
  }

  .coupon-card,
  .data-board,
  .schedule-card,
  .resource-detail,
  .form-card,
  .coupon-rules-preview,
  .path,
  .faq-list {
    padding: 18px;
  }

  .coupon-card {
    gap: 16px;
  }

  .coupon-card h2,
  .data-board h2,
  .schedule-card h2,
  .resource-detail h2,
  .form-card h2,
  .coupon-rules-preview h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .coupon-card p,
  .data-board p,
  .schedule-card p,
  .resource-detail p {
    font-size: 14px;
  }

  .data-board header,
  .schedule-card header {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .signal {
    align-items: flex-start;
    padding: 12px;
  }

  .period {
    grid-template-columns: 58px 1fr 42px;
    padding: 12px;
  }

  .faq-list {
    padding: 0;
  }
}

.faculty-card {
  display: grid;
  gap: 24px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.faculty-card::before {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.12), rgba(52, 199, 89, 0.12));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.faculty-main,
.faculty-points {
  position: relative;
  z-index: 1;
}

.faculty-main small {
  color: var(--blue);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

.faculty-main h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.faculty-main p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
  margin-top: 14px;
}

.faculty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.faculty-tags span {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(0, 113, 227, 0.16);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
}

.faculty-points {
  display: grid;
  gap: 12px;
}

.faculty-points div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 36, 67, 0.08);
  display: grid;
  gap: 5px 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 16px;
}

.faculty-points b {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  font-size: 12px;
  grid-row: span 2;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.faculty-points div:nth-child(2) b {
  background: var(--blue);
}

.faculty-points div:nth-child(3) b {
  background: var(--mint);
}

.faculty-points strong {
  color: var(--ink);
  font-size: 17px;
}

.faculty-points span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.faculty-card:hover {
  border-color: rgba(0, 113, 227, 0.24);
  box-shadow: 0 28px 66px -38px rgba(0, 113, 227, 0.28);
  transform: translateY(-6px);
}

@media (max-width: 640px) {
  .faculty-card {
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .faculty-main h2 {
    font-size: 24px;
  }

  .faculty-main p {
    font-size: 14px;
    line-height: 1.75;
  }

  .faculty-tags {
    gap: 8px;
  }

  .faculty-tags span {
    font-size: 12px;
    padding: 7px 9px;
  }

  .faculty-points div {
    padding: 14px;
  }
}
