:root {
  --bg: #f3eee4;
  --bg-2: #e7dfd0;
  --paper: #fffaf3;
  --ink: #161a22;
  --muted: #5b616c;
  --line: #cbbfae;
  --line-strong: #b3a48f;
  --teal: #0b6b63;
  --teal-ink: #084f4a;
  --copper: #c45c26;
  --ok: #1f7a4d;
  --shadow: 0 18px 40px rgba(22, 26, 34, 0.08);
  --radius: 18px;
  --header-h: 72px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-ink);
  font-weight: 600;
}

.serif { font-family: "Newsreader", serif; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.wordmark span { color: var(--teal); font-weight: 500; }

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
}

.btn-primary {
  background: var(--ink);
  color: #f7f2ea;
}

.btn-primary:hover { background: #000; }

.btn-accent {
  background: var(--teal);
  color: #f4fffd;
}

.btn-accent:hover { background: var(--teal-ink); }

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 48px;
  align-items: end;
}

.hero h1 {
  font-family: "Newsreader", serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 14px 0 22px;
}

.lede {
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.meta-row:last-child { border-bottom: 0; }
.meta-row b { color: var(--ink); font-weight: 600; }

/* Sections */
section { padding: 76px 0; }
.section-head { margin-bottom: 32px; max-width: 680px; }
.section-head h2 {
  font-family: "Newsreader", serif;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-top: 8px;
}

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

.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  min-height: 180px;
}

.service .num {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--copper);
  font-weight: 600;
}

.service h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.service p { color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.plan.featured {
  background: var(--ink);
  color: #f6f1e8;
  border-color: var(--ink);
}

.plan.featured p,
.plan.featured li { color: #d6d0c6; }

.plan.featured .price { color: #fff; }

.plan h3 { font-size: 22px; letter-spacing: -0.03em; margin: 8px 0 6px; }
.price {
  font-family: "Newsreader", serif;
  font-size: 40px;
  letter-spacing: -0.04em;
  margin: 12px 0;
}
.price small { font-size: 16px; color: var(--muted); font-family: "Outfit", sans-serif; }
.plan.featured .price small { color: #c9c3b8; }
.plan ul { list-style: none; margin: 8px 0 22px; display: grid; gap: 8px; font-size: 15px; }
.plan ul li::before { content: "– "; color: var(--teal); }
.plan.featured ul li::before { color: #8fd0c8; }
.plan .btn { margin-top: auto; width: 100%; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.about-copy p { color: var(--muted); margin-bottom: 14px; }

.facts {
  display: grid;
  gap: 10px;
}

.fact {
  background: var(--bg-2);
  border-radius: 14px;
  padding: 16px 18px;
}

.fact b { display: block; font-size: 14px; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 14px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-card, .form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-card a { color: var(--teal-ink); }
.contact-list { display: grid; gap: 14px; margin-top: 18px; }
.contact-list div span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  color: var(--ink);
}

textarea { min-height: 120px; resize: vertical; }

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

.success {
  display: none;
  background: #e7f5ec;
  border: 1px solid #b7ddc4;
  color: var(--ok);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.success.show { display: block; }

.form-error {
  display: none;
  background: #fdecea;
  border: 1px solid #f0c2ba;
  color: #8a2b1d;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.form-error.show { display: block; }

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

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-links button {
  background: none;
  border: 0;
  color: var(--teal-ink);
  cursor: pointer;
  padding: 0;
}

.ssl { display: inline-flex; align-items: center; gap: 6px; }

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 18, 24, 0.55);
  display: none;
  z-index: 60;
  padding: 24px;
}

.modal.open { display: grid; place-items: center; }

.modal-panel {
  width: min(780px, 100%);
  max-height: min(82vh, 900px);
  overflow: auto;
  background: var(--paper);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-panel h2 { font-family: "Newsreader", serif; font-size: 32px; margin-bottom: 8px; }
.modal-panel h3 { margin: 18px 0 8px; font-size: 18px; }
.modal-panel p, .modal-panel li { color: var(--muted); margin-bottom: 10px; font-size: 15px; }
.modal-panel ul { padding-left: 18px; margin-bottom: 10px; }
.modal-close {
  float: right;
  border: 0;
  background: var(--bg-2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

/* Cookie */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  background: var(--ink);
  color: #efe8dc;
  border-radius: 16px;
  padding: 16px 18px;
  display: none;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie.show { display: flex; }
.cookie p { font-size: 14px; color: #d9d1c4; }
.cookie .btn { background: #fff; color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid, .services-grid, .pricing-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 20px;
    gap: 14px;
  }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero { padding-top: 40px; }
  .plan { min-height: 0; }
  .cookie { flex-direction: column; align-items: stretch; }
}
