:root {
  --bg: #f7f6f2;
  --panel: #ffffff;
  --panel-soft: rgba(255, 255, 255, 0.68);
  --text: #111111;
  --muted: #737373;
  --line: rgba(17, 17, 17, 0.08);
  --shadow: 0 20px 80px rgba(8, 15, 30, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --accent: #5d8bff;
  --accent-soft: rgba(93, 139, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #ffffff;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

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

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

.site-shell {
  min-height: 100vh;
}

.page-view {
  display: none;
}

.page-view.is-active {
  display: block;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-band {
  width: 100%;
}

.section-band-muted {
  background: #fafafa;
}

.section-tight {
  padding-top: 32px;
}

.section-spacious {
  padding-top: 84px;
  padding-bottom: 84px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 6px 16px 5px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #d5cdcd;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 60px;
  height: 60px;
}

.nav,
.topbar-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav {
  flex: 1 1 auto;
  margin-left: auto;
  justify-content: flex-end;
}

.topbar-actions {
  gap: 18px;
  margin-left: 28px;
}

.topbar-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 28px;
}

.topbar-user[hidden] {
  display: none;
}

.topbar-user-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f6ff;
  color: #416fde;
  font-size: 0.76rem;
  font-weight: 700;
}

.topbar-user-email {
  max-width: 220px;
  color: #111111;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-logout {
  min-width: 84px;
  padding: 8px 14px;
  font-size: 0.78rem;
  box-shadow: none;
}

.auth-action-status {
  position: absolute;
  top: calc(100% + 10px);
  right: 16px;
  max-width: 320px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.92);
  color: #ffffff;
  font-size: 0.84rem;
  line-height: 1.5;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.14);
}

.auth-action-status[hidden] {
  display: none;
}

.nav a,
.text-link {
  font-size: 0.92rem;
  color: #111111;
  font-weight: 400;
  line-height: 1;
  transition: color 180ms ease;
}

.nav a:hover,
.text-link:hover,
.footer-columns a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  color: #fff;
  background: #111;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.14);
}

.button-light {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(17, 17, 17, 0.08);
}

.button-pill {
  min-width: 144px;
}

.topbar .button {
  min-width: 88px;
  padding: 8px 14px;
  font-size: 0.78rem;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
}

.hero {
  position: relative;
  padding-top: 124px;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f5f5f5;
  color: #636363;
  font-size: 0.74rem;
  line-height: 1;
}

.hero h1,
.section-heading h2,
.cta-panel h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero h1 {
  white-space: nowrap;
}

.hero-title {
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0;
  font-size: 1.25rem;
  color: #8b8b8b;
  font-weight: 600;
}

.hero-subtitle,
.section-heading p,
.advantage-item p,
.info-card p,
.pricing-card li,
.cta-panel p,
.footer-brand p,
.footer-columns a {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-subtitle {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 1.03rem;
}

.hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  z-index: 0;
  margin: 56px -22px 0;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(249, 249, 249, 0.96) 100%);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.08);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto 10% -28px;
  height: 60px;
  border-radius: 999px;
  background: rgba(93, 139, 255, 0.12);
  filter: blur(32px);
  z-index: -1;
}

.hero-card img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}

.section-heading {
  text-align: center;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.feature-grid,
.pricing-grid,
.footer {
  display: grid;
  gap: 16px;
}

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

.info-card,
.pricing-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.04);
}

.info-card img,
.advantage-item img {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
}

.info-card h3,
.advantage-item h3,
.pricing-card h3,
.footer-columns h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.advantage-item {
  text-align: center;
}

.advantage-item img {
  margin: 0 auto 18px;
}

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

.pricing-billing-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.04);
}

.pricing-billing-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.pricing-billing-button.is-active {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(17, 17, 17, 0.12);
}

.pricing-card {
  min-height: 292px;
}

.pricing-card-active {
  border-color: rgba(93, 139, 255, 0.25);
  box-shadow: 0 24px 48px rgba(93, 139, 255, 0.08);
  transform: translateY(-4px);
}

