:root {
  --bg: #FAF8F3;
  --surface: #FFFFFF;
  --ink: #243D3A;
  --secondary: #5B6E69;
  --green: #277567;
  --green-dark: #1E5D52;
  --mint: #E7F1DC;
  --orange: #BC5939;
  --peach: #FBE7DA;
  --lavender: #EEEBFB;
  --purple: #7460A7;
  --yellow: #F7D66C;
  --line: #E5E9DF;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --font-rounded: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.site-header {
  padding: 20px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--green);
  color: #FFFFFF;
  font-family: var(--font-rounded);
  font-size: 30px;
  font-weight: 800;
  display: grid;
  place-items: center;
  transform: rotate(-6deg);
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(39, 117, 103, 0.18);
}

.brand-title {
  font-family: var(--font-rounded);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.brand-sub {
  font-size: 13px;
  color: var(--secondary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
}

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

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

.lang-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--secondary);
  font-family: var(--font-rounded);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn[aria-pressed="true"] {
  background: var(--green);
  color: #FFFFFF;
}

/* Hero */
.hero {
  background: var(--mint);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
}

.kicker {
  display: inline-block;
  font-family: var(--font-rounded);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

h1, h2, h3 {
  font-family: var(--font-rounded);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: var(--ink);
  opacity: 0.9;
  margin: 0 0 24px;
  max-width: 560px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #FFFFFF;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(39, 117, 103, 0.22);
  transition: transform 0.14s ease, background 0.14s ease;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: 18px;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  text-decoration: none;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  background: rgba(255, 255, 255, 0.82);
  color: var(--green);
  font-family: var(--font-rounded);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
}

/* Mockup tile preview card */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 32px rgba(36, 61, 58, 0.08);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hero-card-tag {
  background: var(--lavender);
  color: var(--purple);
  font-family: var(--font-rounded);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.hero-word {
  font-family: var(--font-rounded);
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin: 10px 0 14px;
}

.tile-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.tile {
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-rounded);
  font-size: 24px;
  font-weight: 800;
}

.tile-filled {
  background: var(--green);
  color: #FFFFFF;
}

.tile-slot {
  background: var(--bg);
  border: 2px dashed var(--green);
  color: var(--secondary);
}

.tile-tray {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tile-peach { background: var(--peach); color: var(--ink); }
.tile-lav { background: var(--lavender); color: var(--ink); }
.tile-sun { background: #FBF0C4; color: var(--ink); }
.tile-mint { background: var(--mint); color: var(--ink); }

.hero-card-foot {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--secondary);
}

/* Sections */
section {
  margin-top: 48px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  margin-bottom: 6px;
}

.section-head p {
  margin: 0;
  color: var(--secondary);
  font-size: 16px;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-rounded);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
}

.icon-mint { background: var(--mint); color: var(--green); }
.icon-peach { background: var(--peach); color: var(--orange); }
.icon-lav { background: var(--lavender); color: var(--purple); }

.card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
}

/* Pricing / Free vs Full */
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}

.plan-card.plan-full {
  border: 2px solid var(--green);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FAF6 100%);
}

.plan-badge {
  display: inline-block;
  font-family: var(--font-rounded);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  margin-bottom: 12px;
}

.plan-price {
  font-family: var(--font-rounded);
  font-size: 32px;
  font-weight: 800;
  margin: 4px 0 6px;
}

.plan-sub {
  font-size: 14px;
  color: var(--secondary);
  margin: 0 0 18px;
}

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

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

/* Pack chips */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pack-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.pack-chip strong {
  font-family: var(--font-rounded);
  font-size: 16px;
}

.pack-chip span {
  font-size: 13px;
  color: var(--secondary);
  white-space: nowrap;
}

/* Legal / Support document layout */
.doc-hero {
  background: var(--lavender);
  border-radius: var(--radius-lg);
  padding: 32px 34px;
  margin-top: 8px;
}

.doc-hero.mint {
  background: var(--mint);
}

.doc-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 10px;
}

.doc-hero p {
  margin: 0;
  color: var(--ink);
  opacity: 0.88;
  max-width: 680px;
}

.doc-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 32px;
  margin-top: 22px;
}

.doc-body h2 {
  font-size: 21px;
  margin: 26px 0 10px;
}

.doc-body h2:first-child {
  margin-top: 0;
}

.doc-body p, .doc-body li {
  color: var(--ink);
  font-size: 15.5px;
}

.doc-body ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

.callout {
  background: var(--mint);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 16px 0;
  font-size: 15px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.faq-item p {
  margin: 0;
  color: var(--secondary);
}

/* Footer */
.site-footer {
  margin-top: 64px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hidden {
  display: none !important;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
  .grid-3, .grid-2, .pack-grid {
    grid-template-columns: 1fr;
  }
  .doc-body, .doc-hero {
    padding: 24px 20px;
  }
}
