/*
 * Field Log: components
 * Needs tokens.css first. Every class starts with "fl-" so it can sit next to any other CSS.
 */

/* Base */
.fl { margin: 0; background: var(--fl-white); color: var(--fl-ink); font-family: var(--fl-sans); font-size: var(--fl-text-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.fl *, .fl *::before, .fl *::after { box-sizing: border-box; }
.fl img, .fl svg { max-width: 100%; display: block; }
:where(.fl) a { color: inherit; }
.fl-container { width: min(100% - 40px, var(--fl-container)); margin-inline: auto; }
.fl-narrow { width: min(100% - 40px, var(--fl-narrow)); margin-inline: auto; }
.fl-center { text-align: center; }
.fl-center .fl-lead { margin-inline: auto; }

/* Sections: white and sage bands take turns */
.fl-section { padding-block: var(--fl-section); }
.fl-section--sage { background: var(--fl-sage); }
.fl-section--dusk { background: var(--fl-dusk); color: var(--fl-on-dusk); }
.fl-section--dusk .fl-lead { color: var(--fl-on-dusk-soft); }
.fl .fl-section__head { margin-bottom: 44px; }

/* Type: heavy serif for headlines and numbers, Figtree for reading, typewriter for notes */
.fl-hero-title, .fl-h2, .fl-h3 { margin: 0; font-family: var(--fl-serif); font-weight: 400; color: inherit; }
.fl-hero-title { font-size: var(--fl-text-hero); letter-spacing: var(--fl-tracking-hero); line-height: 1.04; }
.fl-h2 { font-size: var(--fl-text-h2); letter-spacing: var(--fl-tracking-h2); line-height: 1.15; }
.fl-h3 { font-size: var(--fl-text-h3); line-height: 1.2; }
.fl-lead { max-width: 620px; margin: 18px 0 0; color: var(--fl-soft); font-size: var(--fl-text-lead); line-height: 1.5; }
.fl-type { font-family: var(--fl-type); font-size: var(--fl-text-type); letter-spacing: .01em; color: var(--fl-soft); }
.fl-eyebrow { display: block; margin-bottom: 14px; }
.fl-type strong { color: var(--fl-ink); font-weight: 700; }
.fl-underline { text-decoration: underline; text-decoration-color: var(--fl-moss-bright); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.fl-plus { color: var(--fl-moss-bright); }

/* Notice strip: a dark band above the nav with a few drawn rings */
.fl-notice { position: relative; overflow: hidden; display: block; padding: 14px 20px; background: var(--fl-dusk); color: var(--fl-on-dusk); font-size: var(--fl-text-small); text-align: center; text-decoration: none; }
.fl-notice strong { font-family: var(--fl-serif); font-weight: 400; font-size: 17px; }
.fl-notice::before, .fl-notice::after { content: ""; position: absolute; width: 74px; height: 74px; border-radius: 50%; border: 6px solid var(--fl-moss-bright); border-left-color: var(--fl-ember); top: -40px; opacity: .9; }
.fl-notice::before { left: 12%; }
.fl-notice::after { right: 12%; top: 22px; border-left-color: var(--fl-moss-bright); border-bottom-color: var(--fl-ember-2); }

@media (max-width: 760px) { .fl-notice::before, .fl-notice::after { display: none; } }

/* Nav: plain white bar, wordmark left, quiet links, pill and text actions right */
.fl-nav { position: relative; z-index: 2; background: var(--fl-white); border-bottom: var(--fl-border); }
.fl-nav__inner { display: flex; align-items: center; gap: 28px; padding: 14px 20px; }
.fl-logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fl-serif); font-size: 24px; color: var(--fl-ink); text-decoration: none; letter-spacing: -.02em; }
.fl-logo__mark { width: 28px; height: 28px; flex-shrink: 0; }
.fl-nav__links { display: flex; gap: 22px; font-size: var(--fl-text-small); font-weight: 500; }
.fl-nav__links a { text-decoration: none; }
.fl-nav__links a:hover { color: var(--fl-moss); }
.fl-nav__end { display: flex; align-items: center; gap: 14px; margin-left: auto; font-size: var(--fl-text-small); white-space: nowrap; }
.fl-nav__end a { text-decoration: none; }
@media (max-width: 760px) { .fl-nav__links { display: none; } .fl-nav__login { display: none; } .fl-nav__inner { gap: 12px; } }

/* Buttons: soft rectangles, serif labels, moss for the main action */
.fl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: 0; border-radius: var(--fl-radius-sm); font-family: var(--fl-serif); font-size: 19px; font-weight: 400; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s var(--fl-ease), transform .2s var(--fl-ease); }
.fl-btn:active { transform: translateY(1px); }
.fl-btn--primary { background: var(--fl-moss); color: var(--fl-white); }
.fl-btn--primary:hover { background: var(--fl-moss-dark); }
.fl-btn--white { background: var(--fl-white); color: var(--fl-ink); box-shadow: var(--fl-shadow); }
.fl-btn--white:hover { background: var(--fl-sage); }
.fl-btn--outline { background: transparent; color: var(--fl-moss); box-shadow: inset 0 0 0 2px var(--fl-moss); }
.fl-btn--outline:hover { background: var(--fl-moss-soft); }
.fl-btn--block { width: 100%; }
.fl-btn--sm { padding: 7px 14px; font-family: var(--fl-sans); font-size: 14px; font-weight: 600; }
.fl-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--fl-radius-pill); background: var(--fl-white); box-shadow: 0 0 0 1px var(--fl-line), var(--fl-shadow); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.fl-pill svg { width: 14px; height: 14px; color: var(--fl-moss-bright); }
.fl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fl-center .fl-actions { justify-content: center; }