.pricing-tagline {
  margin: -2px 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.price {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.price span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.price-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.pricing-action {
  width: 100%;
  min-width: 0;
  padding: 9px 18px;
  min-height: 42px;
  font-size: 0.86rem;
  margin-bottom: 20px;
}

.plan-divider {
  height: 1px;
  margin-bottom: 18px;
  background: rgba(17, 17, 17, 0.08);
}

.plan-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.9rem;
}

.plan-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.plan-list img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.plan-bullet {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c4c4c4;
}

.plan-disabled {
  color: #a7a7a7;
}

.plan-highlight {
  font-weight: 600;
}

.plan-highlight-text {
  color: #7495ff !important;
}

.section-cta {
  padding-top: 52px;
}

.section-help {
  padding-top: 68px;
  padding-bottom: 40px;
}

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

.help-view .detail-section {
  padding-top: 16px;
}

.faq-card {
  padding: 24px 24px 22px;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background:
    radial-gradient(circle at top right, rgba(93, 139, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, #fbfbfb 100%);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.04);
}

.faq-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.faq-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f6ff;
  color: #416fde;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.faq-card h3 {
  margin: 0;
  color: #111111;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  line-height: 1.5;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.95rem;
}

.page-detail {
  min-height: calc(100vh - 78px);
  background:
    radial-gradient(circle at top right, rgba(93, 139, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.page-detail .section {
  width: min(1240px, calc(100% - 48px));
}

.detail-hero {
  padding-top: 72px;
  padding-bottom: 28px;
}

.detail-hero-copy {
  max-width: 1120px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #7d7d7d;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #111111;
}

.breadcrumb span::before,
.breadcrumb strong::before {
  content: "/";
  margin-right: 10px;
  color: #b0b0b0;
}

.breadcrumb strong {
  color: #111111;
  font-weight: 700;
}

.detail-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d84cf;
}

.detail-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.detail-lead,
.detail-panel p,
.detail-contact-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.detail-lead {
  max-width: 1100px;
}

.detail-section {
  padding-top: 20px;
}

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

.detail-grid-wide {
  grid-template-columns: 1.4fr 1fr;
}

.detail-grid-contact {
  grid-template-columns: 1.15fr 0.85fr;
}

.detail-panel {
  padding: 28px 24px;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.04);
}

.detail-panel h2,
.detail-contact-banner h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.detail-panel h3 {
  margin: 0 0 12px;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}

.detail-panel-metrics {
  display: grid;
  gap: 16px;
}

.detail-panel-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.detail-panel-metrics span,
.detail-info-title {
  color: var(--muted);
}

.detail-info-title {
  margin-bottom: 10px;
  font-weight: 700;
  color: #111111;
}

.detail-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5d8bff;
}

.timeline-shell {
  padding: 34px 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(93, 139, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.timeline-heading {
  max-width: 620px;
  margin-bottom: 28px;
}

.timeline-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.timeline-list {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.timeline-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f3f6ff;
  color: #416fde;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: #111111;
  background: #ffffff;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 136px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(93, 139, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(93, 139, 255, 0.08);
}

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.contact-form-status {
  color: #5f5f5f;
  font-size: 0.9rem;
}

.detail-map-panel {
  display: flex;
  flex-direction: column;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 280px;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(93, 139, 255, 0.12), rgba(17, 17, 17, 0.03)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0.6) 24px,
      rgba(17, 17, 17, 0.03) 24px,
      rgba(17, 17, 17, 0.03) 25px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0.6) 24px,
      rgba(17, 17, 17, 0.03) 24px,
      rgba(17, 17, 17, 0.03) 25px
    );
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.map-placeholder strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.map-placeholder span,
.map-note {
  color: var(--muted);
  line-height: 1.8;
}

.map-pin {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #111111;
  flex: 0 0 auto;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: #ffffff;
}

.register-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
  z-index: 30;
}

.register-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.register-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.52);
  backdrop-filter: blur(6px);
}

.register-dialog {
  position: relative;
  width: min(520px, calc(100% - 24px));
  padding: 34px 30px 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.18);
}

.register-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f3f3;
  color: #111111;
  font-size: 1.3rem;
  cursor: pointer;
}

.register-dialog h2 {
  margin: 6px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.register-lead {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.75;
}

.auth-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #f5f5f5;
}

.auth-tab {
  min-width: 118px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #666666;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-tab.is-active {
  background: #111111;
  color: #ffffff;
}

.register-form {
  display: grid;
  gap: 14px;
}

.auth-panel[hidden] {
  display: none;
}

.register-form.is-active {
  display: grid;
}

.register-form label {
  display: grid;
  gap: 8px;
}

.register-form span {
  font-size: 0.92rem;
  font-weight: 700;
}

.register-form input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: #111111;
  background: #ffffff;
  outline: none;
}

.register-form input:focus {
  border-color: rgba(93, 139, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(93, 139, 255, 0.08);
}

.register-code-field {
  gap: 10px;
}

.register-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.register-code-button {
  min-width: 112px;
  padding: 0 14px;
  min-height: 48px;
  white-space: nowrap;
}

.register-submit {
  margin-top: 6px;
}

.register-form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: #5f5f5f;
  font-size: 0.9rem;
}

body.modal-open {
  overflow: hidden;
}

.map-note {
  margin-top: 16px;
}

.cta-panel {
  padding: 48px 32px;
  border-radius: var(--radius-xl);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(93, 139, 255, 0.26), transparent 30%),
    linear-gradient(180deg, #111111 0%, #050505 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
}

.cta-panel h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 24px;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  grid-template-columns: 1.2fr 2fr;
  align-items: start;
  padding-top: 48px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand p {
  margin-top: 16px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  justify-items: end;
  justify-content: stretch;
  width: 100%;
}

.footer-columns > div {
  text-align: right;
  min-width: 104px;
}

.footer-columns a {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-columns h3 {
  margin-bottom: 8px;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

@media (max-width: 960px) {
  .hero-visual {
    margin: 48px -10px 0;
  }

  .topbar {
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 6px 16px 5px;
  }

  .nav {
    order: 3;
    margin-left: 0;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .feature-grid,
  .pricing-grid,
  .footer-columns,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-grid,
  .footer,
  .detail-grid,
  .detail-grid-wide,
  .detail-grid-contact {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    max-width: none;
  }

  .footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .section {
    width: min(1120px, calc(100% - 24px));
    padding: 56px 0;
  }

  .topbar {
    width: 100%;
    margin: 0;
    padding: 6px 12px 5px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-visual {
    margin: 42px 0 0;
  }

  .hero-actions,
  .topbar-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .button {
    width: 100%;
  }

  .register-code-row {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .pricing-grid,
  .footer-columns,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    justify-items: start;
  }

  .footer-columns > div {
    text-align: left;
  }

  .advantage-grid {
    gap: 28px;
  }

  .info-card,
  .pricing-card,
  .cta-panel,
  .detail-panel,
  .timeline-shell {
    padding: 24px 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
