:root {
  --bg: #171717;
  --bg-soft: #1f1f1f;
  --bg-elev: #252525;
  --panel: rgba(34, 34, 34, 0.86);
  --panel-strong: rgba(26, 26, 26, 0.96);
  --panel-muted: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(108, 179, 122, 0.34);
  --text: #f5f2ee;
  --text-muted: #c4c0bb;
  --text-soft: #908a84;
  --primary: #6cb37a;
  --primary-strong: #8fd19c;
  --primary-deep: #4d8d5a;
  --primary-wash: rgba(108, 179, 122, 0.16);
  --danger: #eb5757;
  --warning: #d8a54f;
  --grad: linear-gradient(135deg, #6cb37a, #97db9f);
  --fd: "Outfit", sans-serif;
  --fb: "Manrope", sans-serif;
  --nav-h: 82px;
  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.24);
}

[data-theme="light"] {
  --bg: #eae6e6;
  --bg-soft: #f2eded;
  --bg-elev: #faf7f5;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --panel-muted: rgba(18, 18, 18, 0.03);
  --border: rgba(18, 18, 18, 0.08);
  --border-strong: rgba(108, 179, 122, 0.42);
  --text: #121212;
  --text-muted: #5d5a56;
  --text-soft: #8d8780;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.1);
  --shadow-soft: 0 16px 42px rgba(17, 17, 17, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  font-family: var(--fb);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(108, 179, 122, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(108, 179, 122, 0.08), transparent 30%),
    var(--bg);
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--fd);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.d-xl {
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.d-lg {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
}

.d-md {
  padding-top: 2rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-muted);
}

.wrap {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.sec {
  padding: 92px 0;
}

.sec-sm {
  padding: 52px 0;
}

.section-band {
  background: linear-gradient(180deg, transparent, rgba(108, 179, 122, 0.05), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.eyebrow,
.lbl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--primary-wash);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-theme="light"] .eyebrow,
[data-theme="light"] .lbl {
  color: var(--primary-deep);
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%);
  pointer-events: none;
}

[data-theme="light"] .card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 34%);
}

.card-pad {
  padding: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 18px;
  border: 1.5px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-pri {
  background: var(--grad);
  color: #121212;
  box-shadow: 0 16px 38px rgba(108, 179, 122, 0.24);
}

.btn-sec {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-sec:hover {
  background: var(--primary-wash);
}

.btn-out {
  background: var(--panel-muted);
  color: var(--text);
  border-color: var(--border);
}

.btn-danger {
  background: rgba(235, 87, 87, 0.12);
  color: #ffd1d1;
  border-color: rgba(235, 87, 87, 0.28);
}

[data-theme="light"] .btn-danger {
  color: #8f2020;
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 0.88rem;
}

.btn-full {
  width: 100%;
}

.btn-th {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel-muted);
  color: var(--text);
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 16px 16px 0;
}

.nav-in {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: var(--nav-h);
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  transition: background 0.2s ease, border-color 0.2s ease;
}

[data-theme="light"] .nav-in {
  background: rgba(255, 255, 255, 0.72);
}

.nav.sc .nav-in {
  border-color: var(--border-strong);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--fd);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  cursor: pointer;
}

.logo-icon {
  width: 46px;
  height: 46px;
  padding: 7px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(108, 179, 122, 0.2), rgba(108, 179, 122, 0.08));
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-copy small {
  font-family: var(--fb);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav-ul {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-ul a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-ul a:hover,
.nav-ul a.on {
  background: var(--primary-wash);
  color: var(--text);
}

.nav-act {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-auth-btn,
.mob-auth-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.nav-auth-btn.auth-ready,
.mob-auth-btn.auth-ready {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ham {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: none;
  background: transparent;
}

.ham span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ham.on span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.ham.on span:nth-child(2) {
  opacity: 0;
}

.ham.on span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mob-nav {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  left: 16px;
  right: 16px;
  z-index: 999;
  padding: 12px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 6px;
}

.mob-nav.on {
  display: flex;
}

.mob-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--text-muted);
  font-weight: 700;
}

.mob-nav a.on,
.mob-nav a:hover {
  background: var(--primary-wash);
  color: var(--text);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 78px 78px;
}

[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(18, 18, 18, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 18, 18, 0.03) 1px, transparent 1px);
}

.bg-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
}