/* Hero: a full-bleed drawn "macro photo" (blurred light and leaf shapes) under white serif type */
.fl-hero { position: relative; overflow: hidden; padding: clamp(96px, 13vw, 150px) 0; color: var(--fl-white); background: var(--fl-dusk-2); }
.fl-hero__scene { position: absolute; inset: -40px; filter: blur(26px); background:
  radial-gradient(28% 36% at 74% 66%, #f2c43c 0%, rgba(242, 196, 60, 0) 70%),
  radial-gradient(18% 22% at 82% 74%, #f7dc6a 0%, rgba(247, 220, 106, 0) 70%),
  radial-gradient(30% 40% at 30% 40%, #b8582a 0%, rgba(184, 88, 42, 0) 70%),
  radial-gradient(40% 50% at 12% 70%, #3f6a1c 0%, rgba(63, 106, 28, 0) 75%),
  radial-gradient(45% 60% at 60% 20%, #4f7a22 0%, rgba(79, 122, 34, 0) 75%),
  linear-gradient(160deg, #24361a, #3b5a1c 55%, #59621f); }
.fl-hero__scene::after { content: ""; position: absolute; inset: 0; background: rgba(20, 24, 14, .34); }
.fl-hero__inner { position: relative; text-align: center; }
.fl-hero .fl-hero-title { text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.fl-hero .fl-actions { justify-content: center; }
.fl-hero .fl-lead { color: rgba(255, 255, 255, .92); margin-inline: auto; font-weight: 500; }
.fl-hero .fl-type { margin-top: 20px; color: var(--fl-white); font-size: 15px; font-weight: 700; }

/* Feature row: drawn line icons with a check badge, serif verb, short sans line */
.fl-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px 20px; text-align: center; }
.fl-feature__icon { position: relative; width: 88px; height: 88px; margin: 0 auto 16px; color: var(--fl-moss-bright); }
.fl-feature__icon svg { width: 88px; height: 88px; }
.fl-check { position: absolute; right: 4px; bottom: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--fl-moss-bright); box-shadow: 0 0 0 3px var(--fl-sage); }
.fl-check::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border: solid var(--fl-white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.fl-feature h3 { margin: 0; font-family: var(--fl-serif); font-weight: 400; font-size: 24px; }
.fl-feature p { margin: 4px 0 0; color: var(--fl-ink); font-size: var(--fl-text-small); line-height: 1.35; }

/* Story card: a drawn picture with its serif title over the bottom, then text and a typewriter note */
.fl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--fl-gap); }
.fl-card { overflow: hidden; border: var(--fl-border-card); border-radius: var(--fl-radius-lg); background: var(--fl-white); transition: box-shadow .2s var(--fl-ease); }
.fl-card:hover { box-shadow: var(--fl-shadow-lift); }
.fl-card__pic { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 200px; padding: 18px; background: var(--fl-dusk-2); overflow: hidden; }
.fl-card__pic::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(20, 22, 16, .62)); }
.fl-card__pic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fl-card__title { position: relative; z-index: 1; margin: 0; color: var(--fl-white); font-family: var(--fl-serif); font-weight: 400; font-size: 24px; line-height: 1.12; text-align: center; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.fl-card__body { padding: 18px 20px 20px; font-size: var(--fl-text-small); line-height: 1.45; }
.fl-card__body p { margin: 0 0 10px; }

/* Record: the Who / What / Where / When log card */
.fl-record { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.fl-record__row { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--fl-sage-2); }
.fl-record__row:last-child { border-bottom: 0; }
.fl-record__label { font-family: var(--fl-serif); font-size: 24px; line-height: 1.1; }
.fl-record__who { display: flex; align-items: center; gap: 10px; }
.fl-avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--fl-moss-soft); color: var(--fl-moss-dark); font-size: 13px; font-weight: 700; }
.fl-record__meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--fl-soft); }
.fl-record__meta svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 820px) { .fl-record { grid-template-columns: 1fr; } .fl-record__row { grid-template-columns: 70px 1fr; } }

