:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-soft: #eef3ef;
  --text: #17211b;
  --muted: #5c6a61;
  --line: #dce4dd;
  --brand: #16664f;
  --brand-dark: #0d4334;
  --accent: #c76e2f;
  --warning: #8a4b12;
  --shadow: 0 18px 45px rgba(23, 33, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.signup-page {
  background:
    linear-gradient(135deg, #eef7f1 0%, #f8fbf8 42%, #dbece3 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-menu {
  position: relative;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(23, 33, 27, 0.05);
}

.language-toggle span {
  color: var(--muted);
  font-size: 0.72rem;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  min-width: 160px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.language-menu.open .language-dropdown {
  display: grid;
}

.language-dropdown button {
  width: 100%;
  border: 0;
  border-radius: 7px;
  padding: 10px 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.language-dropdown button:hover,
.language-dropdown button:focus {
  background: var(--surface-soft);
  outline: none;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: #0f6b52;
  color: #fff;
  box-shadow: 0 12px 28px rgba(3, 39, 31, 0.34);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.button.small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 0.9rem;
  font-weight: 750;
}

.button.ghost {
  color: var(--brand);
  padding-inline: 0;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  min-height: 86vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(3, 24, 21, 0.88) 0%, rgba(5, 43, 35, 0.84) 55%, rgba(7, 35, 30, 0.9) 100%),
    linear-gradient(120deg, rgba(5, 66, 53, 0.96), rgba(2, 29, 27, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Crect width='1400' height='900' fill='%2316664f'/%3E%3Cg opacity='.2' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M120 160h510v310H120zM770 110h420v210H770zM730 410h520v280H730zM170 560h390v170H170z'/%3E%3Cpath d='M160 220h420M160 280h330M160 340h380M805 170h310M805 230h250M770 470h420M770 535h350M770 600h400M210 620h270M210 675h220'/%3E%3C/g%3E%3Cg opacity='.22'%3E%3Ccircle cx='1110' cy='680' r='150' fill='%23f3d2af'/%3E%3Crect x='155' y='135' width='520' height='360' rx='22' fill='%23ffffff'/%3E%3Crect x='188' y='170' width='175' height='24' rx='6' fill='%2316664f'/%3E%3Crect x='188' y='230' width='420' height='22' rx='6' fill='%23dfe9e1'/%3E%3Crect x='188' y='285' width='350' height='22' rx='6' fill='%23dfe9e1'/%3E%3Crect x='188' y='340' width='390' height='22' rx='6' fill='%23dfe9e1'/%3E%3Crect x='188' y='408' width='145' height='44' rx='8' fill='%23c76e2f'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px 64px;
}

.hero-copy {
  max-width: 790px;
  color: #fff;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.52);
}

.narrow {
  max-width: 760px;
}

.small-lead {
  font-size: 1rem;
  margin-top: 14px;
}

.account-form {
  display: grid;
  gap: 16px;
  max-width: 560px;
  padding: 26px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf8 100%);
  border: 1px solid rgba(22, 102, 79, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 33, 27, 0.1);
}

.account-form + .account-form {
  margin-top: 22px;
}

.account-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.account-form input,
.account-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.account-form input:focus,
.account-form select:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(22, 102, 79, 0.16);
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.form-message {
  min-height: 24px;
  color: var(--muted);
  font-weight: 750;
}

.form-message.success {
  color: var(--brand);
}

.form-message.error {
  color: #9b1c1c;
}

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

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

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.hero .eyebrow {
  color: #ffd9b7;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero .lead {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.24rem;
}

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

.product-principle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  border-left: 3px solid rgba(45, 211, 151, 0.86);
  padding: 8px 0 8px 14px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  font-weight: 760;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.38);
}

.product-principle::before,
.badge::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2dd397;
  box-shadow: 0 0 0 4px rgba(45, 211, 151, 0.14);
  content: "";
  flex: 0 0 auto;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(3, 24, 21, 0.38);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 86px 24px;
}

.section.compact {
  padding-block: 56px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 780px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(23, 33, 27, 0.06);
}

.card.highlight {
  border-color: rgba(22, 102, 79, 0.3);
  box-shadow: var(--shadow);
}

.card p,
.copy-block p,
.faq-item p,
.legal p {
  color: var(--muted);
  margin-top: 10px;
}

.price {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 16px 0 6px;
}

.list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--brand);
  font-weight: 900;
}

.trust-list li::before {
  top: 0.32em;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #2dd397;
  box-shadow: 0 0 0 4px rgba(45, 211, 151, 0.12);
  color: transparent;
}

.site-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(22, 102, 79, 0.1);
  color: var(--brand-dark);
}

