@font-face {
  font-family: "Geist";
  src: url("fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --text: #121212;
  --muted: #6b6b66;
  --line: #e4e4de;
  --accent: #1f6f5c;
  --accent-soft: #e3efe9;
  --glow: rgba(31, 111, 92, 0.12);
  --radius: 14px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f0f;
    --surface: #161817;
    --text: #ededea;
    --muted: #8d8f8a;
    --line: #262927;
    --accent: #5fd0a8;
    --accent-soft: #15302a;
    --glow: rgba(95, 208, 168, 0.10);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(60rem 30rem at 85% -10%, var(--glow), transparent 70%);
  background-repeat: no-repeat;
}

p { text-wrap: pretty; }

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a:not(.btn):not(.tile):focus-visible { border-radius: 4px; }
.btn.home::after { content: none; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }


/* Hero */
.hero { padding: 112px 0 56px; }
h1 {
  font-size: clamp(40px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.04em;
  font-weight: 600; margin: 0 0 24px;
}
.lede { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.5; max-width: 34em; margin: 0; color: var(--text); }
.lede a { font-weight: 500; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  border: 1px solid transparent; background: var(--accent-soft); color: var(--accent);
  font-weight: 500; font-size: 15px; text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent); }
.btn::after { content: "↓"; font-size: 13px; opacity: .7; transition: transform .15s ease; }
.btn:hover::after { transform: translateY(2px); }

/* Sections */
.block { padding: 56px 0; border-top: 1px solid var(--line); }
.label { font-size: 15px; line-height: 1; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; margin: 0 0 28px; text-transform: uppercase; }
.intro { margin: 0 0 32px; }
.sub { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; text-transform: uppercase; margin: 36px 0 14px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { font-size: 19px; letter-spacing: -0.015em; margin: 0 0 6px; font-weight: 600; }
.card p { margin: 0; }

.feature { display: grid; gap: 18px; padding: 32px; }
.feature h3 { color: var(--accent); }
.role { font-size: 13px; color: var(--accent); margin: 0; }


.grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.tile {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
a.tile::after {
  content: "↗"; position: absolute; top: 5px; right: 8px;
  font-size: 11px; color: var(--muted); transition: color .15s ease;
}
a.tile:hover { border-color: var(--text); color: inherit; transform: translateY(-1px); }
a.tile:hover::after { color: var(--accent); }
.tile .name { font-size: 15px; font-weight: 500; white-space: nowrap; }
.tile .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.offers .card h3 { color: var(--accent); }
.offers .card p:last-child { color: var(--muted); font-size: 15.5px; }

.contact .big { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.5; margin: 0 0 20px; }
.contact .big a { color: var(--accent); font-weight: 500; }
.links { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.ext::after { content: "↗"; margin-left: 4px; font-size: 0.85em; color: var(--muted); }


.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  h1 { font-size: 34px; margin-bottom: 20px; }
  .label { font-size: 17px; }
  .foot { gap: 6px 16px; padding: 24px 20px 48px; }
  .foot > span:last-child { margin-left: auto; }
  .hero { padding: 64px 0 44px; }
  .offers { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cta-row { gap: 8px; }
  .btn { padding: 10px 14px; font-size: 14px; gap: 6px; }
  .card, .feature { margin: 0 -20px; padding: 24px 20px; border-radius: 0; border-left: 0; border-right: 0; }
  .offers { gap: 0; }
  .offers .card + .card { border-top: 0; }
  .block:has(> .card:last-child), .block:has(> .offers:last-child) { padding-bottom: 0; }
  .block > .card:last-child, .offers:last-child .card:last-child { border-bottom: 0; }
  .block { margin: 0 -20px; padding: 44px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  
.wave { display: inline-block; transform-origin: 70% 70%; animation: wave 1.6s ease-in-out 0.6s 1; }
@keyframes wave {
  0%, 100% { transform: rotate(0); }
  15%, 45% { transform: rotate(14deg); }
  30% { transform: rotate(-8deg); }
  60% { transform: rotate(-4deg); }
  75% { transform: rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) { .wave { animation: none; } }
