:root {
  --ink: #17211d;
  --muted: #5d6b65;
  --paper: #fbfaf5;
  --surface: #ffffff;
  --soft: #eef4ed;
  --line: #d8dfd5;
  --green: #1d5b45;
  --green-deep: #102f29;
  --gold: #b8872d;
  --red: #8f342d;
  --blue: #245d7a;
  --shadow: 0 18px 48px rgba(16, 47, 41, 0.12);
  --radius: 8px;
  --max: 1180px;
  --header-height: 76px;
  --font-body: "Segoe UI", "Noto Sans", "Roboto", Arial, sans-serif;
  --font-heading: "Segoe UI", "Noto Sans", "Roboto", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  padding-top: var(--header-height);
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  background: var(--paper);
  line-height: 1.68;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-lock {
  overflow: hidden;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--green-deep);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  color: var(--ink);
  border-bottom: 1px solid rgba(23, 33, 29, 0.08);
  background: rgba(251, 250, 245, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(16, 47, 41, 0.08);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  padding: 5px;
  border: 1px solid rgba(23, 33, 29, 0.14);
  border-radius: var(--radius);
  background: #111756;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.site-nav a {
  padding: 9px 9px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--green-deep);
  background: var(--soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 82px) 0 clamp(42px, 6vw, 72px);
  background:
    linear-gradient(135deg, rgba(16, 47, 41, 0.96), rgba(29, 91, 69, 0.88)),
    var(--green-deep);
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 76%, transparent);
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.64fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.hero-logo {
  width: 122px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  font-family: var(--font-heading);
  font-size: 3.4rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  font-family: var(--font-heading);
  line-height: 1.24;
}

.hero-copy {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--green-deep);
  background: #ffffff;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: #ffffff;
  background: var(--green);
}

.button.light {
  color: var(--green-deep);
  border-color: var(--line);
  background: var(--surface);
}

.hero-card,
.page-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.hero-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.hero-card div {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

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

.hero-card span {
  color: rgba(255, 255, 255, 0.65);
}

.hero-card strong {
  margin-top: 4px;
  font-size: 1.08rem;
}

.page-hero {
  padding: clamp(42px, 6vw, 72px) 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(16, 47, 41, 0.96), rgba(36, 93, 122, 0.82)),
    var(--green-deep);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.46fr);
  gap: clamp(26px, 5vw, 56px);
  align-items: end;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.page-card {
  padding: 22px;
}

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

.page-card span {
  color: rgba(255, 255, 255, 0.68);
}

.page-card strong {
  margin-top: 6px;
  font-size: 1.1rem;
}

.section {
  padding: clamp(56px, 8vw, 94px) 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  color: #ffffff;
  background: var(--green-deep);
}

.section.dark .section-intro,
.section.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.section-intro {
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}

.rich-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.rich-text p + p {
  margin-top: 18px;
}

.policy-document {
  max-width: 900px;
}

.policy-status {
  margin-bottom: 34px;
}

.policy-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.policy-section:first-of-type {
  padding-top: 0;
}

.policy-section:last-of-type {
  border-bottom: 0;
}

.policy-section h2 {
  margin-bottom: 12px;
}

.policy-section p,
.policy-list {
  color: var(--muted);
}

.policy-section p + p {
  margin-top: 14px;
}

.policy-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.policy-links a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-deep);
  background: var(--surface);
  font-weight: 800;
}

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

.card-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card,
.service-card,
.plan-card,
.update-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 33, 29, 0.04);
}

.service-card,
.card {
  min-height: 218px;
  padding: 24px;
}

.service-card span,
.card .number {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 22px;
  color: #ffffff;
  border-radius: var(--radius);
  background: var(--green);
  font-weight: 800;
}

.service-card h3,
.card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card p,
.card p,
.update-card p,
.plan-card p,
.plan-card li {
  color: var(--muted);
}

.direction-list,
.value-list,
.rule-list,
.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list.spaced {
  margin-top: 24px;
}

.direction-list li,
.value-list li,
.rule-list li,
.contact-list div {
  list-style: none;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.direction-list,
.value-list,
.rule-list {
  padding: 0;
  margin: 0;
}

.value-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.value-list li {
  text-align: center;
  font-weight: 800;
}

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

.plan-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  padding: 22px;
}

.plan-card.featured {
  color: #ffffff;
  border-color: var(--green);
  background: var(--green);
}

.plan-card .tag {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin-top: 18px;
}

.price {
  display: block;
  margin-top: 18px;
  color: var(--red);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.08;
}