.g-a {
  top: -180px;
  left: -100px;
  width: 440px;
  height: 440px;
  background: rgba(108, 179, 122, 0.16);
}

.g-b {
  right: -120px;
  bottom: 40px;
  width: 360px;
  height: 360px;
  background: rgba(108, 179, 122, 0.11);
}

main,
footer,
.pg {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 128px 0 76px;
}

.hero-grid,
.page-hero-grid,
.showcase-grid,
.split-grid,
.contact-grid,
.account-auth-layout,
.account-data-grid,
.account-profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 22px;
}

.hero-copy .lead {
  max-width: 58ch;
}

.hero-actions,
.hero-chips,
.pill-row,
.tag-row,
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mini-chip,
.tag,
.status-chip,
.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-muted);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.status-chip,
.preview-badge,
.tag {
  color: var(--primary-strong);
  border-color: var(--border-strong);
  background: var(--primary-wash);
}

[data-theme="light"] .status-chip,
[data-theme="light"] .preview-badge,
[data-theme="light"] .tag {
  color: var(--primary-deep);
}

.hero-figure {
  min-width: 0;
}

.preview-shell {
  padding: 26px;
}

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

.preview-topbar h3 {
  font-size: 1.05rem;
}

.preview-panel {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(108, 179, 122, 0.14), transparent 34%), var(--bg-soft);
}

.preview-progress {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: center;
}

.progress-ring {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, var(--bg-soft) 42px, transparent 43px),
    conic-gradient(var(--primary) 0 72%, rgba(255, 255, 255, 0.08) 72% 100%);
}

[data-theme="light"] .progress-ring {
  background:
    radial-gradient(circle at center, var(--bg-soft) 42px, transparent 43px),
    conic-gradient(var(--primary) 0 72%, rgba(18, 18, 18, 0.08) 72% 100%);
}

.progress-ring strong {
  font-family: var(--fd);
  font-size: 1.4rem;
}

.progress-copy p {
  margin-top: 8px;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.macro-pill {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.macro-pill span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.macro-pill strong {
  font-size: 1rem;
}

.entry-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.entry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.entry-meta h4 {
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.entry-meta p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.metric-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-card,
.insight-card,
.feature-lane,
.quick-card,
.faq-card,
.step-card,
.account-helper-card,
.account-field,
.account-insight {
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.metric-card span,
.account-helper-card span,
.account-field span,
.account-insight span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.metric-card strong,
.account-helper-card strong,
.account-field strong,
.account-insight strong {
  font-size: 1.05rem;
}

.account-helper-card {
  display: grid;
  gap: 6px;
}

.insight-grid,
.feature-lane-grid,
.quick-grid,
.faq-grid,
.steps-grid,
.account-helper-grid,
.account-profile-grid,
.account-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insight-card h3,
.feature-lane h3,
.quick-card h3,
.faq-card h3,
.step-card h3 {
  font-size: 1.08rem;
  margin: 12px 0 10px;
}

.insight-card p,
.feature-lane p,
.quick-card p,
.faq-card p,
.step-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.insight-icon,
.step-index,
.support-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: var(--primary-wash);
  color: var(--primary-strong);
  font-size: 1.15rem;
  font-weight: 800;
}

[data-theme="light"] .insight-icon,
[data-theme="light"] .step-index,
[data-theme="light"] .support-icon {
  color: var(--primary-deep);
}

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

.workflow-step {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--panel);
}

.workflow-step h3 {
  font-size: 1rem;
  margin: 14px 0 10px;
}

.workflow-step p {
  color: var(--text-muted);
  line-height: 1.7;
}

.control-card {
  padding: 30px;
}

.control-card p {
  margin: 12px 0 18px;
  color: var(--text-muted);
  line-height: 1.72;
}

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

.control-list li {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel-muted);
  color: var(--text-muted);
  line-height: 1.6;
}

.cta-banner {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-banner p {
  margin-top: 10px;
  color: var(--text-muted);
  max-width: 52ch;
}

.page-hero {
  padding: 132px 0 56px;
}

.page-summary {
  padding: 24px;
}

.page-summary p {
  color: var(--text-muted);
  line-height: 1.72;
}

.page-summary .pill-row {
  margin-top: 18px;
}

.showcase {
  display: grid;
  gap: 26px;
}

.showcase-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.showcase-copy ul {
  display: grid;
  gap: 12px;
}

.showcase-copy li {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel-muted);
  color: var(--text-muted);
  line-height: 1.65;
}

.device-frame {
  padding: 18px;
  border-radius: 36px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(108, 179, 122, 0.1), transparent 28%), var(--panel);
  box-shadow: var(--shadow);
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.screen-header strong {
  font-size: 1rem;
}

.screen-stack {
  display: grid;
  gap: 12px;
}

.screen-block {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.screen-block h4 {
  font-size: 0.96rem;
  margin-bottom: 10px;
}

.screen-block p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.screen-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.screen-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.screen-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-wash);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

[data-theme="light"] .screen-tag {
  color: var(--primary-deep);
}

.support-copy {
  max-width: 58ch;
}

.support-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-muted);
  line-height: 1.72;
}

