:root {
  color-scheme: light;
  --cream: #fffdf8;
  --linen: #faf6ee;
  --sage: #6eb92b;
  --sage-2: #8bcf4a;
  --sage-soft: #edf8e5;
  --sage-deep: #2f6f1d;
  --ink: #243b36;
  --wood: #d9b88f;
  --wheat: #f1ddc4;
  --line: #e8dfd2;
  --soft: 0 12px 36px rgba(36, 59, 54, .08);
  --lift: 0 18px 44px rgba(36, 59, 54, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(250, 246, 238, .72) 100%);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.tg-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.tg-loading,
.tg-error {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
}

.tg-loading strong,
.tg-error strong {
  font-size: 20px;
}

.tg-loading span,
.tg-error p {
  margin: 0;
  color: rgba(36, 59, 54, .68);
}

.tg-hero {
  padding: 24px 20px 34px;
}

.tg-nav,
.tg-hero-grid,
.tg-section-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.tg-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.tg-nav a:first-child {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.tg-brand-logo {
  width: 136px;
  height: auto;
}

.tg-brand-tagline {
  margin-left: auto;
  width: clamp(124px, 39vw, 154px);
  height: auto;
  display: block;
  flex: 0 1 auto;
}

.tg-hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.tg-pill {
  display: inline-flex;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  background: rgba(255, 253, 248, .9);
  color: var(--sage);
  font-size: 14px;
  font-weight: 650;
}

.tg-hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 700;
}

.sr-hero-subtitle {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(36, 59, 54, .72);
  font-size: 17px;
  line-height: 1.78;
}

.sr-hero-photo {
  max-width: 620px;
}

.tg-hero-visual {
  margin-top: 22px;
}

.tg-hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.tg-hero-shortcuts {
  margin-top: 18px;
}

.tg-hero-shortcuts span {
  display: block;
  margin-bottom: 10px;
  color: rgba(36, 59, 54, .62);
  font-size: 13px;
  font-weight: 700;
}

.tg-hero-shortcut-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tg-hero-shortcut-list a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 223, 210, .9);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 253, 248, .72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.tg-primary,
.tg-secondary,
.tg-submit,
.tg-sticky a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 700;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.tg-primary,
.tg-secondary,
.tg-submit {
  cursor: pointer;
}

.tg-primary,
.tg-submit,
.tg-sticky a {
  border: 0;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--soft);
}

.tg-secondary {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}

.tg-illustration,
.tg-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff8eb;
  box-shadow: var(--soft);
}

.tg-hero-illustration {
  aspect-ratio: 1.12 / 1;
}

.tg-scene {
  aspect-ratio: 1.58 / 1;
  border-radius: 22px;
  box-shadow: none;
}

.tg-media {
  margin: 0;
}

.tg-media img {
  width: 100%;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
}

.tg-hero-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: var(--soft);
}

.tg-hero-photo-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / .78;
  object-fit: cover;
  background: #fff8eb;
}

.tg-hero-photo-grid img:first-child {
  object-position: center 45%;
}

.tg-hero-photo-grid img:nth-child(2) {
  object-position: center 50%;
}

.tg-hero-photo-grid img:nth-child(3),
.tg-hero-photo-grid img:nth-child(4) {
  object-position: center 45%;
}

.tg-hero-contact-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  border: 1px solid rgba(232, 223, 210, .9);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 253, 248, .86);
}

.tg-hero-contact-list div {
  min-width: 0;
}

.tg-hero-contact-list dt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
}

.tg-hero-contact-list dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-line;
}

.tg-hero-contact-list .tg-contact-address {
  white-space: nowrap;
}

.tg-hero-contact-list dd a,
.tg-contact-card dd a {
  color: inherit;
  text-decoration: none;
}

.tg-media-hero img {
  aspect-ratio: 1.12 / 1;
}

.tg-campus-hero-photo img {
  aspect-ratio: 1.32 / 1;
  object-position: center 58%;
}

.tg-campus-portrait-photo img {
  aspect-ratio: 1 / 1.18;
  object-position: center 42%;
}

.tg-campus-wide-photo img {
  aspect-ratio: 16 / 9;
}

.tg-campus-pickup-photo img {
  object-position: center 62%;
}