.site-icon::before,
.site-icon::after {
  position: absolute;
  content: "";
}

.site-icon-mail::before {
  width: 13px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.site-icon-mail::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.site-icon-key::before {
  left: 5px;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.site-icon-key::after {
  right: 5px;
  width: 9px;
  height: 2px;
  background: currentColor;
  box-shadow: 4px 3px 0 -1px currentColor;
}

.site-icon-shield::before {
  width: 13px;
  height: 15px;
  background: currentColor;
  clip-path: polygon(50% 0, 88% 15%, 82% 66%, 50% 100%, 18% 66%, 12% 15%);
  opacity: 0.95;
}

.band {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.product-visual {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

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

.visual-pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.visual-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.visual-row strong {
  display: block;
}

.visual-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.status {
  font-weight: 800;
  color: var(--brand);
}

.page-hero {
  padding: 92px 24px 54px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  display: grid;
  gap: 18px;
}

.page-hero + .section {
  padding-top: 46px;
}

.pricing-page .page-hero {
  padding: 58px 24px 62px;
  background:
    linear-gradient(120deg, rgba(214, 236, 225, 0.96) 0%, rgba(244, 250, 246, 0.98) 50%, rgba(184, 218, 202, 0.92) 100%);
}

.pricing-page .page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.7rem, 4.6vw, 4.25rem);
}

.pricing-page .page-hero .lead {
  max-width: 760px;
}

.pricing-page .page-hero p:last-child {
  margin-top: 22px;
}

.pricing-page .card .button.secondary {
  background: rgba(22, 102, 79, 0.08);
  border-color: rgba(15, 77, 59, 0.32);
  color: var(--brand-dark);
}

.pricing-page .card .button.secondary:hover,
.pricing-page .card .button.secondary:focus {
  background: rgba(22, 102, 79, 0.14);
  border-color: var(--brand);
  color: var(--brand-dark);
}

.signup-page .page-hero {
  padding: 34px 24px 96px;
  background:
    linear-gradient(120deg, rgba(214, 236, 225, 0.96) 0%, rgba(244, 250, 246, 0.98) 48%, rgba(184, 218, 202, 0.92) 100%);
}

.signup-page .signup-form-section {
  margin-top: -118px;
  padding: 0 24px 64px;
  background:
    linear-gradient(135deg, #eef7f1 0%, #f8fbf8 46%, #dceee5 100%);
}

.signup-page .account-form {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero + .section .account-form {
  margin-left: auto;
  margin-right: auto;
}

.signup-page .small-lead {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero + .section .small-lead {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.signup-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: center;
}

.signup-page .page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
}

.signup-next-card {
  border: 1px solid rgba(22, 102, 79, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  padding: 16px;
  box-shadow: 0 12px 30px rgba(23, 33, 27, 0.06);
}

.signup-next-title {
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.signup-next-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}

.signup-next-row span:not(.site-icon) {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(22, 102, 79, 0.1);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.signup-next-row p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.copy-block {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.grid > .copy-block {
  margin-top: 0;
  padding-top: 0;
}

.copy-block h2,
.copy-block h3 {
  margin-top: 0;
}

.copy-block ol,
.copy-block ul {
  margin-top: 0;
}

.copy-block + .copy-block {
  margin-top: 32px;
}

.grid > .copy-block + .copy-block {
  margin-top: 0;
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.legal {
  max-width: 860px;
}

.legal h2 {
  margin-top: 38px;
  font-size: 1.75rem;
}

.legal ul,
.legal ol {
  color: var(--muted);
}

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

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.notice {
  border-left: 4px solid var(--accent);
  background: #fff8ee;
  color: var(--warning);
  padding: 16px;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .grid.features,
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .menu-button {
    display: inline-flex;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav.open {
    display: grid;
  }

  .nav.open .nav-links,
  .nav.open .nav-actions {
    display: grid;
    width: 100%;
    gap: 12px;
  }

  .nav.open .language-menu,
  .nav.open .language-toggle {
    width: 100%;
  }

  .nav.open .language-dropdown {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-inner {
    padding-top: 90px;
  }

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

  .grid.features,
  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 64px;
  }

  .signup-page .page-hero {
    padding: 38px 24px 34px;
  }

  .pricing-page .page-hero {
    padding: 42px 24px 46px;
  }

  .pricing-page .page-hero h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .signup-page .signup-form-section {
    margin-top: 0;
    padding: 28px 24px 58px;
  }

  .signup-hero-grid {
    grid-template-columns: 1fr;
  }

  .signup-next-card {
    display: none;
  }

  .account-form {
    padding: 22px;
  }
}
