/* Fieldnote — warm cream editorial. Weight 300 at display sizes, a mono
   labelling system with wide tracking, a light serif for editorial body copy,
   4px corners everywhere, no shadows, no gradients, no section rules:
   sections separate by tone (cream → linen → stone) and space. */
:root {
	--violet: #0007cb;
	--cream: #faf9f6;
	--linen: #f1eee9;
	--stone: #d3cec6;
	--hairline: #dedbd6;
	--ink-1: #111111;
	--iron: #414141;
	--graphite: #585858;
	--smoke: #888888;
	--silver: #b8b8b8;

	--bg: var(--cream);
	--surface: var(--linen);
	--ink: var(--ink-1);
	--muted: var(--graphite);
	--line: var(--hairline);
	--accent: var(--violet);
	--on-accent: #fff;
	--font-display: "Inter", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, monospace;
	--font-serif: "Newsreader", Georgia, serif;
	--display-weight: 300;
	--display-tracking: -0.03em;
	--radius: 4px;
}

body { font-feature-settings: "ss01" on, "tnum" on; font-size: 16px; letter-spacing: -0.01em; }
.wrap { width: min(1200px, 100% - 96px); }
@media (max-width: 760px) { .wrap { width: calc(100% - 32px); } }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.muted { color: var(--smoke); }
.label { color: var(--graphite); margin: 0 0 20px; }
.serif { font-family: var(--font-serif); font-weight: 300; font-size: 19px; line-height: 1.45; letter-spacing: -0.01em; color: var(--iron); }
h1, h2, h3 { font-weight: 300; margin: 0; color: var(--ink); }
h2 { font-size: clamp(36px, 4.5vw, 54px); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }

/* buttons: black fill, ghost, outline; 4px, never violet */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 400; text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.btn-fill { background: #000; color: #fff; }
.btn-fill:hover { background: #2a2a2a; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: rgba(17, 17, 17, 0.05); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.announce { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 10px 48px; background: var(--linen); font-size: 13px; color: var(--ink); position: relative; }
.announce p { margin: 0; text-align: center; }
.announce .mono { color: var(--violet); margin-right: 8px; font-size: 11px; }
.announce a { color: inherit; text-underline-offset: 3px; }
.announce button { position: absolute; right: 16px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--graphite); }

.nav { position: sticky; top: 0; z-index: 20; background: var(--cream); transition: box-shadow 0.2s; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--hairline); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.03em; text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { padding: 8px 12px; border-radius: var(--radius); font-size: 14px; text-decoration: none; display: flex; align-items: center; gap: 6px; }
.nav-links a:hover { background: rgba(17, 17, 17, 0.05); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.nav-end { display: flex; gap: 4px; align-items: center; }
@media (max-width: 1100px) { .hide-md { display: none; } }
@media (max-width: 900px) { .nav-links, .hide-sm { display: none; } .nav-end { margin-left: auto; } }
@media (max-width: 520px) { .nav-end .btn-ghost { display: none; } }

/* hero: 80px at weight 300, subtext in a narrow column */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero h1 { font-size: clamp(48px, 7vw, 80px); line-height: 0.95; letter-spacing: -0.03em; }
.hero-side p { font-size: 16px; line-height: 1.5; color: var(--iron); max-width: 400px; margin: 0 0 24px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: clamp(48px, 7vw, 88px); }
.strip img, .strip-quote { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.strip-quote { margin: 0; background: var(--ink-1); color: var(--cream); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.strip-quote blockquote { margin: 0; font-family: var(--font-serif); font-weight: 300; font-size: clamp(13px, 1.3vw, 17px); line-height: 1.3; }
.strip-quote figcaption { font-size: 10px; color: var(--silver); }
@media (max-width: 900px) { .strip { grid-template-columns: repeat(4, 1fr); } .strip img:nth-of-type(n + 4) { display: none; } }

/* product: tabs with an underline, a screenshot panel on linen */
.product { padding: clamp(64px, 9vw, 112px) 0; background: var(--linen); }
.product h2 { max-width: 16ch; }
.tabs { display: flex; gap: 32px; margin: 40px 0 24px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 0; font-size: 15px; color: var(--smoke); border-bottom: 2px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.tabs button:hover { color: var(--ink); }
.panel { background: var(--stone); border-radius: var(--radius); padding: clamp(16px, 4vw, 48px); animation: fade 0.35s ease; }
@keyframes fade { from { opacity: 0; } }
.app { background: #fff; border-radius: var(--radius); border: 1px solid var(--hairline); }
.app-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--hairline); }
.sessions { list-style: none; margin: 0; padding: 8px 20px; }
.sessions li { display: grid; grid-template-columns: 140px 1fr 1.3fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.sessions li:last-child { border-bottom: 0; }
.sessions strong { font-weight: 400; }
.sessions span { color: var(--graphite); }
.pill { font-style: normal; font-size: 12px; padding: 4px 8px; border-radius: var(--radius); background: var(--ink-1); color: #fff; }
.pill-soft { background: var(--linen); color: var(--iron); }
@media (max-width: 760px) { .sessions li { grid-template-columns: 1fr auto; } .sessions time, .sessions span { grid-column: 1; } }
.transcript { padding: 24px clamp(20px, 4vw, 48px); max-width: 760px; }
.transcript p { margin: 0 0 20px; font-family: var(--font-serif); font-weight: 300; font-size: 20px; line-height: 1.45; }
.who { display: block; color: var(--smoke); margin-bottom: 4px; font-family: var(--font-mono); }
mark { background: rgba(0, 7, 203, 0.1); color: var(--ink); box-shadow: inset 0 -2px 0 var(--violet); padding: 0 2px; }
.tags { display: flex; gap: 8px; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 8px; border: 1px solid var(--hairline); border-radius: var(--radius); color: var(--iron); }
.tag-accent { color: var(--violet); border-color: var(--violet); }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px; }
.theme { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; background: var(--cream); }
.theme .count { color: var(--violet); }
.theme h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; margin: 12px 0 10px; }
.theme p { margin: 0 0 20px; color: var(--graphite); font-size: 15px; flex: 1; }
.theme .evidence { color: var(--ink); }
@media (max-width: 900px) { .themes { grid-template-columns: 1fr; } }
.app-doc { padding: clamp(24px, 5vw, 56px); }
.app-doc h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; margin: 12px 0 18px; max-width: 22ch; }
.app-doc .serif { max-width: 60ch; }
.app-doc ol { padding-left: 20px; margin: 20px 0 28px; font-size: 16px; line-height: 1.6; }

/* customers: grayscale wordmarks only */
.logos { padding: clamp(64px, 8vw, 96px) 0; }
.logos .label { text-align: center; }
.logo-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; }
.logo-grid li { text-align: center; font-size: 20px; font-weight: 500; letter-spacing: -0.03em; color: var(--silver); }
.logo-grid .serif-logo { font-family: var(--font-serif); font-weight: 300; font-size: 23px; letter-spacing: 0; }
.logo-grid .light { font-weight: 300; font-size: 24px; }
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }

/* editorial features: 50/50, image side alternates */
.feature { padding: clamp(64px, 8vw, 96px) 0; }
.feature-warm { background: var(--linen); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature-grid.flip .feature-art { order: -1; }
.feature-copy .serif { margin: 24px 0 32px; max-width: 46ch; }
.feature-art { margin: 0; }
.feature-art img { width: 100%; border-radius: var(--radius); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } .feature-grid.flip .feature-art { order: 0; } }

.voice { padding: clamp(80px, 10vw, 128px) 0; background: var(--stone); }
.voice-inner { max-width: 900px; }
.voice blockquote { margin: 0 0 28px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; color: var(--ink); }
.voice .mono { color: var(--iron); margin: 0; }

.start { padding: clamp(80px, 10vw, 128px) 0; }
.start-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.start h2 { font-size: clamp(44px, 6vw, 80px); line-height: 0.95; }
.start p { color: var(--iron); margin: 0 0 20px; }
@media (max-width: 860px) { .start-inner { grid-template-columns: 1fr; } }

.foot { background: var(--linen); padding: 64px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid div { display: grid; gap: 10px; align-content: start; }
.foot-grid .mono { color: var(--smoke); margin: 0 0 4px; }
.foot-grid a { text-decoration: none; color: var(--iron); }
.foot-grid a:hover { color: var(--ink); }
.foot-note { margin: 56px 0 0; color: var(--smoke); font-size: 13px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* case study page, same tokens */
.study .cs-title { font-weight: 300; }
.study .cs-kicker { font-family: var(--font-mono); font-weight: 400; color: var(--violet); }
.study .cs-end { background: var(--stone); color: var(--ink); }
.study .cs-end a { background: #000; color: #fff; border-radius: var(--radius); }
.study .cs-specs strong { color: var(--ink); font-weight: 300; }
.study .cs-specs div { background: var(--linen); border: 0; }
.study .cs-shot { box-shadow: none; }