.tg-media figcaption {
  padding: 12px 14px;
  color: rgba(36, 59, 54, .68);
  font-size: 13px;
  line-height: 1.6;
  background: var(--cream);
}

.tg-section {
  position: relative;
  padding: 56px 20px;
  scroll-margin-top: 18px;
}

.tg-section.tg-separated {
  padding-top: 58px;
}

.tg-section.tg-separated::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(36, 59, 54, .14) 16%, rgba(110, 185, 43, .34) 50%, rgba(36, 59, 54, .14) 84%, transparent 100%);
}

.tg-section.tg-separated .tg-section-inner::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(110, 185, 43, .44);
}

#contact {
  scroll-margin-top: 18px;
}

.tg-section:last-of-type {
  padding-bottom: 132px;
}

.tg-band {
  background: rgba(250, 246, 238, .7);
}

.tg-eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: 14px;
  font-weight: 700;
}

#contact .tg-eyebrow,
.tg-lead-sheet-panel > .tg-eyebrow {
  font-size: 12px;
}

.tg-section h2,
.tg-safety h2 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
}

.tg-card-grid,
.tg-environment-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.tg-card,
.tg-environment-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: var(--soft);
}

.tg-card {
  padding: 24px;
}

.tg-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #e7f1ec;
  color: var(--ink);
  font-weight: 700;
}

.tg-card h3,
.tg-environment-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.tg-card p,
.tg-environment-card p,
.tg-care-list p,
.tg-contact-card > p {
  margin: 12px 0 0;
  color: rgba(36, 59, 54, .68);
  font-size: 15px;
  line-height: 1.8;
}

.tg-section-note {
  margin: 12px 0 0;
  color: rgba(36, 59, 54, .68);
  font-size: 15px;
  line-height: 1.8;
}

.tg-care-stack {
  display: grid;
  gap: 56px;
  margin-top: 34px;
}

.tg-care-block {
  scroll-margin-top: 18px;
}

.tg-care-block + .tg-care-block {
  border-top: 1px solid rgba(36, 59, 54, .1);
  padding-top: 48px;
}

.tg-care-block h3 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.tg-environment-card {
  overflow: hidden;
}

.tg-environment-card > div:last-child {
  padding: 22px;
}

.tg-environment-groups {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.tg-environment-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 14px;
  background: var(--cream);
  box-shadow: var(--soft);
}

.tg-environment-group-copy {
  padding: 4px 2px 14px;
}

.tg-environment-group-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.tg-environment-group-copy p {
  margin: 8px 0 0;
  color: rgba(36, 59, 54, .68);
  font-size: 14px;
  line-height: 1.65;
}

.tg-campus-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.tg-campus-grid-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff8eb;
  aspect-ratio: 4 / 3;
}

.tg-campus-photo-grid[data-layout="2x2"] .tg-campus-grid-photo {
  aspect-ratio: 1 / 1;
}

.tg-campus-photo-grid[data-layout="2x3"] .tg-campus-grid-photo {
  aspect-ratio: 16 / 9;
}

.tg-campus-grid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg-campus-grid-photo figcaption {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  overflow: hidden;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(255, 253, 248, .9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tg-campus-grid-photo.tg-campus-feature-photo {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.tg-campus-grid-photo.tg-campus-collage-photo {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.tg-campus-classroom-wall-photo img {
  object-position: center 52%;
}

.tg-campus-class-expression-photo img {
  object-position: center 24%;
}

.tg-campus-reception-photo img {
  object-position: center 54%;
}

.tg-campus-nap-photo img {
  object-position: center 58%;
}

.tg-campus-collage-photo img {
  object-position: center 34%;
}

.tg-meal-card {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: var(--soft);
}

.tg-meal-copy {
  padding: 6px 4px 0;
}

.tg-meal-copy p {
  margin: 0;
  color: rgba(36, 59, 54, .72);
  font-size: 15px;
  line-height: 1.75;
}

.tg-meal-copy p:first-child {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.tg-meal-copy ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tg-meal-copy li {
  position: relative;
  padding-left: 18px;
  color: rgba(36, 59, 54, .7);
  font-size: 14px;
  line-height: 1.65;
}

.tg-meal-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #6eb92b;
}

.tg-meal-menu {
  overflow: hidden;
  border: 1px solid rgba(232, 223, 210, .92);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 253, 248, .96), rgba(237, 248, 229, .36));
}

.tg-meal-menu-head {
  padding: 15px 16px 13px;
  border-bottom: 1px solid rgba(36, 59, 54, .08);
}

.tg-meal-menu-head h4 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}

.tg-meal-menu-head p {
  margin: 6px 0 0;
  color: rgba(36, 59, 54, .68);
  font-size: 13px;
  line-height: 1.65;
}

.tg-meal-menu-grid {
  display: grid;
}

.tg-menu-day {
  padding: 14px 16px;
  border-top: 1px solid rgba(36, 59, 54, .07);
}

.tg-menu-day:first-child {
  border-top: 0;
}

.tg-menu-day strong {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 9px;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(110, 185, 43, .12);
  color: #2f7c20;
  font-size: 13px;
  line-height: 1.2;
}

.tg-menu-day dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.tg-menu-day dl div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}

