:root {
  --ink: #10211b;
  --ink-soft: #42524b;
  --muted: #748179;
  --line: #dbe7e0;
  --line-strong: #c6d8cf;
  --paper: #ffffff;
  --surface: #f5faf7;
  --green-950: #0d241b;
  --green-900: #143327;
  --green-800: #1d4d3b;
  --green-700: #267156;
  --green-600: #2f8b68;
  --green-100: #dff0e7;
  --amber-700: #a95812;
  --amber-100: #fff0d8;
  --red-700: #aa3131;
  --red-100: #fae1de;
  --blue-700: #2b628e;
  --blue-100: #e3f0fa;
  --shadow-sm: 0 8px 24px rgba(13, 36, 27, 0.08);
  --shadow-lg: 0 28px 72px rgba(13, 36, 27, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(38, 113, 86, 0.08) 0 22%, transparent 22% 100%),
    linear-gradient(180deg, #f7fbf8 0%, #ffffff 46%, #f5faf7 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(219, 231, 224, 0.9);
  background: rgba(247, 251, 248, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 218px;
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,0.16), transparent 48%), var(--green-800);
  box-shadow: inset 0 -12px 20px rgba(0,0,0,0.1), 0 10px 20px rgba(29,77,59,0.2);
}

.brand-mark svg,
.button svg,
.trust-icon svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 9px 10px;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links .active {
  background: var(--green-100);
  color: var(--green-900);
}

.login-link {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
}

.hero,
.page-hero,
section {
  padding: 72px 24px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29, 77, 59, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29, 77, 59, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
  pointer-events: none;
}

.hero-inner,
.section-inner,
.page-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
  gap: 46px;
  align-items: center;
}

.page-inner.narrow {
  max-width: 860px;
}

.eyebrow,
.section-kicker,
.price-label {
  color: var(--green-700);
  font-size: 13px;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-sm);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 5px rgba(47, 139, 104, 0.14);
}

h1,
h2,
h3 {
  color: var(--green-950);
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 5vw, 68px);
}

.lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 19px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.button-primary {
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), transparent 46%), var(--green-800);
  box-shadow: 0 15px 28px rgba(29,77,59,0.25);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.9);
  color: var(--green-900);
  box-shadow: var(--shadow-sm);
}

.hook-panel,
.card,
.price-card,
.faq-item,
.video-copy,
.video-stage,
.portal-preview,
.explain-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-sm);
}

.hero-visual-stack {
  display: grid;
  gap: 20px;
  align-self: stretch;
}

.hook-panel {
  max-width: 720px;
  margin: 0 0 24px;
  padding: 14px;
  border-color: var(--line-strong);
}

.hook-panel-hero {
  max-width: none;
  margin: 0;
  align-self: end;
}

.hook-panel-title {
  margin: 0 0 10px;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 850;
}

.hook-list,
.proof-row,
.cards-3,
.cards-2,
.price-grid,
.steps-grid,
.faq-grid {
  display: grid;
  gap: 12px;
}

.hook-list,
.proof-row,
.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.hook-item,
.proof-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbf9;
}

.hook-item strong,
.proof-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-900);
  font-size: 13px;
}

.hook-item span,
.proof-item,
.card p,
.price-card p,
.faq-item p,
.step-card p,
.explain-panel p {
  color: var(--ink-soft);
  font-size: 14px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 710;
}

.proof-item svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--green-700);
}

.video-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.video-stage {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(38, 113, 86, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(38, 113, 86, 0.1) 1px, transparent 1px),
    #f0f8f3;
  background-size: 34px 34px;
  box-shadow: var(--shadow-lg);
}

.video-stage.has-media {
  min-height: 0;
  background: #10211b;
}

.video-stage.has-media::before {
  display: none;
}

.video-asset {
  display: block;
  width: 100%;
  height: auto;
}

.video-download {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-800);
  font-weight: 820;
}

.audio-box,
.speech-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbf9;
}

.audio-box strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-950);
}

.audio-box audio {
  width: 100%;
}

.speech-box p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
}

.speech-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.speech-button {
  border: 0;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green-800);
  font: inherit;
  font-weight: 820;
  cursor: pointer;
}

.speech-button.secondary {
  border: 1px solid var(--line-strong);
  color: var(--green-900);
  background: #fff;
}

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

.logo-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.logo-card img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbf9;
}

.logo-card h3 {
  margin: 0 0 8px;
}

.logo-card p {
  margin: 0;
  color: var(--ink-soft);
}