.contact-shell {
  padding: 28px;
}

.contact-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-side p,
.contact-side a {
  color: var(--text-muted);
  line-height: 1.7;
}

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

.contact-list li {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel-muted);
}

.fg {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.fg label {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fi,
.fta {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fi::placeholder,
.fta::placeholder {
  color: var(--text-soft);
}

.fi:focus,
.fta:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px rgba(108, 179, 122, 0.12);
}

.fta {
  min-height: 140px;
  resize: vertical;
}

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

.form-msg,
.st-box {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.form-msg.ok,
.st-box.ok {
  display: block;
  background: rgba(108, 179, 122, 0.15);
  color: var(--primary-strong);
  border: 1px solid rgba(108, 179, 122, 0.24);
}

[data-theme="light"] .form-msg.ok,
[data-theme="light"] .st-box.ok {
  color: var(--primary-deep);
}

.form-msg.er,
.st-box.er {
  display: block;
  background: rgba(235, 87, 87, 0.12);
  color: #ffc7c7;
  border: 1px solid rgba(235, 87, 87, 0.28);
}

[data-theme="light"] .form-msg.er,
[data-theme="light"] .st-box.er {
  color: #8f2020;
}

.st-box.wa {
  display: block;
  background: rgba(216, 165, 79, 0.14);
  color: #f0c16e;
  border: 1px solid rgba(216, 165, 79, 0.28);
}

.st-box a {
  text-decoration: underline;
}

.legal-hero {
  padding: 132px 0 42px;
}

.ltabs {
  margin-top: 24px;
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.ltab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 16px;
}

.ltab.on {
  background: var(--primary-wash);
  color: var(--text);
}

.ldoc {
  display: none;
  width: min(860px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 36px 0 86px;
}

.ldoc.on {
  display: block;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.legal-meta span,
.legal-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-muted);
  font-size: 0.84rem;
}

.legal-callout {
  margin-bottom: 24px;
  border-color: var(--border-strong);
  background: var(--primary-wash);
  color: var(--primary-strong);
}

[data-theme="light"] .legal-callout {
  color: var(--primary-deep);
}

.ldoc h2 {
  margin: 32px 0 14px;
  font-size: 1.5rem;
}

.ldoc h3 {
  margin: 22px 0 10px;
  font-size: 1.04rem;
}

.ldoc p,
.ldoc ul {
  color: var(--text-muted);
  line-height: 1.78;
}

.ldoc ul {
  padding-left: 20px;
}

.ldoc li {
  margin-bottom: 8px;
  list-style: disc;
}

.ldoc strong {
  color: var(--text);
}

.account-stage {
  padding: 132px 0 84px;
}

.account-shell {
  display: grid;
  gap: 24px;
}

.account-intro {
  display: grid;
  gap: 16px;
  max-width: 780px;
}

.account-intro p {
  color: var(--text-muted);
  line-height: 1.75;
}

.account-view {
  width: 100%;
  margin: 0 auto;
}

.account-auth-layout {
  width: min(100%, 760px);
  margin: 0 auto;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
}

.account-auth-card {
  width: 100%;
}

.account-side-panel,
.account-auth-card,
.account-panel-block,
.account-profile-hero {
  padding: 28px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.account-side-panel h3,
.account-profile-hero h1 {
  margin-bottom: 12px;
}

.account-side-panel p,
.account-panel-block p,
.account-profile-hero p,
.account-note,
.account-form-intro p,
.account-section-head p {
  color: var(--text-muted);
  line-height: 1.72;
}

.account-side-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.account-side-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--panel-muted);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.account-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--panel-muted);
  margin-bottom: 20px;
}

.account-auth-tab {
  min-height: 48px;
  border: none;
  border-radius: 16px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 800;
}

.account-auth-tab.on {
  background: var(--primary-wash);
  color: var(--text);
}

.account-auth-pane {
  display: none;
}

.account-auth-pane.on {
  display: block;
}

.account-form-intro {
  margin-bottom: 14px;
}

.account-form-intro h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.account-submit {
  margin-top: 8px;
}

.account-note {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel-muted);
}