.tg-menu-day dt {
  color: rgba(36, 59, 54, .58);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
}

.tg-menu-day dd {
  margin: 0;
  color: rgba(36, 59, 54, .82);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.65;
}

.tg-meal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tg-meal-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 223, 210, .9);
  border-radius: 18px;
  background: #fff;
  aspect-ratio: 1 / 1.18;
}

.tg-meal-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tg-meal-supplies-photo img {
  object-position: center 40%;
}

.tg-meal-canteen-photo img {
  object-position: center 54%;
}

.tg-meal-photo figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .9);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.tg-split {
  display: grid;
  gap: 28px;
  margin-top: 34px;
  align-items: center;
}

.tg-support-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 8px;
  background: var(--cream);
  box-shadow: var(--soft);
}

.tg-support-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff8eb;
  aspect-ratio: 1 / .82;
}

.tg-support-gallery figure.is-main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.tg-support-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg-support-gallery figcaption {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  overflow: hidden;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 253, 248, .9);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tg-timeline-wrap {
  margin-top: 34px;
}

.tg-timeline-flow {
  position: relative;
  display: grid;
  gap: 38px;
}

.tg-timeline-flow::before {
  content: none;
}

.tg-timeline-step {
  position: relative;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 14px 14px;
  background: var(--cream);
  box-shadow: 0 8px 22px rgba(36, 59, 54, .06);
}

.tg-timeline-step-number {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 8px 18px rgba(110, 185, 43, .22);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.tg-timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -35px;
  z-index: 1;
  width: 2px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(110, 185, 43, .18), rgba(110, 185, 43, .58));
  transform: translateX(-50%);
}

.tg-timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -37px;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-right: 3px solid rgba(110, 185, 43, .58);
  border-bottom: 3px solid rgba(110, 185, 43, .58);
  border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
}

.tg-timeline-step-copy {
  min-height: 34px;
  padding-left: 42px;
}

.tg-timeline-step-copy span {
  display: block;
  color: var(--sage);
  font-size: 14px;
  font-weight: 800;
}

.tg-timeline-step-copy strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.42;
}

.tg-timeline-step-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.tg-timeline-step-photos figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff8eb;
  aspect-ratio: 4 / 3;
}

.tg-timeline-step-photos img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tg-timeline-step-photos figcaption {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  overflow: hidden;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 253, 248, .9);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tg-care-list ul,
.tg-safety ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tg-care-list li,
.tg-safety li {
  position: relative;
  margin-top: 14px;
  padding-left: 22px;
  color: rgba(36, 59, 54, .72);
  font-size: 15px;
  line-height: 1.8;
}

.tg-care-list li::before,
.tg-safety li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--sage);
}

.tg-care-list li {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  column-gap: 13px;
  align-items: start;
  padding-left: 0;
}

.tg-care-list li::before {
  position: static;
  margin-top: 9px;
}

#teacher .tg-care-list li {
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
}

#teacher .tg-care-list li::before {
  content: none;
}

.tg-teacher-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(110, 185, 43, .12);
  color: #2f7c20;
}

.tg-teacher-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

#teacher .tg-care-list li > span:last-child {
  min-width: 0;
}

.tg-safety {
  margin-top: 16px;
  border: 1px solid #cfe1d9;
  border-radius: 32px;
  padding: 28px 22px;
  background: #eff8f3;
}