.video-stage::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(38,113,86,0.22);
  border-radius: var(--radius);
}

.video-search {
  position: absolute;
  top: 46px;
  left: 46px;
  right: 46px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  font-weight: 760;
}

.play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-800);
  box-shadow: 0 24px 48px rgba(29,77,59,0.28);
  font-size: 34px;
}

.video-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(13, 36, 27, 0.9);
  color: #fff;
}

.video-caption strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.video-caption span {
  color: rgba(255,255,255,0.74);
  font-size: 14px;
}

.video-copy {
  padding: 26px;
}

.video-copy h2,
.section-heading h2,
.explain-panel h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
}

.chapter-list,
.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.chapter-list li,
.feature-list li {
  display: flex;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 14px;
}

.chapter-list li::before,
.feature-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green-700);
}

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

.section-heading p {
  max-width: 540px;
  margin: 0;
  color: var(--ink-soft);
}

.card,
.price-card,
.faq-item,
.step-card,
.explain-panel {
  padding: 22px;
}

.card h3,
.price-card h3,
.faq-item h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p,
.price-card p,
.faq-item p,
.step-card p {
  margin: 0;
}

.portal-preview {
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfdfb;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8e4dd;
}

.address {
  flex: 1;
  max-width: 360px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #f3f8f5;
  font-size: 12px;
  text-align: center;
}

.status-pill,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}

.status-pill {
  padding: 9px 11px;
  color: var(--green-800);
  background: var(--green-100);
}

.badge {
  padding: 7px 9px;
}

.status-pill::before,
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.badge-amber {
  color: var(--amber-700);
  background: var(--amber-100);
}

.badge-blue {
  color: var(--blue-700);
  background: var(--blue-100);
}

.badge-green {
  color: var(--green-700);
  background: var(--green-100);
}

.badge-red {
  color: var(--red-700);
  background: #f8dddd;
}

.dashboard-main {
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.metric {
  min-height: 94px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--green-950);
  font-size: 30px;
  line-height: 1;
}

.result-list {
  display: grid;
  gap: 10px;
}

.result-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.result-copy strong,
.result-copy span {
  display: block;
}

.result-copy strong {
  color: var(--ink);
  font-size: 14px;
}

.result-copy span {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}

.result-meta {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.risk {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.risk i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8e2dc;
}

.risk-low i:first-child {
  background: var(--green-700);
}

.risk-medium i:nth-child(-n + 2) {
  background: var(--amber-700);
}

.risk-high i {
  background: var(--red-700);
}

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

.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green-800);
  font-size: 14px;
  font-weight: 860;
}

.trust-section {
  background: var(--green-950);
  color: #fff;
}

.trust-section h2,
.trust-section h3,
.trust-section .section-heading p {
  color: #fff;
}

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

.trust-card {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
}

.trust-card p {
  color: rgba(255,255,255,0.74);
  font-size: 14px;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: #bde6cf;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.price-card.featured {
  border-color: rgba(38,113,86,0.5);
  box-shadow: var(--shadow-lg);
}

.price-card.u18 {
  position: relative;
  overflow: hidden;
  border-color: rgba(47,139,104,0.58);
  background: linear-gradient(160deg, rgba(223,240,231,0.92), rgba(255,255,255,0.96) 48%), #fff;
}

.price-card.u18::after {
  content: "U18";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-800);
  font-size: 12px;
  font-weight: 860;
}

.price-label {
  width: max-content;
  margin-bottom: 16px;
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-100);
  letter-spacing: 0;
  text-transform: none;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 18px 0;
  color: var(--green-950);
}

.price strong {
  font-size: 35px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.explain-band {
  background: var(--green-950);
  color: #fff;
}

.explain-band h2,
.explain-band p {
  color: #fff;
}

.explain-panel.dark {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.faq-item summary {
  cursor: pointer;
  color: var(--green-950);
  font-size: 17px;
  font-weight: 820;
}

.faq-item p {
  margin-top: 12px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.1), transparent 40%), var(--green-800);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
}

.cta-panel p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.78);
}

