:root {
  --bg: #f3efe7;
  --bg-soft: #fbf8f2;
  --card: rgba(255, 251, 245, 0.86);
  --card-strong: rgba(255, 255, 255, 0.94);
  --ink: #18263c;
  --muted: #61718a;
  --line: rgba(24, 38, 60, 0.12);
  --line-strong: rgba(24, 38, 60, 0.18);
  --brand: #0f766e;
  --brand-dark: #0a4f4a;
  --accent: #e59338;
  --accent-soft: rgba(229, 147, 56, 0.12);
  --danger: #d25244;
  --success: #2d9a69;
  --shadow: 0 22px 60px rgba(24, 38, 60, 0.12);
  --shadow-soft: 0 12px 30px rgba(24, 38, 60, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(229, 147, 56, 0.18), transparent 24%),
    linear-gradient(180deg, #f9f4ea 0%, #f3efe7 100%);
  min-height: 100vh;
}

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

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

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #37a79e);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a,
.btn,
button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 18px;
  font: 600 15px/1.1 "Trebuchet MS", "Segoe UI", sans-serif;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.nav a:hover,
.btn:hover,
button:hover {
  transform: translateY(-1px);
}

.btn-primary,
button,
.nav .cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-danger {
  background: rgba(210, 82, 68, 0.1);
  color: var(--danger);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-dark);
  font: 700 13px/1.1 "Trebuchet MS", "Segoe UI", sans-serif;
  letter-spacing: 0.03em;
}

.panel {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  padding: 46px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 147, 56, 0.18), transparent 62%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand-dark);
  font: 700 12px/1 "Trebuchet MS", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

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

.hero-notes {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 38, 60, 0.08);
}

.hero-note strong,
.stat strong,
.trust-number strong {
  display: block;
  font: 800 28px/1 "Trebuchet MS", "Segoe UI", sans-serif;
}

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

.hero-side {
  padding: 22px;
  display: grid;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(14, 27, 45, 0.96), rgba(19, 39, 67, 0.94)),
    linear-gradient(135deg, rgba(55, 167, 158, 0.16), rgba(229, 147, 56, 0.08));
  color: white;
}

.hero-side .muted {
  color: rgba(255, 255, 255, 0.72);
}

.glass-card {
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(66, 191, 135, 0.14);
  color: #8cf0bf;
  font: 700 12px/1 "Trebuchet MS", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.metric {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  font: 800 24px/1 "Trebuchet MS", "Segoe UI", sans-serif;
}

.section {
  margin-top: 22px;
}

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

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.surface {
  padding: 30px;
}

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

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

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

.stack {
  display: grid;
  gap: 18px;
}

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

.trust-card,
.benefit-card,
.faq-card {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--card-strong);
  box-shadow: var(--shadow-soft);
}

.benefit-card h3,
.faq-card h3,
.tariff-card h3,
.trust-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.benefit-card p,
.faq-card p,
.trust-card p,
.tariff-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(229, 147, 56, 0.2));
  color: var(--brand-dark);
  font: 800 20px/1 "Trebuchet MS", "Segoe UI", sans-serif;
}

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

.tariff-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 241, 233, 0.96));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.tariff-card.featured {
  background:
    linear-gradient(180deg, rgba(16, 44, 78, 0.98), rgba(13, 30, 53, 0.98));
  color: white;
  border-color: rgba(255, 255, 255, 0.08);
}

.tariff-card.featured p,
.tariff-card.featured .muted,
.tariff-card.featured .price-row span,
.tariff-card.featured .tariff-list li {
  color: rgba(255, 255, 255, 0.78);
}

.featured-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(229, 147, 56, 0.16);
  color: var(--accent);
  font: 700 12px/1 "Trebuchet MS", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tariff-header {
  display: grid;
  gap: 8px;
}

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

.price-row,
.data-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.price-row {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(24, 38, 60, 0.12);
}

.tariff-card.featured .price-row {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.price-row strong {
  font: 800 22px/1 "Trebuchet MS", "Segoe UI", sans-serif;
}

.tariff-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.tariff-list li::marker {
  color: var(--brand);
}

.tariff-card.featured .tariff-list li::marker {
  color: var(--accent);
}

.cta-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(10, 79, 74, 0.98));
  color: white;
  box-shadow: var(--shadow);
}

.cta-strip .section-copy,
.cta-strip .muted {
  color: rgba(255, 255, 255, 0.8);
}

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

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(24, 38, 60, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  font: 800 20px/1 "Trebuchet MS", "Segoe UI", sans-serif;
}

.trust-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.trust-number {
  border-radius: 24px;
  padding: 22px;
  background: var(--card-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

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

.auth-shell {
  max-width: 560px;
  margin: 24px auto 0;
}

.auth-card,
.dash-card {
  padding: 30px;
}

.auth-card h1,
.dash-card h1,
.dash-card h2 {
  margin-top: 0;
}

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

label {
  display: grid;
  gap: 8px;
  font: 700 15px/1.3 "Trebuchet MS", "Segoe UI", sans-serif;
}

input,
select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  font: 16px/1.3 "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.kpi {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.94));
  border: 1px solid var(--line);
}

.kpi strong {
  font: 800 30px/1 "Trebuchet MS", "Segoe UI", sans-serif;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font: 700 14px/1.3 "Trebuchet MS", "Segoe UI", sans-serif;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font: 700 13px/1 "Trebuchet MS", "Segoe UI", sans-serif;
}

.badge-success {
  background: rgba(46, 156, 102, 0.12);
  color: var(--success);
}

.badge-warn {
  background: rgba(229, 147, 56, 0.14);
  color: #b05a00;
}

.badge-muted {
  background: rgba(24, 38, 60, 0.08);
  color: var(--muted);
}

.flash-stack {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1000;
}

.flash {
  min-width: 280px;
  max-width: 380px;
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: white;
  animation: slideIn 0.2s ease;
  font: 600 15px/1.5 "Trebuchet MS", "Segoe UI", sans-serif;
}

.flash-success {
  background: linear-gradient(135deg, #1c9768, #42bf87);
}

.flash-error {
  background: linear-gradient(135deg, #d24d47, #ef7a5d);
}

.flash a {
  color: white;
  text-decoration: underline;
}

.empty {
  padding: 22px;
  border-radius: 18px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
}

.footer-note {
  padding: 18px 0 8px;
  color: var(--muted);
  font: 600 14px/1.5 "Trebuchet MS", "Segoe UI", sans-serif;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  .hero,
  .grid-3,
  .grid-2,
  .cta-strip,
  .tariff-grid,
  .selling-grid,
  .faq-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-numbers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .shell {
    width: min(100% - 20px, 100%);
  }

  .hero-copy,
  .hero-side,
  .surface,
  .auth-card,
  .dash-card,
  .cta-strip,
  .trust-card,
  .benefit-card,
  .faq-card,
  .step,
  .tariff-card {
    padding: 22px;
  }

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

  .nav {
    width: 100%;
  }

  .nav a,
  .btn,
  button {
    width: 100%;
    text-align: center;
  }

  .hero-actions,
  .hero-notes,
  .section-head {
    display: grid;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
  }
}
