/* Lindenly one-pager. Tokens from the Lindenly brand pack v1.0 (tokens/tokens.css). */
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/source-sans-3.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --green: #2F5D50; --deep: #1F4338; --leaf: #A8C3A0; --pale: #E4EDE0; --cream: #F5EFE0; --paper: #FFFDF8;
  --honey: #E3B04B; --honey-deep: #8A5D0F; --ink: #1E2A28; --stone: #56625D; --mist: #D9DED8; --danger: #B3261E;
  --border-strong: #7A8580;
  --heading: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --shadow: 0 1px 2px rgba(30,42,40,.06), 0 4px 16px rgba(30,42,40,.06);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; font-family: var(--heading); font-weight: 560; line-height: 1.18; margin: 0 0 .5em; color: var(--ink); font-variation-settings: 'SOFT' 50, 'opsz' 72; }
h1 { font-size: clamp(2.4rem, 7vw, 3.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; font-variation-settings: 'SOFT' 50, 'opsz' 24; }
p { margin: 0 0 1em; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.skip { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--r-md); z-index: 100; font-weight: 700; }
.skip:focus { top: 1rem; color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,239,224,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mist); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 128px; height: auto; }
.nav { display: none; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: var(--r-md); }
.nav a:hover { background: var(--pale); color: var(--deep); }
@media (min-width: 860px) { .nav { display: flex; } .brand img { width: 146px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; border-radius: var(--r-md); background: var(--green); color: #fff; font: 700 1.0625rem/1.2 var(--body); text-decoration: none; border: 2px solid var(--green); cursor: pointer; }
.btn:hover { background: var(--deep); border-color: var(--deep); color: #fff; }
.btn-small { min-height: 44px; padding: .5rem 1rem; font-size: 1rem; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--pale); color: var(--deep); border-color: var(--deep); }
.btn-honey { background: var(--honey); color: var(--ink); border-color: var(--honey); width: 100%; }
.btn-honey:hover { background: #F0C46A; border-color: #F0C46A; color: var(--ink); }
.pilot .btn-honey:focus-visible { outline-color: var(--honey); }

/* sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.tint { background: var(--pale); }
.eyebrow { font: 700 .875rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--honey-deep); margin-bottom: .75rem; }
.eyebrow-light { color: var(--honey); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p:last-child { color: var(--stone); font-size: 1.125rem; }
.lead { font-size: clamp(1.125rem, 2.4vw, 1.3rem); color: var(--ink); max-width: 36rem; }
.note { font-size: .975rem; color: var(--stone); margin-top: 1.25rem; }

.art { display: block; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.art img { width: 100%; }

/* hero */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem); background: radial-gradient(ellipse at 80% 10%, var(--pale), transparent 60%), var(--cream); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } }

/* split */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split-top { align-items: start; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--honey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2A28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat; }
.problem .ticks li::before { background-color: var(--leaf); }

/* modules */
.mods { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .mods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .mods { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .mods { grid-template-columns: repeat(4, 1fr); } }
.mod { background: var(--paper); border: 1px solid var(--mist); border-radius: var(--r-lg); padding: 1.35rem; box-shadow: var(--shadow); }
.mod h3 { font-size: 1.125rem; margin: .85rem 0 .35rem; }
.mod p { margin: 0; color: var(--stone); font-size: 1rem; line-height: 1.5; }
.mod-ico, .hl-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--pale); color: var(--green); }
.tint .mod-ico { background: var(--cream); }
.pricing-note { margin: 2rem 0 0; padding: 1.1rem 1.35rem; background: var(--paper); border-left: 5px solid var(--honey); border-radius: var(--r-md); }

/* apps */
.apps { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .apps { grid-template-columns: repeat(3, 1fr); } }
.app { background: var(--paper); border: 1px solid var(--mist); border-radius: var(--r-xl); padding: 1.6rem; box-shadow: var(--shadow); }
.app img { width: 80px; height: 80px; border-radius: 18px; margin-bottom: 1rem; box-shadow: 0 2px 8px rgba(30,42,40,.15); }
.app-for { font-weight: 700; color: var(--green); margin-bottom: .5rem; }
.app p:last-child { margin: 0; color: var(--stone); }
.duo { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }

/* highlights */
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.highlights li { display: flex; gap: 1rem; align-items: flex-start; }
.highlights .hl-ico { flex: 0 0 52px; background: var(--paper); }
.highlights h3 { margin-bottom: .3rem; }
.highlights p { margin: 0; color: var(--stone); }

/* pilot */
.pilot { background: var(--deep); color: #fff; }
.pilot h2, .pilot p { color: #fff; }
.pilot-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .pilot-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.ticks-light li::before { background-color: var(--honey); }
.pilot-form { background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.pilot-form p { color: var(--ink); }
.form-intro { font-size: .95rem; color: var(--stone) !important; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--stone); }
.field input, .field select { width: 100%; min-height: 48px; padding: .6rem .8rem; font: 400 1.0625rem/1.3 var(--body); color: var(--ink); background: #fff; border: 2px solid var(--border-strong); border-radius: var(--r-md); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-color: var(--green); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger) !important; font-weight: 600; font-size: .95rem; margin: .35rem 0 0; }
.form-small { font-size: .925rem; color: var(--stone) !important; margin: 1rem 0 0; }
.form-status { margin: .75rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }

/* footer */
.site-footer { background: var(--ink); color: #E8ECE6; padding: 3rem 0 2.5rem; font-size: .975rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--honey); }
.site-footer :focus-visible { outline-color: var(--honey); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1fr 2fr 1fr; } }
.footer-grid img { width: 140px; }
.footer-tag { margin-top: .75rem; font-family: var(--heading); font-size: 1.125rem; color: var(--leaf); }
.footer-legal p { margin-bottom: .6rem; }
.footer-links { list-style: none; padding: 0; margin: 0 0 1rem; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
.copy { color: #C3CBC6; }

/* legal pages */
.legal { padding: 3rem 0 5rem; }
.legal .wrap { max-width: 46rem; }
.placeholder { background: #FFF6DE; border-left: 5px solid var(--honey); padding: 1rem 1.25rem; border-radius: var(--r-md); }
/* mobile: text before image in the problem section */
.problem .split-art { order: 2; }
@media (min-width: 960px) { .problem .split-art { order: 0; } }