/* Heat map: a drawn map with ember pixel squares and one moss pin */
.fl-map { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--fl-radius-sm); background: var(--fl-water); }
.fl-map__land { position: absolute; inset: 0; width: 100%; height: 100%; }
.fl-map__cells { position: absolute; inset: 14% 16% 16% 12%; display: grid; grid-template-columns: repeat(16, 1fr); grid-auto-rows: 1fr; gap: 2px; }
.fl-map__cells i { background: var(--fl-ember); opacity: 0; }
.fl-map__cells i.h1 { opacity: .35; background: var(--fl-ember-3); }
.fl-map__cells i.h2 { opacity: .8; background: var(--fl-ember-2); }
.fl-map__cells i.h3 { opacity: 1; }
.fl-map__pin { position: absolute; width: 26px; height: 34px; color: var(--fl-moss); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }

/* Stats: big serif numbers with a moss plus */
.fl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; max-width: 760px; margin-inline: auto; text-align: center; }
.fl-stat__num { font-family: var(--fl-serif); font-size: var(--fl-text-stat); line-height: 1; letter-spacing: -.02em; }
.fl-stat__label { margin-top: 10px; color: var(--fl-ink); font-size: var(--fl-text-small); }
@media (max-width: 520px) { .fl-stats { grid-template-columns: 1fr; } }

/* Steps: a huge moss numeral, then a serif title with a small icon and a short paragraph */
.fl-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.fl-step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.fl-step__num { font-family: var(--fl-serif); font-size: var(--fl-text-numeral); line-height: .85; color: var(--fl-moss-bright); }
.fl-step h3 { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; font-family: var(--fl-serif); font-weight: 400; font-size: 26px; }
.fl-step h3 svg { width: 22px; height: 22px; color: var(--fl-moss-bright); }
.fl-step p { margin: 0; font-size: var(--fl-text-small); }

/* Why line: a serif word with a drawn green swash, then one sentence */
.fl-why { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 12px 28px; text-align: center; }
.fl-why__word { position: relative; font-family: var(--fl-serif); font-size: 26px; }
.fl-why__word::after { content: ""; position: absolute; left: -4px; right: -6px; bottom: -6px; height: 6px; border-radius: 50%; border-bottom: 3px solid var(--fl-moss-bright); transform: rotate(-4deg); }
.fl-why p { margin: 0; max-width: 520px; font-size: 21px; font-weight: 600; line-height: 1.35; }

/* Quote cards: sage bubble, then name in serif and role in typewriter */
.fl-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.fl-quote { margin: 0; }
.fl-quote__text { margin: 0; padding: 16px 18px; border: 1px solid var(--fl-sage-2); border-radius: var(--fl-radius); background: var(--fl-sage); font-size: var(--fl-text-small); line-height: 1.45; }
.fl-quote__by { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.fl-quote__by .fl-avatar { width: 42px; height: 42px; font-size: 15px; }
.fl-quote__name { font-family: var(--fl-serif); font-size: 21px; line-height: 1.1; }

/* Chips and badges */
.fl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--fl-radius-pill); background: var(--fl-moss-soft); color: var(--fl-moss-dark); font-size: 13px; font-weight: 600; white-space: nowrap; }
.fl-chip--line { background: transparent; box-shadow: inset 0 0 0 1px var(--fl-sage-2); color: var(--fl-soft); }
.fl-chip--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fl-ember); }