.tg-safety li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 253, 248, .84);
}

.tg-safety li::before {
  content: none;
}

.tg-safety-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(110, 185, 43, .12);
  color: #2f7c20;
}

.tg-safety-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.tg-safety li > span:last-child {
  min-width: 0;
}

.tg-transition-panel {
  margin-top: 28px;
  border: 1px solid rgba(232, 223, 210, .92);
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 253, 248, .94) 0%, rgba(237, 248, 229, .46) 100%);
  box-shadow: var(--soft);
}

.tg-transition-panel > p {
  margin: 0;
  color: rgba(36, 59, 54, .76);
  font-size: 15px;
  line-height: 1.8;
}

.tg-transition-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tg-transition-list li {
  padding: 16px 0;
  border-top: 1px solid rgba(36, 59, 54, .1);
}

.tg-transition-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.tg-transition-list span {
  display: block;
  color: rgba(36, 59, 54, .7);
  font-size: 14px;
  line-height: 1.75;
}

.tg-transition-photo {
  overflow: hidden;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--cream);
  box-shadow: var(--soft);
}

.tg-transition-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.tg-daycare-scene-photo,
.tg-summer-scene-photo {
  background: #fffdf8;
}

.tg-young-transition-photo {
  padding: 3px;
  background: #fffdf8;
}

.tg-young-transition-photo img {
  border-radius: 23px;
}

.tg-transition-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 0;
  background: #fffdf8;
}

.tg-transition-photo-grid figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 0;
  background: rgba(229, 220, 204, .45);
}

.tg-transition-photo-grid figure:first-child {
  border-top-left-radius: 25px;
}

.tg-transition-photo-grid figure:nth-child(2) {
  border-top-right-radius: 25px;
}

.tg-transition-photo-grid figure:nth-last-child(2) {
  border-bottom-left-radius: 25px;
}

.tg-transition-photo-grid figure:last-child {
  border-bottom-right-radius: 25px;
}

.tg-transition-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sr-classroom-gallery {
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 4px;
}

.sr-classroom-gallery figure {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.sr-classroom-gallery figure:first-child {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.sr-classroom-gallery figure:last-child {
  border-bottom-right-radius: 22px;
  border-bottom-left-radius: 22px;
}

.sr-classroom-gallery img {
  object-position: center center;
}

.sr-flow {
  margin-top: 28px;
}

.sr-flow-head {
  border: 1px solid rgba(110, 185, 43, .28);
  border-left: 5px solid var(--sage);
  border-radius: 22px;
  padding: 17px 18px 18px;
  background: linear-gradient(135deg, rgba(237, 248, 229, .9), rgba(255, 253, 248, .94));
  box-shadow: var(--soft);
}

.sr-flow-head span {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(47, 111, 29, .1);
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 800;
}

.sr-flow-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.32;
}

.sr-flow-head p {
  margin: 10px 0 0;
  color: rgba(36, 59, 54, .7);
  font-size: 14px;
  line-height: 1.75;
}

.sr-flow-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.sr-flow-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, .96);
  box-shadow: var(--soft);
}

.sr-flow-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  background: rgba(241, 221, 196, .58);
}

.sr-flow-images figure {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin: 0;
  background: rgba(229, 220, 204, .55);
}

.sr-flow-images figure:first-child {
  border-top-left-radius: 20px;
}

.sr-flow-images figure:last-child {
  border-top-right-radius: 20px;
}

.sr-flow-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sr-flow-copy {
  padding: 14px 16px 16px;
}

.sr-flow-copy span {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 800;
}

.sr-flow-copy h4 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.sr-flow-copy p {
  margin: 7px 0 0;
  color: rgba(36, 59, 54, .72);
  font-size: 14px;
  line-height: 1.68;
}

.sr-outcomes {
  margin-top: 28px;
}

.sr-outcomes-head {
  border-left-color: var(--wood);
  background: linear-gradient(135deg, rgba(255, 248, 236, .94), rgba(237, 248, 229, .72));
}

.sr-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.sr-outcome-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, .98);
  box-shadow: var(--soft);
}

.sr-outcome-card figure {
  margin: 0;
  padding: 3px;
  background: rgba(241, 221, 196, .5);
}