.account-note span {
  color: var(--primary-strong);
  font-weight: 800;
}

[data-theme="light"] .account-note span {
  color: var(--primary-deep);
}

.account-profile-view {
  display: grid;
  gap: 20px;
}

.account-profile-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.account-profile-intro {
  display: grid;
  gap: 10px;
}

.account-profile-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.account-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--primary-wash);
  color: var(--primary-strong);
  font-size: 0.84rem;
  font-weight: 800;
}

[data-theme="light"] .account-profile-pill {
  color: var(--primary-deep);
}

.account-data-grid,
.account-profile-actions {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.account-panel-block {
  height: 100%;
}

.account-section-head {
  margin-bottom: 16px;
}

.account-section-head h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.account-profile-grid,
.account-insights {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-danger {
  border-color: rgba(235, 87, 87, 0.28);
  background: linear-gradient(180deg, rgba(235, 87, 87, 0.08), transparent 46%), var(--panel);
}

html.account-page-booting body[data-page="account"] #authSection,
html.account-page-booting body[data-page="account"] #profileSection {
  display: none !important;
}

body[data-page="account"]:not(.account-logged-in) #profileSection {
  display: none !important;
}

body[data-page="account"].account-logged-in #authSection {
  display: none !important;
}

html[data-account-hint="in"] body[data-page="account"] #authSection,
html[data-account-hint="in"] body[data-page="account"] #profileSection {
  display: none !important;
}

html[data-account-hint="in"] body[data-page="account"].account-profile-ready #profileSection {
  display: grid !important;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(18, 18, 18, 0.22);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

footer {
  padding: 44px 0 34px;
  border-top: 1px solid var(--border);
}

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

.ft-block p,
.ft-block a,
.ft-bottom {
  color: var(--text-muted);
}

.ft-block p {
  margin-top: 12px;
  line-height: 1.72;
}

.ft-block h5 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ft-links {
  display: grid;
  gap: 10px;
}

.ft-links a {
  transition: color 0.2s ease;
}

.ft-links a:hover {
  color: var(--text);
}

.ft-bottom {
  margin-top: 26px;
  padding-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

.rd1 {
  transition-delay: 0.08s;
}

.rd2 {
  transition-delay: 0.16s;
}

.rd3 {
  transition-delay: 0.24s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(108, 179, 122, 0.3);
  border-radius: 999px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .showcase-grid,
  .split-grid,
  .contact-grid,
  .account-auth-layout,
  .account-data-grid,
  .account-profile-actions {
    grid-template-columns: 1fr;
  }

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

  .insight-grid,
  .feature-lane-grid,
  .quick-grid,
  .faq-grid,
  .steps-grid,
  .account-helper-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .nav-ul,
  .nav-auth-btn {
    display: none;
  }

  .ham {
    display: flex;
  }

  .mob-auth-btn {
    display: inline-flex;
  }

  .hero {
    padding-top: 118px;
  }

  .preview-progress {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .progress-ring {
    width: 104px;
    height: 104px;
  }

  .account-profile-hero {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100vw - 24px, 1180px);
  }

  .nav {
    padding: 12px 12px 0;
  }

  .nav-in {
    min-height: 74px;
    padding: 12px 14px;
  }

  .logo-copy small {
    display: none;
  }

  .sec {
    padding: 72px 0;
  }

  .hero,
  .page-hero,
  .legal-hero,
  .account-stage {
    padding-top: 110px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .insight-grid,
  .feature-lane-grid,
  .quick-grid,
  .faq-grid,
  .steps-grid,
  .account-helper-grid,
  .account-profile-grid,
  .account-insights,
  .workflow-grid,
  .macro-grid,
  .metric-strip,
  .ft-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .card-pad,
  .account-side-panel,
  .account-auth-card,
  .account-panel-block,
  .account-profile-hero,
  .control-card,
  .contact-shell {
    padding: 22px;
  }

  .ltabs {
    display: grid;
    width: 100%;
  }
}