/* Forms */
.fl-form { display: grid; gap: 18px; }
.fl-field { display: grid; gap: 6px; }
.fl-label { font-size: 14px; font-weight: 600; }
.fl-hint { color: var(--fl-soft); font-size: 13px; }
.fl-input, .fl-select, .fl-textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--fl-sage-2); border-radius: var(--fl-radius-sm); background: var(--fl-white); color: var(--fl-ink); font: 400 16px var(--fl-sans); transition: border-color .2s, box-shadow .2s; }
.fl-input:focus, .fl-select:focus, .fl-textarea:focus { outline: 0; border-color: var(--fl-moss); box-shadow: 0 0 0 3px var(--fl-moss-soft); }
.fl-check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fl-soft); }
.fl-check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--fl-moss); flex-shrink: 0; }
.fl-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.fl-choice label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 2px solid var(--fl-sage-2); border-radius: var(--fl-radius); font-size: 15px; font-weight: 500; cursor: pointer; }
.fl-choice input { accent-color: var(--fl-moss); }
.fl-choice label:has(input:checked) { border-color: var(--fl-moss); background: var(--fl-sage); }
.fl-panel { padding: clamp(22px, 4vw, 36px); border: var(--fl-border-card); border-radius: var(--fl-radius-lg); background: var(--fl-white); }

/* Pricing: bordered plans, the picked one sits on sage with a moss border */
.fl-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--fl-gap); align-items: stretch; }
.fl-plan { display: flex; flex-direction: column; padding: 28px; border: var(--fl-border-card); border-radius: var(--fl-radius-lg); background: var(--fl-white); }
.fl-plan--picked { border-color: var(--fl-moss-bright); background: var(--fl-sage); }
.fl-plan__name { margin: 0; font-family: var(--fl-serif); font-weight: 400; font-size: 26px; }
.fl-plan__price { margin: 16px 0 4px; font-family: var(--fl-serif); font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.fl-plan__price small { font-family: var(--fl-sans); font-size: 16px; color: var(--fl-soft); letter-spacing: 0; }
.fl-plan__list { flex: 1; display: grid; align-content: start; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; font-size: var(--fl-text-small); }
.fl-plan__list li { position: relative; padding-left: 26px; }
.fl-plan__list li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 6px; height: 11px; border: solid var(--fl-moss-bright); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.fl-table { width: 100%; border-collapse: collapse; font-size: var(--fl-text-small); }
.fl-table th, .fl-table td { padding: 14px 12px; border-bottom: 1px solid var(--fl-sage-2); text-align: left; }
.fl-table th { font-family: var(--fl-serif); font-weight: 400; font-size: 19px; }
.fl-table td:not(:first-child), .fl-table th:not(:first-child) { text-align: center; }
.fl-faq { border-top: 1px solid var(--fl-sage-2); }
.fl-faq details { padding: 18px 0; border-bottom: 1px solid var(--fl-sage-2); }
.fl-faq summary { cursor: pointer; font-family: var(--fl-serif); font-size: 21px; list-style: none; }
.fl-faq summary::after { content: "+"; float: right; color: var(--fl-moss-bright); }
.fl-faq details[open] summary::after { content: "\2212"; }
.fl-faq p { margin: 10px 0 0; color: var(--fl-soft); }

/* Article */
.fl-article { font-size: 19px; line-height: 1.7; }
.fl-article h2 { margin: 48px 0 12px; font-family: var(--fl-serif); font-weight: 400; font-size: 30px; line-height: 1.2; }
.fl-article p { margin: 0 0 20px; }
.fl-article blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--fl-moss-bright); font-family: var(--fl-serif); font-size: 25px; line-height: 1.35; }
.fl-article figure { margin: 36px 0; }
.fl-article figcaption { margin-top: 10px; }
.fl-byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.fl-note { margin: 28px 0; padding: 18px 20px; border-radius: var(--fl-radius); background: var(--fl-sage); font-size: 16px; }
.fl-note .fl-type { display: block; margin-bottom: 6px; }

/* Footer */
.fl-footer { padding: 56px 0 36px; background: var(--fl-dusk); color: var(--fl-on-dusk-soft); font-size: var(--fl-text-small); }
.fl-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.fl-footer .fl-logo { color: var(--fl-on-dusk); }
.fl-footer h4 { margin: 0 0 12px; color: var(--fl-on-dusk); font-family: var(--fl-serif); font-weight: 400; font-size: 18px; }
.fl-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fl-footer a { text-decoration: none; }
.fl-footer a:hover { color: var(--fl-on-dusk); }
.fl-footer__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--fl-dusk-2); }
.fl-footer__base:only-child { margin-top: 0; padding-top: 0; border-top: 0; }
.fl-footer .fl-type { color: var(--fl-on-dusk-soft); }
@media (max-width: 760px) { .fl-footer__grid { grid-template-columns: 1fr 1fr; } .fl-footer__grid > :first-child { grid-column: 1 / -1; } }