.sr-outcome-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px 16px 6px 6px;
  object-fit: cover;
  background: #fffdf8;
}

.sr-outcome-copy {
  padding: 11px 12px 13px;
}

.sr-outcome-copy span {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 800;
}

.sr-outcome-copy h4 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.sr-outcome-copy p {
  margin: 6px 0 0;
  color: rgba(36, 59, 54, .72);
  font-size: 12px;
  line-height: 1.55;
}

.tg-transition-schedule {
  margin-top: 26px;
}

.tg-transition-schedule h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.tg-transition-schedule .tg-schedule-grid {
  margin-top: 0;
}

.tg-schedule-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.tg-schedule-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: var(--soft);
}

.tg-schedule-card a {
  display: block;
  background: #fff;
}

.tg-schedule-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1055 / 1491;
  object-fit: contain;
  background: #fff;
}

.tg-schedule-card h3 {
  margin: 0;
  padding: 16px 18px 14px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.tg-html-schedule-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdf8 0%, #fff 100%);
  box-shadow: var(--soft);
}

.tg-saveable-area {
  -webkit-user-select: none;
  user-select: none;
}

.tg-saveable-area.is-pressing {
  outline: 2px solid rgba(110, 185, 43, .24);
  outline-offset: 3px;
}

.tg-html-schedule-head {
  display: grid;
  gap: 6px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(36, 59, 54, .08);
  background: linear-gradient(135deg, rgba(237, 248, 229, .9), rgba(255, 253, 248, .98));
}

.tg-html-schedule-head span {
  color: #6eb92b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.tg-html-schedule-head strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.tg-html-schedule-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tg-html-schedule-table {
  --tg-summer-row-height: 32px;
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  font-size: 10px;
  line-height: 1.15;
  table-layout: fixed;
}

.tg-html-schedule-table th,
.tg-html-schedule-table td {
  height: var(--tg-summer-row-height);
  min-height: 0;
  padding: 2px 3px;
  border-right: 1px solid rgba(36, 59, 54, .08);
  border-bottom: 1px solid rgba(36, 59, 54, .08);
  text-align: center;
  vertical-align: middle;
}

.tg-html-schedule-table th:first-child {
  width: 14%;
}

.tg-html-schedule-table thead th {
  background: #eef8e9;
  color: #1f1f1f;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.tg-html-schedule-table thead th:first-child {
  background: #eef8e9;
  color: #1f1f1f;
}

.tg-html-schedule-table .tg-schedule-time-row th {
  background: #eef8e9;
  color: #1f1f1f;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.tg-html-schedule-table tbody tr:nth-child(2n) td,
.tg-html-schedule-table tbody tr:nth-child(2n) .tg-grade-cell {
  background: rgba(237, 248, 229, .42);
}

.tg-html-schedule-table td span {
  display: inline-block;
  color: var(--ink);
  font-weight: 750;
  white-space: nowrap;
}

.tg-html-schedule-table td span.is-chinese {
  color: #7a3fa0;
}

.tg-html-schedule-table td:empty::after {
  content: "";
  display: block;
  min-height: 27px;
}

.tg-html-schedule-table .tg-schedule-separator-row td {
  height: var(--tg-summer-row-height);
  min-height: 0;
  padding: 0;
  border-right: 0;
  border-bottom: 0;
  font-size: 0;
  line-height: 0;
  background: rgba(237, 248, 229, .42);
}

.tg-html-schedule-table .tg-schedule-separator-row td::after {
  min-height: 0;
}

.tg-grade-cell {
  background: rgba(217, 184, 143, .22);
  color: var(--ink);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.12;
  white-space: nowrap;
}

.tg-html-schedule-table thead tr,
.tg-html-schedule-table tbody tr {
  height: var(--tg-summer-row-height);
}

.tg-schedule-note-cell {
  background: rgba(255, 253, 248, .96);
  color: rgba(36, 59, 54, .78);
  font-family: FangSong, STFangsong, "仿宋", "Noto Serif CJK SC", serif;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
}

.tg-schedule-note-dash {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 850;
}

.tg-html-schedule-periods {
  display: grid;
  gap: 6px;
  padding: 14px 16px 16px;
  background: rgba(255, 253, 248, .96);
}

.tg-html-schedule-periods p {
  margin: 0;
  color: rgba(36, 59, 54, .78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.tg-service-schedule-card {
  background: #fffdf8;
}

.tg-service-schedule-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(36, 59, 54, .08);
  background: linear-gradient(135deg, rgba(237, 248, 229, .92), rgba(255, 253, 248, .98));
}

.tg-service-schedule-head div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.tg-service-schedule-head span,
.tg-service-schedule-head em {
  color: #6eb92b;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.tg-service-schedule-head strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
}

.tg-service-schedule-logo {
  width: 82px;
  height: auto;
  margin-top: 1px;
  object-fit: contain;
}

.tg-service-schedule-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tg-service-schedule-scroll::-webkit-scrollbar {
  height: 4px;
}

.tg-service-schedule-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(111, 156, 141, .34);
}

.tg-service-schedule-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  font-size: 9px;
  line-height: 1.28;
  table-layout: fixed;
}

