:root {
  --sun: #d97925;
  --sun-dark: #9d4f19;
  --leaf: #28624f;
  --ink: #24302c;
  --muted: #64716c;
  --line: #e7ddd1;
  --paper: #fffaf3;
  --warm: #f5eadc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(67, 45, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 98px;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--leaf);
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  display: block;
  width: 100%;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 243, 0.94);
  border-bottom: 1px solid rgba(231, 221, 209, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--sun);
  border-radius: 8px;
  font-weight: 800;
  font-size: 24px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  line-height: 1.2;
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: #3b4843;
  font-weight: 700;
}

.nav-links a,
.header-action,
.primary-button,
.secondary-button,
.package-card a,
.site-footer a {
  min-height: 44px;
}

.header-action,
.primary-button,
.secondary-button,
.package-card a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.header-action,
.primary-button,
.package-card a {
  color: var(--white);
  background: var(--leaf);
}

.header-action {
  padding: 9px 18px;
  white-space: nowrap;
}

.primary-button {
  padding: 12px 22px;
  border: 0;
  cursor: pointer;
}

.secondary-button {
  padding: 11px 21px;
  color: var(--leaf);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(40, 98, 79, 0.35);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 78px));
  overflow: hidden;
  background: #2b352e;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(36, 48, 44, 0.88) 0%, rgba(36, 48, 44, 0.58) 48%, rgba(36, 48, 44, 0.18) 100%),
    linear-gradient(0deg, rgba(36, 48, 44, 0.32), rgba(36, 48, 44, 0));
}

.hero-media img {
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 64px 0 96px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sun);
  font-size: 16px;
  font-weight: 900;
}

.hero .eyebrow {
  color: #ffd7a7;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(46px, 8vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(19px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-panel div {
  padding: 24px clamp(18px, 4vw, 40px);
  background: var(--white);
}

.quick-panel strong,
.quick-panel span {
  display: block;
}

.quick-panel strong {
  margin-bottom: 4px;
  color: var(--leaf);
  font-size: 25px;
  line-height: 1.25;
}

.quick-panel span {
  color: var(--muted);
  font-size: 16px;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-copy,
.section-heading,
.booking-section,
.publish-section,
.site-footer {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}

.section-copy h2 {
  grid-column: 1 / -1;
  max-width: 860px;
}

.audience-grid,
.app-grid,
.package-grid,
.assurance-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.audience-grid article,
.app-card,
.package-card,
.assurance-list article,
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(67, 45, 25, 0.08);
}

.audience-grid article {
  overflow: hidden;
}

.audience-grid img {
  height: 220px;
  object-fit: cover;
}

.audience-grid h3,
.audience-grid p {
  padding: 0 22px;
}

.audience-grid h3 {
  margin-top: 22px;
}

.audience-grid p {
  margin-bottom: 24px;
  color: var(--muted);
}

.apps-section {
  background: #fff4e6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  border-top: 5px solid rgba(40, 98, 79, 0.75);
}

.app-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--leaf);
  border-radius: 8px;
  font-size: 28px;
  font-weight: 900;
}

.family-app .app-icon {
  background: var(--sun);
}

.family-app {
  border-top-color: rgba(217, 121, 37, 0.75);
}

.organizer-app .app-icon {
  background: #5b5f97;
}

.organizer-app {
  border-top-color: rgba(91, 95, 151, 0.75);
}

.app-card p:not(.eyebrow) {
  color: var(--muted);
}

.app-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 16px;
  color: var(--leaf);
  background: #f7fbf7;
  border: 1px solid rgba(40, 98, 79, 0.24);
  border-radius: 8px;
  font-weight: 900;
}

.packages-section {
  background: #eef4ee;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 42px;
  padding: 8px 15px;
  color: var(--leaf);
  background: var(--white);
  border: 1px solid rgba(40, 98, 79, 0.25);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.filter-button.is-active {
  color: var(--white);
  background: var(--sun);
  border-color: var(--sun);
}

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

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
}

.package-card.is-hidden {
  display: none;
}

.package-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.package-top span {
  color: var(--sun-dark);
  font-size: 15px;
  font-weight: 900;
}

.package-top strong {
  color: var(--leaf);
  white-space: nowrap;
}

.package-card p {
  color: var(--muted);
}

.package-card ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 24px;
  padding-left: 22px;
  color: #3d4a45;
  font-size: 16px;
}

.package-card a {
  margin-top: auto;
  padding: 11px 14px;
}

.assurance-section {
  background: var(--paper);
}

.assurance-list article {
  padding: 28px;
}