.cta-panel .button {
  color: var(--green-900);
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.compact {
  padding-bottom: 34px;
}

.flash-stack {
  padding-top: 24px;
}

.flash,
.form-errors {
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.flash-success {
  border-color: rgba(47,139,104,0.32);
  background: var(--green-100);
  color: var(--green-900);
}

.flash-error {
  border-color: rgba(170,49,49,0.28);
  background: var(--red-100);
  color: var(--red-700);
}

.form-errors {
  border-color: rgba(170,49,49,0.28);
  background: var(--red-100);
  color: var(--red-700);
}

.form-errors p {
  margin: 0;
}

.form-errors p + p {
  margin-top: 6px;
}

.auth-grid,
.dashboard-grid,
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.auth-grid.wide {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.form-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-sm);
}

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

.form-card label {
  display: grid;
  gap: 7px;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 780;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  outline: none;
}

.form-card textarea {
  resize: vertical;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(47,139,104,0.13);
}

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

.auth-side {
  position: sticky;
  top: 92px;
}

.profile-wizard {
  gap: 22px;
}

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

.wizard-step {
  display: grid;
  gap: 7px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
}

.wizard-step span,
.wizard-side-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--green-900);
  font-size: 13px;
  font-weight: 900;
}

.wizard-step strong {
  color: inherit;
  font-size: 13px;
  line-height: 1.25;
}

.wizard-step.active {
  border-color: rgba(47,139,104,0.45);
  background: var(--green-100);
  color: var(--green-950);
}

.wizard-step.done {
  color: var(--green-900);
}

.wizard-step.done span,
.wizard-step.active span,
.wizard-side-list a.active span {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

.wizard-heading {
  display: grid;
  gap: 8px;
  padding-bottom: 4px;
}

.wizard-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 28px;
  line-height: 1.1;
}

.wizard-heading p {
  margin: 0;
  color: var(--muted);
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 6px;
}

.wizard-actions.left {
  justify-content: flex-start;
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.profile-summary div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.profile-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-summary strong {
  color: var(--green-950);
  font-size: 20px;
}

.wizard-side {
  display: grid;
  gap: 16px;
}

.wizard-side-list {
  display: grid;
  gap: 10px;
}

.wizard-side-list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.wizard-side-list a.active {
  border-color: rgba(47,139,104,0.45);
  background: var(--green-100);
}

.wizard-side-list strong,
.wizard-side-list small {
  display: block;
}

.wizard-side-list strong {
  color: var(--green-950);
}

.wizard-side-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.auth-side h2,
.action-card h2,
.admin-card h2 {
  margin-top: 0;
}

.guardian-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.readonly-field {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.readonly-field span,
.readonly-field small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.readonly-field strong {
  color: var(--green-950);
  font-size: 18px;
}

.address-list {
  display: grid;
  gap: 12px;
}

.address-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.address-card.current {
  border-color: rgba(47, 139, 104, 0.3);
  background: var(--green-100);
}

.address-card div {
  display: grid;
  gap: 5px;
}

.address-card span:first-child,
.address-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.address-card strong {
  color: var(--green-950);
  font-size: 18px;
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: start;
  gap: 10px !important;
  color: var(--ink-soft) !important;
  font-weight: 700 !important;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.account-panel {
  width: 100%;
}

.action-card {
  min-height: 0;
}

.price-actions {
  margin-top: auto;
}

.admin-grid {
  grid-template-columns: 420px minmax(0, 1fr);
}

.admin-nav-band,
.account-nav-band {
  position: sticky;
  top: 90px;
  z-index: 30;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 251, 248, 0.94);
  backdrop-filter: blur(14px);
}

.admin-nav-band + .page-hero,
.account-nav-band + .page-hero {
  padding-top: 52px;
}

.admin-nav-inner,
.account-nav-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
}

.admin-nav-label,
.account-nav-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(47, 139, 104, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-nav-links,
.account-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.admin-nav-links a,
.account-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.admin-nav-links a:hover,
.admin-nav-links a.active,
.account-nav-links a:hover,
.account-nav-links a.active {
  border-color: rgba(47, 139, 104, 0.28);
  background: var(--green-100);
  color: var(--green-950);
}

.account-nav-band {
  top: 74px;
  background: rgba(255, 255, 255, 0.96);
}

.process-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.process-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.process-list a.active {
  border-color: rgba(169, 88, 18, 0.34);
  background: var(--amber-100);
}

.process-list a.done {
  border-color: rgba(47, 139, 104, 0.3);
  background: #fff;
}

.process-list span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--green-900);
  font-size: 13px;
  font-weight: 900;
}

.process-list a.done span {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

.process-list strong {
  color: var(--green-950);
}

.process-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-row-link {
  color: inherit;
  text-decoration: none;
}

.admin-row-link:hover {
  border-color: rgba(47, 139, 104, 0.34);
  background: #fff;
}

.admin-row div {
  display: grid;
  gap: 3px;
}

.admin-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--green-900);
  background: var(--green-100);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.audit-grid {
  grid-template-columns: 380px minmax(0, 1fr);
  margin-top: 18px;
}