.plan-card.featured .price,
.plan-card.featured p,
.plan-card.featured li {
  color: rgba(255, 255, 255, 0.82);
}

.plan-card.featured .price {
  color: #ffffff;
}

.plan-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding-left: 18px;
}

.plan-card .note {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.92rem;
}

.plan-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
}

.plan-actions .button {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  text-align: center;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 700;
}

.agreement input {
  width: auto;
  margin-top: 5px;
}

.notice {
  padding: 18px;
  border: 1px solid rgba(184, 135, 45, 0.32);
  border-radius: var(--radius);
  color: #6b4b13;
  background: #fff6df;
}

.notice.group-note {
  margin-top: 16px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.timeline .phase {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

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

.update-card {
  min-height: 190px;
  padding: 22px;
}

.update-card time,
.update-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--surface);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 800;
}

.access-panel {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.access-panel .notice {
  margin-bottom: 18px;
}

.placeholder-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(29, 91, 69, 0.98), rgba(36, 93, 122, 0.9)),
    var(--green);
}

.placeholder-visual::before,
.placeholder-visual::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.placeholder-visual::after {
  inset: 64px;
}

.placeholder-visual img {
  position: relative;
  z-index: 1;
  width: min(180px, 48%);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.25));
}

.demo-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.demo-sidebar {
  padding: 24px 18px;
  color: #ffffff;
  background: var(--green-deep);
}

.demo-sidebar strong,
.demo-sidebar span {
  display: block;
}

.demo-sidebar span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.demo-sidebar ul {
  display: grid;
  gap: 5px;
  margin: 24px 0 0;
  padding: 0;
}

.demo-sidebar li {
  list-style: none;
  padding: 9px 11px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.demo-sidebar li.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.demo-workspace {
  min-width: 0;
  padding: clamp(20px, 4vw, 38px);
  background: #f6f5ef;
}

.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.demo-topbar div span,
.demo-topbar div strong {
  display: block;
}

.demo-topbar div span {
  color: var(--muted);
  font-size: 0.85rem;
}

.demo-topbar div strong {
  font-size: 1.3rem;
}

.demo-badge {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #dfeee5;
  font-size: 0.78rem;
  font-weight: 800;
}

.demo-stats,
.demo-columns,
.demo-module-grid {
  display: grid;
  gap: 14px;
}

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

.demo-stats article,
.demo-panel,
.demo-module-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.demo-stats span,
.demo-stats strong,
.demo-stats small {
  display: block;
}

.demo-stats span,
.demo-stats small,
.demo-panel p,
.demo-module-grid p {
  color: var(--muted);
}

.demo-stats span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-stats strong {
  margin-top: 7px;
}

.demo-stats small {
  margin-top: 4px;
}

.demo-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.demo-panel h3,
.demo-module-grid h3 {
  margin: 8px 0;
}

.demo-kicker,
.demo-module-grid article > span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.demo-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.demo-file strong,
.demo-file small {
  display: block;
}

.demo-file small {
  color: var(--muted);
}

.demo-file > span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-activity {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

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

.demo-module-grid article {
  min-height: 190px;
}

.safety-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.safety-list li {
  list-style: none;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.safety-list strong,
.safety-list span {
  display: block;
}

.safety-list span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
}

.cta-band {
  padding: 26px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--green), var(--blue)),
    var(--green);
}

.cta-band .button-row {
  margin-top: 20px;
}

.site-footer {
  color: #ffffff;
  background: #0b241e;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin: 0 auto;
  padding: 32px 0;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.76);
}

.contact-list a,
.footer-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .card-grid,
  .card-grid.five,
  .plan-grid,
  .update-grid,
  .demo-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.8rem;
  }

  .header-inner {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    max-width: 178px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 12px;
    right: 12px;
    display: none;
    max-height: calc(100vh - var(--header-height) - 24px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 10px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero-inner,
  .page-hero .container,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-card {
    max-width: 480px;
  }

  .form-row,
  .timeline article {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .demo-shell {
    grid-template-columns: 1fr;
  }

  .demo-sidebar {
    display: none;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .container,
  .footer-inner {
    width: min(var(--max), calc(100% - 24px));
  }

  .card-grid,
  .card-grid.five,
  .plan-grid,
  .update-grid,
  .value-list,
  .demo-stats,
  .demo-columns,
  .demo-module-grid {
    grid-template-columns: 1fr;
  }

  .demo-topbar,
  .demo-file {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-card,
  .card,
  .plan-card,
  .update-card {
    min-height: auto;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
