/* Linti's public website. The palette is the platform's and the pitch deck's:
   forest green, white, sage, leaf. System fonts only, so nothing is fetched
   from anywhere else. */
:root {
  --forest: #1F3D22;
  --deep: #17301A;
  --mid: #2C5F2D;
  --leaf: #8DB25C;
  --sage: #F4F6EF;
  --mist: #C6D6B4;
  --line: #DCE4D2;
  --ink: #1F3D22;
  --text: #2B332C;
  --fade: #5A6157;
  --white: #FFFFFF;
  --radius: 14px;
  --serif: Georgia, "DejaVu Serif", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", "Liberation Sans", Arial, sans-serif;
  --gutter: 20px;
  --shadow: 0 1px 2px rgba(23, 48, 26, .06), 0 12px 32px -12px rgba(23, 48, 26, .22);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--white); color: var(--text); font: 17px/1.6 var(--sans); overflow-wrap: break-word; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--mid); text-underline-offset: 3px; }
h1, h2 { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.12; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.06rem; line-height: 1.3; color: var(--ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--white); color: var(--forest);
        padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 800px; }
.center { text-align: center; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-block; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
       background: var(--leaf); color: var(--deep); border: 2px solid var(--leaf); border-radius: 999px;
       padding: 12px 24px; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { background: #A2C572; border-color: #A2C572; transform: translateY(-1px); }
.btn.compact { padding: 7px 16px; font-size: .92rem; }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(198, 214, 180, .55); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--mist); }
.btn.solid { background: var(--forest); border-color: var(--forest); color: var(--white); }
.btn.solid:hover { background: var(--mid); border-color: var(--mid); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ----------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(31, 61, 34, .96); color: var(--white);
       backdrop-filter: blur(8px); border-bottom: 1px solid rgba(198, 214, 180, .14); }
