:root {
  color-scheme: light;
  --ink: #16201d;
  --muted: #63716b;
  --paper: #f5f3ed;
  --paper-strong: #fffdf7;
  --line: rgba(22, 32, 29, 0.14);
  --accent: #1f8f72;
  --accent-deep: #0f6d55;
  --amber: #c9792f;
  --charcoal: #101615;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #f8fbf7;
  background: rgba(9, 13, 12, 0.9);
  border-bottom: 1px solid rgba(248, 251, 247, 0.12);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions,
.header-actions,
.footer-main {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  font-size: 18px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  justify-content: center;
  gap: 26px;
  color: rgba(248, 251, 247, 0.78);
  font-size: 16px;
  font-weight: 680;
}

.nav-links a {
  padding: 8px 0;
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
}

.account-menu {
  position: relative;
}

.account-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  border: 1px solid rgba(248, 251, 247, 0.38);
  border-radius: 4px;
  padding: 0 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 720;
  cursor: pointer;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu summary::after {
  content: "⌄";
  color: rgba(248, 251, 247, 0.72);
}

.account-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 160px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(16, 22, 21, 0.18);
}

.account-menu-panel a,
.account-menu-panel button {
  width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 4px;
  padding: 0 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}

.account-menu-panel form {
  margin: 0;
}

.account-menu-panel a:hover,
.account-menu-panel button:hover {
  background: #edf1ea;
}

.header-cta,
.header-link,
.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 18px;
  font-weight: 720;
  font-size: 16px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-link {
  border: 1px solid rgba(248, 251, 247, 0.36);
  color: #fff;
}

.header-cta {
  border: 1px solid rgba(248, 251, 247, 0.52);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fffdf7;
  background: var(--charcoal);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  opacity: 0.95;
  transform: scale(1.03);
  animation: slow-settle 1600ms ease-out both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 9, 8, 0.94) 0%, rgba(5, 9, 8, 0.7) 34%, rgba(5, 9, 8, 0.2) 74%),
    linear-gradient(0deg, rgba(5, 9, 8, 0.55), rgba(5, 9, 8, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 74px;
  animation: rise-in 760ms ease-out 120ms both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #6df0c5;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7.4vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 540px;
  margin-bottom: 32px;
  color: rgba(255, 253, 247, 0.82);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
}

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

.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.secondary-button {
  border: 1px solid rgba(255, 253, 247, 0.42);
  color: #fffdf7;
}

.primary-button:hover,
.secondary-button:hover,
.header-cta:hover,
.header-link:hover {
  transform: translateY(-2px);
}

.section {
  padding: clamp(64px, 10vw, 132px) clamp(20px, 6vw, 82px);
  scroll-margin-top: 76px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 96px);
}

.section-intro {
  max-width: 560px;
}

.section-intro.narrow {
  max-width: 720px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 4.5vw, 56px);
  line-height: 1.06;
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-areas:
    "number title"
    "number body";
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  grid-area: number;
  color: var(--amber);
  font-weight: 820;
}

.service-item h3,
.rules-grid h3 {
  grid-area: title;
  margin-bottom: 10px;
  font-size: 21px;
}

.service-item p {
  grid-area: body;
  max-width: 580px;
}

.service-item p,
.contact p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.plans {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
  background: var(--paper-strong);
}

.price-table {
  display: grid;
  gap: 1px;
  border-top: 2px solid var(--ink);
  background: var(--line);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 138px;
  padding: 24px;
  background: var(--paper-strong);
}

.price-row.add-on {
  background: #edf1ea;
}

.country-code {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 820;
}

.price-row h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.6vw, 31px);
}

.price-row p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.price-row strong {
  color: var(--accent-deep);
  font-size: clamp(26px, 3.5vw, 40px);
  white-space: nowrap;
}

.price-options {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.price-options span {
  color: var(--amber);
  font-size: 18px;
  font-weight: 760;
  white-space: nowrap;
}

.price-options.single span {
  display: none;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 520px);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 18px;
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}

.contact-line {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.contact-line span {
  color: var(--muted);
  font-size: 14px;
}

.contact-line strong {
  color: var(--accent-deep);
  font-size: clamp(22px, 3vw, 30px);
}

.secondary-button.light {
  border-color: var(--line);
  color: var(--ink);
}

.site-footer {
  display: grid;
  gap: 12px;
  padding: 28px clamp(20px, 6vw, 82px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-main {
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

.page-hero {
  position: relative;
  min-height: 62svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: #fffdf7;
  background: var(--charcoal);
}

.page-hero.compact {
  min-height: 54svh;
}

.page-hero-image,
.page-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-image {
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
}

.page-hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 9, 8, 0.94) 0%, rgba(5, 9, 8, 0.62) 44%, rgba(5, 9, 8, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 9, 8, 0.68), rgba(5, 9, 8, 0.1));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin: 0 0 clamp(52px, 8vw, 96px) clamp(20px, 7vw, 96px);
  padding-top: 96px;
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-hero p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 253, 247, 0.82);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.75;
}

.package-section,
.terms-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 2px solid var(--ink);
  background: var(--line);
}

.package-card {
  min-height: 330px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  background: var(--paper-strong);
}

.package-card h3,
.add-on-panel h3,
.terms-list h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.4vw, 30px);
}

.package-card p,
.add-on-panel p,
.terms-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.package-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.package-prices strong {
  color: var(--accent-deep);
  font-size: clamp(28px, 3.4vw, 42px);
  white-space: nowrap;
}

.package-prices span {
  color: var(--amber);
  font-size: 20px;
  font-weight: 780;
  white-space: nowrap;
}

.add-on-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(34px, 6vw, 88px);
  background: var(--paper-strong);
}

.add-on-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 190px;
  padding: 28px;
  border-top: 2px solid var(--ink);
  background: #edf1ea;
}

.add-on-panel strong {
  color: var(--accent-deep);
  font-size: clamp(30px, 3.5vw, 44px);
  white-space: nowrap;
}

.terms-list {
  display: grid;
  border-top: 2px solid var(--ink);
}

.terms-list article {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-settle {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.03);
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .account-menu summary {
    min-height: 42px;
    padding: 0 13px;
    font-size: 15px;
  }

  .header-cta,
  .header-link {
    min-height: 42px;
    padding: 0 13px;
    font-size: 15px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 9, 8, 0.94), rgba(5, 9, 8, 0.5)),
      linear-gradient(0deg, rgba(5, 9, 8, 0.7), rgba(5, 9, 8, 0.1));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px;
  }

  .split,
  .plans,
  .contact,
  .package-section,
  .add-on-section,
  .terms-section,
  .package-grid,
  .add-on-panel,
  .terms-list article {
    grid-template-columns: 1fr;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-options {
    justify-items: start;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .page-hero {
    min-height: 58svh;
  }

  .page-hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 52px;
  }
}

@media (max-width: 460px) {
  .brand span:last-child {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .service-item {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }
}

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