.audit-metrics {
  margin-bottom: 18px;
}

.audit-help {
  margin-top: 22px;
}

.audit-help code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--green-100);
  color: var(--green-950);
  font-size: 0.95em;
}

.table-link {
  color: var(--green-700);
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.table-actions form {
  margin: 0;
}

.inline-action {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--green-800);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  padding: 5px 8px;
}

.inline-action.danger {
  color: var(--red-700);
}

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

.split-row {
  grid-template-columns: 1fr 150px 1fr;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.package-admin-stack {
  display: grid;
  gap: 22px;
  max-width: 920px;
}

.package-form {
  gap: 16px;
}

.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.authorization-document {
  display: grid;
  gap: 16px;
}

.authorization-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.authorization-toolbar div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.authorization-status-grid,
.document-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.document-upload-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.document-upload-card h3 {
  margin: 0;
  color: var(--green-950);
}

.document-upload-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.compact-upload {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.print-sheet {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: #14261f;
}

.authorization-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.authorization-head img {
  width: 220px;
  height: auto;
}

.authorization-head div {
  display: grid;
  gap: 4px;
  text-align: right;
}

.authorization-head strong {
  color: var(--green-950);
  font-size: 26px;
}

.authorization-head span,
.authorization-data span,
.signature-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.print-sheet h2 {
  margin: 28px 0 18px;
  color: var(--green-950);
  font-size: 28px;
  line-height: 1.15;
}

.print-sheet p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.page-break-sheet {
  margin-top: 26px;
}

.authorization-list {
  margin: 10px 0 20px;
  padding-left: 22px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.authorization-list li {
  margin-bottom: 7px;
  padding-left: 4px;
}

.authorization-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.authorization-data div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.authorization-data strong {
  color: var(--green-950);
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 54px;
}

.signature-grid div {
  min-height: 78px;
  border-bottom: 2px solid var(--green-950);
  display: flex;
  align-items: end;
  padding-bottom: 8px;
}

.upload-box {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.upload-box label {
  display: grid;
  gap: 8px;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 780;
}

.upload-box input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
}

.upload-box .checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.upload-box .checkbox-line input {
  width: auto;
  min-width: 18px;
  height: 18px;
  padding: 0;
}

.upload-box select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}

@media print {
  body {
    background: #fff;
  }

  .no-print,
  .site-header,
  .site-footer {
    display: none !important;
  }

  main,
  section,
  .section-inner,
  .auth-grid,
  .auth-grid.wide {
    display: block !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .print-sheet {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }

  .page-break-sheet {
    break-before: page;
    page-break-before: always;
    margin-top: 0;
  }
}

@media (max-width: 1120px) {
  .hero-inner,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .price-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .nav {
    align-items: start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .section-heading,
  .cta-panel,
  .footer-inner,
  .cards-2,
  .faq-grid,
  .logo-grid,
  .trust-grid,
  .auth-grid,
  .auth-grid.wide,
  .dashboard-grid,
  .admin-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .auth-side {
    position: static;
  }

  .hook-list,
  .proof-row,
  .cards-3,
    .metrics,
    .wizard-progress,
    .profile-summary,
    .authorization-data,
    .authorization-status-grid,
    .document-upload-grid,
    .split-row,
    .signature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    display: grid;
    padding: 14px 16px;
  }

  .brand-logo {
    width: 205px;
  }

  .nav-links {
    justify-content: start;
  }

  .hero,
  .page-hero,
  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .cta-actions,
  .wizard-actions,
  .hook-list,
  .proof-row,
  .cards-3,
  .price-grid,
  .steps-grid,
  .metrics,
    .wizard-progress,
    .profile-summary,
    .authorization-data,
    .authorization-status-grid,
    .document-upload-grid,
    .split-row,
    .signature-grid,
  .result-item,
  .browser-bar,
  .address-card,
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wizard-step {
    min-height: 0;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
  }

  .wizard-actions {
    justify-content: stretch;
  }

  .authorization-toolbar,
  .authorization-head {
    display: grid;
  }

  .authorization-actions {
    justify-content: stretch;
  }

  .authorization-head div {
    text-align: left;
  }

  .print-sheet {
    padding: 22px;
  }

  .button {
    width: 100%;
    white-space: normal;
  }

  .address {
    max-width: none;
    text-align: left;
  }

  .result-meta {
    justify-content: start;
  }
}