.top-row { display: flex; align-items: center; gap: 12px 28px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.wordmark { font: 700 1.3rem var(--serif); letter-spacing: .28em; color: var(--white); text-decoration: none; margin-right: -.28em; padding-right: .28em; }
#nav { display: flex; align-items: center; gap: 10px 24px; flex: 1; flex-wrap: wrap; }
.nav-links { display: flex; gap: 2px 4px; flex: 1; flex-wrap: wrap; }
.nav-links a { display: block; color: var(--mist); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 11px; border-radius: 999px; }
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav-side { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.langs { display: inline-flex; border: 1px solid rgba(198, 214, 180, .35); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 700; }
.langs a { color: var(--mist); text-decoration: none; padding: 4px 10px; letter-spacing: .06em; }
.langs a[aria-current] { background: var(--mist); color: var(--forest); }
.langs a:not([aria-current]):hover { color: var(--white); }
.sign-in { color: var(--white); font-weight: 600; font-size: .95rem; text-decoration: none; }
.sign-in:hover { text-decoration: underline; }
.menu { margin-left: auto; background: none; border: 1px solid rgba(198, 214, 180, .4); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; position: relative; }
.menu-bars, .menu-bars::before, .menu-bars::after { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; content: ""; }
.menu-bars { top: 18px; }
.menu-bars::before { left: 0; right: 0; top: -7px; }
.menu-bars::after { left: 0; right: 0; top: 7px; }
/* The menu button only matters once the script is running; without it the
   links simply wrap under the wordmark. */
@media (min-width: 861px) { .menu { display: none !important; } }
@media (max-width: 860px) {
  .js #nav { display: none; flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 6px 0 14px; }
  .js #nav.open { display: flex; }
  .js .nav-links { flex-direction: column; }
  .js .nav-links a { padding: 10px 6px; font-size: 1.05rem; border-radius: 8px; }
  .nav-side { justify-content: space-between; }
}

/* ------------------------------------------------------------------- hero */
.hero { position: relative; color: var(--white); overflow: hidden; text-align: center;
        background: radial-gradient(900px 520px at 50% -10%, rgba(141, 178, 92, .34), transparent 64%),
                    radial-gradient(700px 500px at 0% 100%, rgba(44, 95, 45, .65), transparent 60%),
                    radial-gradient(700px 500px at 100% 100%, rgba(44, 95, 45, .5), transparent 60%), var(--forest); }
.hero-text { max-width: 900px; padding-top: clamp(72px, 11vw, 148px); padding-bottom: clamp(140px, 16vw, 210px); }
.hero h1 { color: var(--white); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mid); margin-bottom: 14px; }
.dark .eyebrow { color: var(--leaf); }
.lead { font-size: 1.18rem; line-height: 1.55; color: var(--fade); margin-top: 18px; max-width: 40em; }
.hero .lead { color: #E3ECD8; font-size: clamp(1.12rem, 1.9vw, 1.38rem); margin: 24px auto 0; max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 110px); display: block; }
.hill-far { fill: #3B6E36; opacity: .55; }
.hill-near { fill: var(--white); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s ease-out; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- sections */
.band { padding: clamp(60px, 8.5vw, 108px) 0; }
.band.sage { background: var(--sage); }
.band.dark { background: var(--forest); color: #E3ECD8; }
.dark h2, .dark h3 { color: var(--white); }
.head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 46em; }
.head.center { margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--sage); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.card h3 { font: 700 1.25rem/1.25 var(--serif); margin-bottom: 10px; }
.card p, .founder p { color: var(--fade); line-height: 1.55; }
.icon { display: block; width: 44px; height: 44px; padding: 9px; margin-bottom: 18px; border-radius: 12px; background: var(--white); color: var(--mid); border: 1px solid var(--line); }

.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 56px; }
.points li { border-top: 2px solid var(--mid); padding-top: 18px; }
.points h3 { font: 700 1.3rem/1.25 var(--serif); color: var(--leaf); margin-bottom: 8px; }
.points p { color: #D5E0C8; }
.points.light li { border-top-color: var(--leaf); }
.points.light h3 { color: var(--ink); }
.points.light p { color: var(--fade); }
.band.sage .card { background: var(--white); }

.founders { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: center; max-width: 940px; margin: 0 auto; }
.founder { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow); height: 100%; }
.founder .icon { background: var(--forest); border-color: var(--forest); color: var(--leaf); width: 52px; height: 52px; padding: 12px; border-radius: 50%; }
.founder h3 { font: 700 1.4rem/1.2 var(--serif); margin-bottom: 10px; }
.amp { font: italic 700 3rem/1 var(--serif); color: var(--leaf); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.small { font-size: .85rem; color: var(--fade); }

/* ------------------------------------------------------------------- form */
.reach { margin-top: 8px; }
.form, .thanks { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.field label, .trap label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.field label span { font-weight: 400; color: var(--fade); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--white);
  border: 1px solid #B9C6AC; border-radius: 10px; padding: 11px 12px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--leaf); outline-offset: 1px; border-color: var(--mid); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.problem { background: #FBECE8; border: 1px solid #E3B7AD; color: #6E2418; border-radius: 10px; padding: 10px 14px; font-size: .93rem; }
.thanks h3 { font: 700 1.6rem var(--serif); margin-bottom: 8px; }
.thanks { border-left: 6px solid var(--leaf); }

/* ----------------------------------------------------------------- footer */
.foot { background: var(--deep); color: var(--mist); font-size: .93rem; padding: 48px 0 26px; }
.foot-grid { display: flex; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.foot-tag { margin-top: 12px; max-width: 24em; }
.foot ul { display: flex; gap: 8px 26px; flex-wrap: wrap; }
.foot a { color: var(--mist); text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot-end { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(198, 214, 180, .18); font-size: .8rem; color: #9DB08C; }

/* ------------------------------------------------------------------ legal */
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin: 34px 0 8px; }
.legal p { margin-top: 10px; }
.muted { color: var(--fade); }

/* ------------------------------------------------------------- narrower */
@media (max-width: 860px) {
  .cards, .split { grid-template-columns: minmax(0, 1fr); }
  .founders { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .amp { text-align: center; font-size: 2.4rem; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .points, .pair { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 auto; text-align: center; }
}
@media print {
  .top, .hills, .menu, .form { display: none; }
  .hero, .band.dark, .foot { background: none; color: var(--text); }
  .hero h1, .dark h2, .dark h3 { color: var(--ink); }
}
