:root {
  --brand: #173f46;
  --brand-dark: #0e3035;
  --brand-soft: #dcebe7;
  --amber: #e5a83b;
  --amber-soft: #f7e9c9;
  --amber-ink: #5a420f;
  --sky: #4f8290;
  --paper: #f7f5ee;
  --surface: #fcfbf7;
  --surface-alt: #eef1ec;
  --border: #d5d9d2;
  --ink: #182426;
  --muted: #657174;
  --success: #3f795c;
  --on-dark: #fcfbf7;
  --surface-translucent: rgba(252, 251, 247, 0.9);
  --on-brand: #fcfbf7;
  --brand-hover: #0e3035;
  --radius: 16px;
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #8fcfc0;
    --brand-dark: #0b2a2f;
    --brand-soft: #1e3a3c;
    --amber: #f0b44e;
    --amber-soft: #3a2c12;
    --amber-ink: #f7e9c9;
    --sky: #8fb6bf;
    --paper: #0f1719;
    --surface: #172123;
    --surface-alt: #1e2a2c;
    --border: #2e3b3d;
    --ink: #e8ecea;
    --muted: #9ba8a6;
    --success: #7fbf9a;
    --on-dark: #fcfbf7;
    --surface-translucent: rgba(23, 33, 35, 0.9);
    --on-brand: #0e3035;
    --brand-hover: #a9dccf;
  }
}

:root[data-theme="dark"] {
  --brand: #8fcfc0;
  --brand-dark: #0b2a2f;
  --brand-soft: #1e3a3c;
  --amber: #f0b44e;
  --amber-soft: #3a2c12;
  --amber-ink: #f7e9c9;
  --sky: #8fb6bf;
  --paper: #0f1719;
  --surface: #172123;
  --surface-alt: #1e2a2c;
  --border: #2e3b3d;
  --ink: #e8ecea;
  --muted: #9ba8a6;
  --success: #7fbf9a;
  --on-dark: #fcfbf7;
  --surface-translucent: rgba(23, 33, 35, 0.9);
  --on-brand: #0e3035;
  --brand-hover: #a9dccf;
  color-scheme: dark;
}

:root[data-theme="light"] {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface-translucent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.2px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--brand);
}

@media (max-width: 720px) {
  .site-header .wrap {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    row-gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    gap: 12px;
    justify-content: flex-start;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .header-cta {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }
  .lang-switch,
  .theme-switch {
    height: 30px;
  }
  .lang-switch button,
  .theme-switch button {
    padding: 0 9px;
    font-size: 11px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--amber);
  color: #3a2a08;
}

.btn-primary:hover {
  background: #d99a2b;
  color: #3a2a08;
}

.btn-amber {
  background: var(--amber);
  color: var(--amber-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--border);
}

.btn-disabled {
  background: var(--surface-alt);
  color: var(--muted);
  cursor: default;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

h1 {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 20px 0 16px;
  font-weight: 800;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 46ch;
}

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

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Phone mockup */
.phone {
  width: 300px;
  max-width: 78%;
  margin: 0 auto;
  background: #0b2a2f;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(14, 48, 53, 0.28);
}

.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #0f1719;
  line-height: 0;
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero mock */
.mock {
  background: var(--brand-dark);
  border-radius: 20px;
  padding: 20px;
  color: var(--on-dark);
  box-shadow: 0 20px 40px rgba(14, 48, 53, 0.18);
}

.mock .mock-label {
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock h3 {
  font-size: 20px;
  margin: 10px 0 6px;
  color: var(--on-dark);
}

.mock p {
  color: rgba(252, 251, 247, 0.72);
  font-size: 13px;
  margin: 0 0 16px;
}

.mock .mock-btn {
  display: inline-block;
  background: var(--amber);
  color: #3a2a08;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 12px;
}

.mock-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
  color: var(--ink);
}

.mock-card .big {
  font-size: 30px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.5px;
}

.mock-card .cap {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.mock-card .row {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* Trust strip */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 24px;
}

.trust .item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trust .dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
}

.feature .ico .material-symbols-outlined {
  font-size: 22px;
}

.theme-switch .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
  display: block;
}

.trust strong {
  display: block;
  font-size: 14px;
}

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

/* Sections */
section {
  padding: 64px 0;
}

.section-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

h2 {
  font-size: 32px;
  letter-spacing: -0.6px;
  margin: 0 0 32px;
  font-weight: 800;
}

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

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.feature .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
  background: var(--brand-soft);
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 760px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.plan.pro {
  border-color: var(--amber);
  background: linear-gradient(180deg, var(--amber-soft), var(--surface) 45%);
}

.plan h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.plan .price {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
}

.plan li .check {
  color: var(--success);
  font-weight: 800;
}

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: rgba(252, 251, 247, 0.8);
  padding: 48px 0 32px;
  margin-top: 24px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
  opacity: 0.85;
}

.site-footer a:hover {
  opacity: 1;
}

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

.footer-note {
  width: 100%;
  border-top: 1px solid rgba(252, 251, 247, 0.15);
  margin-top: 24px;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(252, 251, 247, 0.6);
}

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal h1 {
  font-size: 34px;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}

.legal p,
.legal li {
  color: var(--ink);
  font-size: 15px;
}

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

.legal .placeholder {
  background: var(--amber-soft);
  color: var(--amber-ink);
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

/* Language & theme switchers */
.lang-switch,
.theme-switch {
  display: inline-flex;
  align-items: stretch;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}

.lang-switch button,
.theme-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 10px;
  cursor: pointer;
}

.lang-switch button + button,
.theme-switch button + button {
  border-left: 1px solid var(--border);
}

.lang-switch button.active,
.theme-switch button.active {
  background: var(--brand-soft);
  color: var(--brand);
}

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.legal-top .brand {
  font-size: 16px;
}

.legal-top .brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .trust .wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding: 0 18px;
  }
  .hero {
    padding: 48px 0 40px;
  }
  h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 26px;
  }
  .features,
  .plans,
  .trust .wrap {
    grid-template-columns: 1fr;
  }
  .trust .wrap {
    padding: 24px 18px;
  }
  .legal {
    padding: 40px 18px 64px;
  }
  .legal-top {
    justify-content: flex-start;
  }
}