.tg-young-schedule-card .tg-service-schedule-table {
  min-width: 0;
}

.tg-daycare-schedule-card .tg-service-schedule-table {
  min-width: 0;
}

.tg-service-schedule-table th,
.tg-service-schedule-table td {
  box-sizing: border-box;
  padding: 6px 2px;
  border-right: 1px solid rgba(36, 59, 54, .08);
  border-bottom: 1px solid rgba(36, 59, 54, .08);
  text-align: center;
  vertical-align: middle;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.tg-service-schedule-table th:first-child {
  width: 58px;
}

.tg-service-schedule-table thead th {
  background: #0f8d3c;
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.25;
}

.tg-service-schedule-table tbody th {
  background: rgba(241, 228, 212, .72);
  color: var(--ink);
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.tg-service-schedule-table tbody tr:nth-child(2n) td {
  background: rgba(237, 248, 229, .34);
}

.tg-service-schedule-table td {
  min-height: 54px;
  background: rgba(255, 253, 248, .96);
  font-weight: 760;
}

.tg-service-schedule-table .tg-service-common-cell {
  background: rgba(253, 238, 218, .68);
  font-size: 10px;
  font-weight: 850;
}

.tg-service-schedule-table .tg-service-thinking-cell {
  background: rgba(237, 231, 250, .82);
  color: #7053a3;
  font-size: 10px;
  font-weight: 850;
}

.tg-service-schedule-table .tg-service-outdoor-cell {
  background: rgba(224, 240, 207, .86);
  color: #336b28;
  font-size: 10px;
  font-weight: 850;
}

.tg-service-schedule-notes {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
  background: rgba(255, 253, 248, .96);
}

.tg-service-schedule-notes strong {
  display: inline-flex;
  width: fit-content;
  padding: 5px 14px;
  border-radius: 999px;
  background: #159447;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.tg-service-schedule-notes ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.tg-service-schedule-notes li {
  color: rgba(36, 59, 54, .78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

.tg-save-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(36, 59, 54, .48);
}

.tg-save-modal[hidden] {
  display: none;
}

.tg-save-dialog {
  position: relative;
  width: min(100%, 460px);
  max-height: min(88vh, 820px);
  overflow: auto;
  border: 1px solid rgba(232, 223, 210, .92);
  border-radius: 24px;
  padding: 12px;
  background: #fffdf8;
  box-shadow: 0 24px 64px rgba(36, 59, 54, .2);
}

.tg-save-dialog img {
  display: block;
  width: 100%;
  max-height: calc(88vh - 40px);
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  user-select: auto;
  -webkit-user-select: auto;
  -webkit-touch-callout: default;
}

.tg-save-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(36, 59, 54, .1);
  border-radius: 999px;
  background: rgba(255, 253, 248, .92);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(36, 59, 54, .14);
  cursor: pointer;
}

.tg-fee-card {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: var(--soft);
  overflow: hidden;
}

.tg-fee-table-wrap {
  overflow-x: auto;
  background: linear-gradient(180deg, #fffdf8 0%, #fff 100%);
}

.tg-fee-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  table-layout: fixed;
}

.tg-fee-table col:nth-child(1) {
  width: 18%;
}

.tg-fee-table col:nth-child(2) {
  width: 22%;
}

.tg-fee-table col:nth-child(3) {
  width: 20%;
}

.tg-fee-table col:nth-child(4) {
  width: 40%;
}

.tg-fee-table th,
.tg-fee-table td {
  border: 0;
  border-bottom: 1px solid rgba(36, 59, 54, .1);
  padding: 11px 4px;
  text-align: center;
  vertical-align: middle;
}

.tg-fee-table thead th {
  background: #f3f8ed;
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 800;
}

.tg-fee-table tbody th {
  background: rgba(110, 185, 43, .12);
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 800;
}

.tg-fee-table tbody th.tg-fee-group-cell {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.tg-fee-group-name,
.tg-fee-group-note {
  display: block;
}

.tg-fee-group-cell-highlight .tg-fee-group-name,
.tg-fee-group-cell-highlight .tg-fee-group-note {
  color: #d7566c;
}

.tg-fee-group-note {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
}

.tg-fee-table tbody tr:last-child th,
.tg-fee-table tbody tr:last-child td {
  border-bottom: 0;
}

.tg-fee-table tbody tr:not(.tg-fee-group-start) td {
  background: rgba(255, 253, 248, .72);
}

.tg-fee-table tbody tr:not(.tg-fee-group-start) td:first-child {
  border-left: 1px solid rgba(36, 59, 54, .1);
}

.tg-fee-table .tg-fee-price,
.tg-fee-table .tg-fee-offer {
  white-space: nowrap;
}

.tg-fee-table tbody td:first-of-type {
  white-space: nowrap;
}

.tg-fee-price strong {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 850;
}

.tg-fee-offer {
  color: rgba(36, 59, 54, .72);
  font-size: 10.4px;
}

.tg-fee-offer span {
  margin-right: 3px;
}

.tg-fee-offer strong {
  color: var(--sage-deep);
  font-size: 11.8px;
  font-weight: 850;
}

.tg-fee-highlight {
  color: #d7566c;
  font-weight: 850;
}

.tg-fee-card > p {
  margin: 0;
  padding: 14px 18px 16px;
  color: rgba(36, 59, 54, .68);
  font-size: 10.4px;
  line-height: 1.7;
}

.tg-footer {
  display: grid;
  gap: 6px;
  padding: 34px 20px calc(104px + env(safe-area-inset-bottom));
  color: rgba(36, 59, 54, .58);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.tg-footer p {
  margin: 0;
}

.tg-footer-tech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .28em;
  flex-wrap: wrap;
}

.tg-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .08em;
  color: rgba(36, 59, 54, .68);
}

.tg-footer-brand img {
  width: 1.15em;
  height: 1.15em;
  object-fit: contain;
  vertical-align: -0.14em;
}

.tg-footer-separator {
  margin: 0;
  line-height: 1;
}

.tg-contact-card {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  background: var(--cream);
  box-shadow: var(--soft);
}

.tg-contact-card > p {
  margin-top: 0;
}

.tg-contact-card dl {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.tg-contact-card dt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.tg-contact-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(110, 185, 43, .12);
  color: #2f7c20;
}

.tg-contact-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.tg-contact-card dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 12px;
  white-space: pre-line;
}

#contact .tg-contact-address {
  white-space: normal;
}