.assurance-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--sun);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.assurance-list p {
  color: var(--muted);
}

.booking-section,
.publish-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: start;
}

.booking-section {
  background: var(--warm);
}

.publish-section {
  border-top: 1px solid var(--line);
}

.booking-copy p,
.publish-copy p {
  color: var(--muted);
}

.contact-section {
  background: #f7fbf7;
  border-top: 1px solid var(--line);
}

.contact-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(67, 45, 25, 0.08);
}

.contact-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.contact-head h2 {
  margin-bottom: 10px;
}

.contact-head p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.contact-head-actions span {
  color: var(--sun-dark);
  font-weight: 900;
  white-space: nowrap;
}

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

.contact-card {
  min-height: 196px;
  padding: 22px;
  background: #fffdf9;
  border: 1px solid rgba(40, 98, 79, 0.14);
  border-radius: 8px;
}

.contact-card span,
.contact-card strong,
.contact-card p {
  display: block;
}

.contact-card span {
  margin-bottom: 10px;
  color: var(--sun-dark);
  font-size: 15px;
  font-weight: 900;
}

.contact-card strong {
  margin-bottom: 8px;
  color: var(--leaf);
  font-size: 21px;
  line-height: 1.25;
}

.contact-card p {
  color: var(--muted);
  font-size: 16px;
}

.contact-card a,
.contact-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 6px;
  padding: 9px 14px;
  color: var(--leaf);
  background: #eef4ee;
  border: 1px solid rgba(40, 98, 79, 0.22);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.form-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  color: #32413b;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffdf9;
  border: 1px solid #d8cab9;
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(40, 98, 79, 0.16);
}

.span-2,
.form-panel button,
.form-status,
.form-note {
  grid-column: 1 / -1;
}

.form-panel button {
  width: fit-content;
}

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--leaf);
  font-weight: 800;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 72px) 44px;
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  max-width: 720px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  flex: 0 0 auto;
  padding: 10px 18px;
  color: var(--ink);
  background: #ffd7a7;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.bottom-publish-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 14px 16px 14px 20px;
  background: rgba(255, 250, 243, 0.96);
  border: 1px solid rgba(40, 98, 79, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.bottom-publish-bar strong,
.bottom-publish-bar span {
  display: block;
}

.bottom-publish-bar strong {
  font-size: 18px;
}

.bottom-publish-bar span {
  color: var(--muted);
  font-size: 15px;
}

.bottom-publish-bar .primary-button {
  flex: 0 0 auto;
}

.trust-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(36, 48, 44, 0.58);
}

.trust-modal.is-open {
  display: flex;
}

.trust-dialog {
  width: min(820px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: clamp(20px, 4vw, 32px);
  background: var(--paper);
  border: 1px solid rgba(255, 250, 243, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.trust-head h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 38px);
}

.trust-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.trust-note {
  color: var(--muted);
}

.trust-form {
  box-shadow: none;
}

body.no-scroll {
  overflow: hidden;
}

.plain-page {
  padding-bottom: 0;
}

.content-page {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 98px) 0;
}

.content-page h1 {
  color: var(--leaf);
  font-size: clamp(34px, 5vw, 56px);
}

.content-page h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.content-page p {
  color: var(--muted);
}

.content-page .primary-button,
.content-page .secondary-button {
  margin-top: 10px;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  .quick-panel,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid,
  .app-grid,
  .assurance-list {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .booking-section,
  .publish-section,
  .contact-head {
    display: grid;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 138px;
    font-size: 17px;
  }

  .site-header {
    min-height: 70px;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(36, 48, 44, 0.9) 0%, rgba(36, 48, 44, 0.66) 58%, rgba(36, 48, 44, 0.24) 100%),
      linear-gradient(90deg, rgba(36, 48, 44, 0.62), rgba(36, 48, 44, 0.24));
  }

  .hero-content {
    align-self: end;
    width: calc(100% - 32px);
    margin: 0 16px;
    padding-bottom: 70px;
  }

  .quick-panel,
  .package-grid,
  .form-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 16px;
  }

  .section-copy {
    display: block;
  }

  .section-heading {
    align-items: start;
  }

  .filters {
    justify-content: flex-start;
  }

  .package-card {
    min-height: auto;
  }

  .span-2,
  .form-panel button,
  .form-status,
  .form-note {
    grid-column: auto;
  }

  .form-panel button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .bottom-publish-bar {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .bottom-publish-bar .primary-button {
    width: 100%;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-head-actions {
    justify-content: stretch;
  }

  .contact-head-actions .primary-button {
    width: 100%;
  }
}