.tg-contact-open {
  width: 100%;
  margin: 20px 0 2px;
  border: 0;
  font: inherit;
}

.tg-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  border: 1px solid rgba(232, 223, 210, .86);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 253, 248, .82);
}

.tg-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.tg-form input,
.tg-form select {
  width: 100%;
  height: 52px;
  min-height: 52px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.tg-form select {
  padding-right: 42px;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(36, 59, 54, .9) 50%),
    linear-gradient(135deg, rgba(36, 59, 54, .9) 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%;
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px;
}

.tg-form input:focus,
.tg-form select:focus {
  border-color: rgba(110, 185, 43, .7);
  box-shadow: 0 0 0 4px rgba(110, 185, 43, .12);
}

.tg-submit {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.tg-submit:disabled {
  cursor: wait;
  opacity: .68;
}

.tg-form p {
  margin: 0;
  color: rgba(36, 59, 54, .56);
  font-size: 12.5px;
  line-height: 1.7;
}

.tg-lock-scroll,
.tg-lock-scroll body {
  overflow: hidden;
}

.tg-lead-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: end;
  justify-items: center;
}

.tg-lead-sheet[hidden] {
  display: none;
}

.tg-lead-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(36, 59, 54, .46);
  cursor: pointer;
}

.tg-lead-sheet-panel {
  position: relative;
  width: min(100%, 430px);
  max-height: min(88vh, 760px);
  overflow: auto;
  border: 1px solid rgba(232, 223, 210, .96);
  border-radius: 28px 28px 0 0;
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  background: var(--cream);
  box-shadow: 0 -24px 70px rgba(36, 59, 54, .24);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .22s ease, transform .22s ease;
}

.tg-lead-sheet.is-open .tg-lead-sheet-panel {
  opacity: 1;
  transform: translateY(0);
}

.tg-lead-sheet-panel h2 {
  margin: 6px 44px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.tg-lead-intro {
  margin: 10px 0 0;
  color: rgba(36, 59, 54, .68);
  font-size: 14px;
  line-height: 1.7;
}

.tg-lead-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.tg-lead-sheet .tg-form {
  margin-top: 18px;
  border: 0;
  padding: 0;
  background: transparent;
}

.tg-wechat-block {
  margin-top: 22px;
}

.tg-wechat-block p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

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

.tg-wechat-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.tg-wechat-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  padding: 8px;
}

.tg-wechat-card figcaption {
  border-top: 1px solid var(--line);
  padding: 8px 4px 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.tg-faq {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.tg-faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: var(--cream);
  box-shadow: 0 10px 28px rgba(36, 59, 54, .06);
}

.tg-faq-item > span {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e7f1ec;
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 800;
}

.tg-faq-item h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.tg-faq-item p {
  margin: 8px 0 0;
  color: rgba(36, 59, 54, .68);
  font-size: 15px;
  line-height: 1.75;
}

.tg-sticky {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  display: grid;
  border-top: 1px solid var(--line);
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 -12px 36px rgba(36, 59, 54, .08);
  backdrop-filter: blur(16px);
}

.tg-sticky a {
  min-height: 52px;
  font-size: 16px;
}

.tg-toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 100;
  width: min(calc(100% - 40px), 390px);
  border-radius: 999px;
  padding: 14px 18px;
  background: rgba(36, 59, 54, .96);
  box-shadow: 0 14px 34px rgba(36, 59, 54, .18);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .22s ease, transform .22s ease;
}

.tg-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .52s ease, transform .52s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tg-card,
.tg-environment-card,
.tg-environment-group,
.tg-schedule-card,
.sr-outcome-card,
.tg-fee-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
}

@media (hover: hover) {
  .tg-card:hover,
  .tg-environment-card:hover,
  .tg-environment-group:hover,
  .tg-schedule-card:hover,
  .sr-outcome-card:hover,
  .tg-fee-card:hover,
  .tg-primary:hover,
  .tg-secondary:hover {
    transform: translateY(-3px);
  }

  .tg-card:hover,
  .tg-environment-card:hover,
  .tg-environment-group:hover,
  .tg-schedule-card:hover,
  .sr-outcome-card:hover,
  .tg-fee-card:hover {
    border-color: rgba(110, 185, 43, .45);
    box-shadow: var(--lift);
  }

  .tg-hero-shortcut-list a:hover {
    border-color: rgba(110, 185, 43, .45);
    background: rgba(237, 248, 229, .7);
    box-shadow: 0 10px 26px rgba(36, 59, 54, .08);
  }
}

@media (min-width: 520px) {
  body {
    background: #f2eee5;
  }

  .tg-page {
    width: min(100%, 430px);
    margin: 0 auto;
    background: linear-gradient(180deg, var(--cream) 0%, rgba(250, 246, 238, .72) 100%);
    box-shadow: 0 24px 80px rgba(36, 59, 54, .12);
  }

  .tg-sticky {
    left: 50%;
    right: auto;
    width: min(100%, 430px);
    transform: translateX(-50%);
  }

  .tg-lead-sheet {
    align-items: center;
    padding: 22px;
  }

  .tg-lead-sheet-panel {
    width: min(100%, 390px);
    border-radius: 28px;
    padding-bottom: 22px;
    box-shadow: 0 24px 70px rgba(36, 59, 54, .2);
    transform: translateY(12px) scale(.98);
  }

  .tg-lead-sheet.is-open .tg-lead-sheet-panel {
    transform: translateY(0) scale(1);
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
