/* After makemeplay (play.makemepulse.com), in forest green: one geometric grotesk at huge sizes with
   tight tracking; a lowercase wordmark whose last word carries the colour ("church·signal."); a dark
   hero with big overlapping circles, the green one being the call to action; a three-dot manifesto; a
   giant scrolling word band with small rounded tiles between the words; full-bleed rounded scenes
   that stack as you scroll. The working app keeps the same type and shapes on a plain white page. */
:root {
  --bg: #ffffff; --bg-2: #f1f4f1; --surface: #ffffff; --line: rgba(10, 30, 20, .10); --line-2: rgba(10, 30, 20, .18);
  --ink: #0b1510; --ink-2: #34463c; --muted: #6d7d74;
  --accent: #1f7a4a; --accent-ink: #ffffff; --accent-soft: #e2f1e7; --accent-deep: #0f3d26;
  --field: #14221a; --field-2: #1d3226; --leaf: #8fdba8;
  --yes: #1f7a4a; --yes-soft: #e2f1e7; --no: #c2412d; --no-soft: #fbe6e1; --warn: #8a6410; --warn-soft: #f6edd6;
  --shadow: 0 1px 2px rgba(10, 30, 20, .06), 0 30px 70px -40px rgba(10, 30, 20, .35);
  --f: "Familjen Grotesk", "Biotif", ui-sans-serif, system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 24px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0a120d; --bg-2: #111c15; --surface: #121e17; --line: rgba(220, 240, 228, .09); --line-2: rgba(220, 240, 228, .17);
  --ink: #edf5ef; --ink-2: #bccbc1; --muted: #86988c;
  --accent: #5fcf8a; --accent-ink: #06120b; --accent-soft: rgba(95, 207, 138, .14); --accent-deep: #0c2a1a;
  --field: #0f1c14; --field-2: #17291e;
  --yes: #5fcf8a; --yes-soft: rgba(95, 207, 138, .14); --no: #f08a76; --no-soft: rgba(240, 138, 118, .14); --warn: #e6c27a; --warn-soft: rgba(230, 194, 122, .13);
  --shadow: 0 0 0 1px var(--line), 0 30px 70px -40px rgba(0, 0, 0, .8);
  color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #0a120d; --bg-2: #111c15; --surface: #121e17; --line: rgba(220, 240, 228, .09); --line-2: rgba(220, 240, 228, .17);
  --ink: #edf5ef; --ink-2: #bccbc1; --muted: #86988c;
  --accent: #5fcf8a; --accent-ink: #06120b; --accent-soft: rgba(95, 207, 138, .14); --accent-deep: #0c2a1a;
  --field: #0f1c14; --field-2: #17291e;
  --yes: #5fcf8a; --yes-soft: rgba(95, 207, 138, .14); --no: #f08a76; --no-soft: rgba(240, 138, 118, .14); --warn: #e6c27a; --warn-soft: rgba(230, 194, 122, .13);
  --shadow: 0 0 0 1px var(--line), 0 30px 70px -40px rgba(0, 0, 0, .8);
  color-scheme: dark }

* { box-sizing: border-box }
[hidden] { display: none !important }
html, body { min-height: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--f); letter-spacing: 0; -webkit-font-smoothing: antialiased }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit }
a { color: var(--accent) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance }
h1, h2 { letter-spacing: -0.045em; line-height: .96 }
h3 { letter-spacing: -0.03em }
p { margin: 0 }
.g { color: var(--accent) }
.num { font-variant-numeric: tabular-nums }
.eyebrow { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }

/* shell: tiny wordmark top-left, pill navigation */
.app { min-height: 100% }
.rail { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px max(22px, env(safe-area-inset-right, 0px)) 12px max(22px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px) }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg) }
.logo { display: flex; align-items: center; gap: 10px }
.wordmark { font: 700 17px/1 var(--f); letter-spacing: -0.06em; color: var(--ink); cursor: pointer }
.wordmark span { color: var(--accent) }
.demo-tag { font: 500 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--warn); background: var(--warn-soft); padding: 3px 8px; border-radius: 99px }
.nav { display: flex; gap: 2px; margin-left: 12px }
.nav button { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 99px; background: none; color: var(--ink-2); padding: 8px 14px; cursor: pointer; font-weight: 500; font-size: 14.5px }
.nav button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none }
.nav button b { font: 600 11px var(--f); color: var(--muted); padding: 2px 7px; border-radius: 99px; background: var(--bg-2) }
.nav button b:empty { display: none }
.nav button:hover { background: var(--bg-2); color: var(--ink) }
.nav button[aria-current="page"] { background: var(--ink); color: var(--bg) }
.nav button[aria-current="page"] b { background: var(--accent); color: var(--accent-ink) }
.company { margin-left: auto; display: flex; align-items: center; gap: 8px }
.company label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
.company select { width: auto; max-width: 220px; padding: 8px 12px; border-radius: 99px }
select, input[type="url"], input[type="text"], textarea { width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s }
select:focus, input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft) }
textarea { resize: vertical; min-height: 100px; line-height: 1.5 }
main { padding: 30px max(22px, env(safe-area-inset-right, 0px)) 120px max(22px, env(safe-area-inset-left, 0px)); outline: none }
main.bleed { padding: 0 0 80px }
.wrap { max-width: 1120px; margin: 0 auto; display: grid; gap: 28px }

/* buttons: black and green pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 99px; padding: 14px 24px; font-weight: 600; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); transition: transform .15s, background .15s }
.btn:hover { background: var(--ink); color: var(--bg) }
.btn:active { transform: scale(.98) }
.btn:disabled { opacity: .55; cursor: progress }
.ghost { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 99px; padding: 10px 18px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px }
.ghost:hover { background: var(--ink); color: var(--bg) }
.small { padding: 7px 14px; font-size: 13px }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; color: var(--ink-2); background: var(--bg-2); white-space: nowrap }
.chip.ok { color: var(--accent-ink); background: var(--accent) }
.chip.early { color: var(--warn); background: var(--warn-soft) }
.chip.acc { color: var(--accent); background: var(--accent-soft) }
.chip .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor }

/* page headers */
.head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap }
.head h1 { font-size: clamp(40px, 6vw, 76px) }
.head p { color: var(--muted); max-width: 46ch; font-size: 15px }

/* ---------- landing ---------- */
.landing { display: grid; gap: 0 }
.land-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.5vw, 24px); overflow: hidden; background: var(--field); color: #f2f7f3;
  border-radius: 0 0 36px 36px; padding: 80px 20px 90px }
.mark-xl { position: relative; z-index: 2; font-size: clamp(56px, 10vw, 168px); letter-spacing: -0.06em; line-height: .9; color: #ffffff; white-space: nowrap }
.mark-xl span { color: var(--leaf) }
.orb { position: absolute; z-index: 1; width: clamp(150px, 21vw, 320px); aspect-ratio: 1; border-radius: 50%; background: var(--field-2); top: 50%; translate: 0 -50% }
.orb.o1 { left: 6% } .orb.o2 { left: 24% }
.orb.o3 { position: relative; top: auto; translate: none; flex: none; z-index: 3; width: clamp(130px, 16vw, 250px); background: var(--leaf); color: var(--field); border: 0; cursor: pointer;
  font: 600 clamp(14px, 1.3vw, 18px)/1.2 var(--f); letter-spacing: -0.02em; text-decoration: underline; text-underline-offset: 6px; padding: 0 1.4em;
  display: grid; place-items: center; transition: transform .25s cubic-bezier(.2, .9, .3, 1.4) }
.orb.o3:hover { transform: scale(1.06) }
@media (prefers-reduced-motion: no-preference) {
  .orb.o1 { animation: drift 9s ease-in-out infinite } .orb.o2 { animation: drift 11s ease-in-out -3s infinite }
  @keyframes drift { 50% { translate: 0 calc(-50% - 16px) } }
}
.land-hero .tag { position: absolute; z-index: 2; left: 0; right: 0; bottom: 34px; font-size: 15px; color: #b7cdbf; text-align: center }
.manifesto { display: grid; justify-items: center; gap: 22px; padding: clamp(80px, 12vw, 150px) 24px; text-align: center }
.dots3 { display: flex; gap: 6px; justify-content: center }
.dots3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink) }
.dots3 i:last-child { background: var(--accent) }
.manifesto h2 { font-size: clamp(30px, 4.6vw, 66px); letter-spacing: -0.05em; line-height: 1.04; max-width: 24ch }
.manifesto .tint { color: var(--accent) }
.manifesto .slogan { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px }
.land-hero .tag b { color: #ffffff; font-weight: 600 }
.band { overflow: hidden; padding: 10px 0 40px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent) }
.band-track { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); width: max-content }
@media (prefers-reduced-motion: no-preference) { .band-track { animation: band 46s linear infinite } @keyframes band { to { transform: translateX(-50%) } } }
.word { font: 600 clamp(80px, 13vw, 210px)/1 var(--f); letter-spacing: -0.055em; padding-inline: clamp(6px, 1vw, 14px) }
.tile { display: grid; align-content: end; gap: 4px; width: clamp(96px, 9vw, 132px); aspect-ratio: 4 / 5; padding: 12px; border-radius: 18px; font: 600 13px/1.15 var(--f); letter-spacing: -0.02em; color: #ffffff; flex: none; box-shadow: 0 16px 30px -18px rgba(10, 30, 20, .6) }
.tile small { font: 500 8.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .75 }
.tile.t0 { background: linear-gradient(160deg, #2e8a57, #0f3d26) } .tile.t1 { background: linear-gradient(160deg, #a7d9b3, #3f8f61); color: #0b2516 } .tile.t2 { background: linear-gradient(160deg, #1c2f24, #0a140e) }
.start { display: grid; justify-items: center; gap: 28px; padding: clamp(60px, 9vw, 110px) 22px; text-align: center }
.giant { font-size: clamp(46px, 8vw, 120px); letter-spacing: -0.065em }
.start .panel { width: min(720px, 100%); text-align: left }
.samples { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; color: var(--muted); font-size: 14px }
.samples span { margin-right: 4px }
.scenes { display: grid; gap: 0; padding: 0 clamp(10px, 1.6vw, 22px) }
.scene { position: sticky; top: 60px; min-height: min(84vh, 760px); display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; padding: 70px 24px 150px;
  border-radius: 34px; color: #ffffff; overflow: hidden; margin-bottom: 18px; box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .5) }
.scene h2 { font-size: clamp(56px, 10vw, 150px); letter-spacing: -0.07em; position: relative }
.scene p { max-width: 40ch; font: 400 12px/1.75 var(--mono); letter-spacing: .02em; text-transform: uppercase; opacity: .88; position: relative }
.scene .strip { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0 16px }
.scene .strip .tile { width: clamp(84px, 8vw, 110px) }
.scene::before { content: ""; position: absolute; width: 70vmin; aspect-ratio: 1; border-radius: 50%; right: -18vmin; top: -22vmin; background: rgba(255, 255, 255, .06) }
.scene::after { content: ""; position: absolute; width: 46vmin; aspect-ratio: 1; border-radius: 50%; left: -12vmin; bottom: -16vmin; background: rgba(255, 255, 255, .05) }
.scene.s1 { background: radial-gradient(120% 90% at 30% 20%, #2f8f5b, #0f3d26 70%) }
.scene.s2 { background: radial-gradient(120% 90% at 70% 30%, #4c7f5f, #1a2d22 72%) }
.scene.s3 { background: radial-gradient(120% 90% at 50% 10%, #22382b, #070d09 75%) }

/* sign-up steps (after the landing) */
.onboard { max-width: 820px; margin: 4vh auto 0; display: grid; gap: 26px }
.onboard.hero { text-align: center; justify-items: center }
.onboard h1 { font-size: clamp(46px, 8vw, 104px) }
.onboard .lead { font-size: 18px; color: var(--ink-2); max-width: 54ch }
.onboard.hero .panel { width: 100%; text-align: left }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 16px; min-width: 0 }
.field { display: grid; gap: 8px }
.field > label, .field > span { font-size: 14px; font-weight: 600; color: var(--ink) }
.field small { color: var(--muted); font-size: 13px }
.urlrow { display: flex; gap: 10px; flex-wrap: wrap }
.urlrow input { flex: 1 1 280px; font-size: 17px; padding: 15px 18px }
.steps { display: grid; gap: 12px; width: 100%; text-align: left }
.steps div { display: flex; gap: 10px; align-items: center; color: var(--muted) }
.steps div.on { color: var(--ink) }
.steps div.done { color: var(--yes) }
.steps i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; flex: none }
.steps div.on i { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite }
.steps div.done i { background: currentColor }
@keyframes spin { to { transform: rotate(360deg) } }
.sector { display: grid; gap: 10px; padding: 30px; border-radius: 30px; background: var(--field); color: #f2f7f3; text-align: left; position: relative; overflow: hidden }
.sector::after { content: ""; position: absolute; width: 220px; aspect-ratio: 1; border-radius: 50%; right: -60px; top: -80px; background: var(--leaf); opacity: .9 }
.sector .eyebrow { color: #9fbfab; position: relative; z-index: 1 }
.sector h2 { font-size: clamp(34px, 5vw, 56px); color: #ffffff; position: relative; z-index: 1; max-width: 14ch }
.sector p { color: #c8dacd; position: relative; z-index: 1; max-width: 60ch }
.sector .quote-mini { color: #a9c6b3; border-left-color: rgba(255, 255, 255, .25); position: relative; z-index: 1 }
.acts { display: flex; flex-wrap: wrap; gap: 8px }
.act { border: 1.5px solid var(--line-2); background: var(--surface); border-radius: 99px; padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--ink-2) }
.act:hover { border-color: var(--ink) }
.act[aria-pressed="true"] { border-color: var(--ink); color: var(--bg); background: var(--ink) }
.act[aria-pressed="true"] .q { color: var(--leaf) }
.act .q { color: var(--muted) }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px }
.toggle { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer }
.toggle input { margin-top: 3px; accent-color: var(--accent) }
.quote-mini { font-size: 14px; color: var(--muted); border-left: 2px solid var(--line-2); padding-left: 10px }
.how, .proof, .dots { display: none }

/* deck */
.deckwrap { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 44px; align-items: start; justify-content: center }
.stack { position: relative; height: 580px; touch-action: pan-y }
.card { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); user-select: none; cursor: grab; will-change: transform; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .3s; overflow: hidden }
.card:active { cursor: grabbing }
.card.behind { pointer-events: none }
.card.dragging { transition: none }
.card .top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap }
.card h2 { font-size: 40px; letter-spacing: -0.055em; line-height: .98 }
.card .where { color: var(--muted); font-size: 14px; margin-top: 8px; letter-spacing: 0 }
.card .headline { font-size: 20px; line-height: 1.35; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden }
.card .headline::before { content: "“" } .card .headline::after { content: "”" }
.why { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none }
.why li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); align-items: flex-start; letter-spacing: 0 }
.why li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--accent); flex: none }
.why li.signal::before { background: var(--ink) } .why li.size::before { background: var(--leaf) } .why li.trust::before { background: var(--line-2) }
.card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; letter-spacing: 0 }
.card .more { border: 0; background: none; color: var(--ink); font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 4px }
.stamp { position: absolute; top: 28px; padding: 6px 16px; border-radius: 99px; font: 700 16px var(--f); letter-spacing: .06em; opacity: 0; pointer-events: none; transform: rotate(-10deg); color: #ffffff }
.stamp.yes { left: 22px; background: var(--accent) } .stamp.no { right: 22px; background: var(--no); transform: rotate(10deg) }
.actions { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 22px }
.round { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--bg-2); display: grid; place-items: center; cursor: pointer; transition: transform .2s cubic-bezier(.2, .9, .3, 1.4), background .15s }
.round svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round }
.round.no { color: var(--no) } .round.no:hover { background: var(--no-soft) }
.round.yes { width: 84px; height: 84px; color: var(--field); background: var(--leaf) } .round.yes:hover { transform: scale(1.06) }
.round.undo { width: 46px; height: 46px; color: var(--muted) } .round.undo svg { width: 20px; height: 20px }
.round:active { transform: scale(.94) }
.round:disabled { opacity: .45; cursor: default }
.keys { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 12px }
.keys kbd { font: 600 11px var(--f); padding: 2px 7px; border-radius: 6px; background: var(--bg-2) }
.side { display: grid; gap: 16px }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px }
.stat { padding: 18px; border-radius: 22px; background: var(--bg-2) }
.stat:first-child { background: var(--field); color: #ffffff }
.stat:first-child span { color: #a9c6b3 }
.stat b { display: block; font: 600 44px/1 var(--f); letter-spacing: -0.06em; font-variant-numeric: tabular-nums }
.stat span { color: var(--muted); font-size: 13px }
.upnext { display: grid; gap: 6px }
.upnext div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--bg-2); font-size: 14px; color: var(--ink-2) }
.upnext div span:last-child { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.empty { display: grid; place-items: center; text-align: center; gap: 12px; padding: 60px 24px; border-radius: 30px; background: var(--bg-2); color: var(--muted); height: 100% }
.empty h2 { color: var(--ink); font-size: 40px }

/* detail sheet */
.sheet { position: fixed; inset: 0; z-index: 40; display: grid; justify-items: end; background: rgba(5, 14, 9, .45); backdrop-filter: blur(4px) }
.sheet .body { width: min(580px, 100%); height: 100%; overflow-y: auto; background: var(--bg); padding: 28px max(26px, env(safe-area-inset-right, 0px)) 40px 28px; display: grid; gap: 22px; align-content: start; border-radius: 30px 0 0 30px; animation: slide .3s cubic-bezier(.2, .8, .2, 1) }
@keyframes slide { from { transform: translateX(60px); opacity: 0 } }
.sheet .close { justify-self: start }
.sheet h2 { font-size: 48px }
.sheet .quote { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.45; padding: 20px; border-radius: 20px; background: var(--bg-2) }
.kv { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 14px; font-size: 14px }
.kv dt { color: var(--muted) } .kv dd { margin: 0; overflow-wrap: anywhere }
.section { display: grid; gap: 10px }
.section h3 { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }

/* reach out */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--bg-2) }
.tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 99px; color: var(--ink-2); cursor: pointer; font-weight: 600 }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg) }
.leads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 16px }
.leadcard { display: grid; gap: 14px; padding: 24px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); min-width: 0; box-shadow: var(--shadow) }
.leadcard .top { display: flex; justify-content: space-between; gap: 10px; align-items: start }
.leadcard h3 { font-size: 28px; letter-spacing: -0.05em; line-height: 1 }
.leadcard .where { color: var(--muted); font-size: 13.5px; margin-top: 6px }
.leadcard .snip { color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.person { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 12px; align-items: center; padding: 16px; border-radius: 22px; background: var(--field); color: #f2f7f3 }
.avatar { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--field); background: var(--leaf) }
.avatar.unknown { background: transparent; color: #a9c6b3; border: 1.5px dashed rgba(255, 255, 255, .3) }
.person .name { font-weight: 600; font-size: 17px; letter-spacing: -0.02em }
.person .role { color: #a9c6b3; font-size: 13px }
.person .lines { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.person .note, .person a { color: #a9c6b3 }
.copy { display: inline-flex; gap: 6px; align-items: center; font: 500 12.5px var(--mono); padding: 7px 12px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .1); cursor: pointer; color: #ffffff; max-width: 100%; overflow-wrap: anywhere }
.copy:hover { background: var(--leaf); color: var(--field) }
.shimmer { height: 82px; border-radius: 22px; background: linear-gradient(90deg, var(--field), var(--field-2), var(--field)); background-size: 200% 100%; animation: sh 1.2s linear infinite; display: grid; place-items: center; color: #a9c6b3; font-size: 14px }
@keyframes sh { to { background-position: -200% 0 } }
.draft textarea { min-height: 150px; font-size: 14px }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center }
.row.end { justify-content: flex-end }
.note { color: var(--muted); font-size: 13px }

#toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; z-index: 50; padding: 12px 20px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; transition: .2s; pointer-events: none }
#toast.show { opacity: 1; transform: translate(-50%, 0) }

@media (max-width: 980px) { .deckwrap { grid-template-columns: minmax(0, 460px) } .side { order: 2 } }
@media (max-width: 760px) {
  .rail { position: fixed; inset: auto 0 0 0; top: auto; padding: 8px max(12px, env(safe-area-inset-left, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 94%, transparent) }
  .logo, .company { display: none }
  .nav { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 0 }
  .nav button { flex-direction: column; gap: 3px; font-size: 11.5px; padding: 7px; position: relative; border-radius: 16px }
  .nav button b { position: absolute; top: 1px; left: calc(50% + 8px); margin: 0; font-size: 10px; padding: 0 5px }
  main { padding: 22px max(16px, env(safe-area-inset-right, 0px)) 110px max(16px, env(safe-area-inset-left, 0px)) }
  main.bleed { padding: 0 0 100px }
  .land-hero { min-height: 74vh; border-radius: 0 0 26px 26px }
  .land-hero { flex-direction: column; gap: 28px }
  .orb.o1 { left: -14%; top: 34% } .orb.o2 { left: 34%; top: 40% } .orb.o3 { width: 132px }
  .land-hero .tag { bottom: 22px; padding: 0 20px; font-size: 13.5px }
  .scene { top: 12px; min-height: 76vh; border-radius: 26px }
  .stack { height: max(360px, calc(100dvh - 350px)) }
  .wrap > .head > p { display: none }
  .wrap > .head > p#b-count { display: block; font-size: 13.5px }   /* the jobs list keeps its count on phones */
  .card { padding: 20px; gap: 12px } .card h2 { font-size: 30px } .card .headline { font-size: 17px; -webkit-line-clamp: 4 }
  .actions { margin-top: 12px } .keys { display: none }
  .mobile-company { display: grid !important }
  #toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)) }
  /* Above any sticky action bar on screen, so a message never covers its Save button. */
  body:has(.gl-goals.dirty) #toast, body:has(.rlib .rvacts) #toast, body:has(#m-toast.show) #toast { bottom: calc(166px + env(safe-area-inset-bottom, 0px)) }
}
.mobile-company { display: none; gap: 8px }
@media (prefers-reduced-motion: reduce) { .card, .sheet .body, .steps div.on i, .shimmer, .orb { transition: none; animation: none } }

/* ---------- phone-first basics (most applicants are on a phone) ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent }
html, body { overflow-x: clip }                     /* nothing ever scrolls the page sideways */
body { overflow-wrap: break-word }                  /* long words, emails and links wrap instead of widening the page */
p, li, dd, dt, label, summary, figcaption, blockquote, td, th { overflow-wrap: anywhere }
img, video, canvas { max-width: 100%; height: auto }
button, a, input, select, textarea, label, summary { touch-action: manipulation }   /* no double-tap zoom delay */
input[type="search"] { -webkit-appearance: none; appearance: none }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none }
:focus:not(:focus-visible) { outline: none }
/* inputs at 16px or more so iOS never zooms the page when one is tapped */
input, select, textarea { font-size: max(16px, 1em) }
@media (pointer: coarse) { input, select, textarea { font-size: 16px !important } }
/* the job panel is full screen on phones: the page behind it stays still */
html.sheet-open, html.sheet-open body { overflow: hidden }
.sheet .body { overscroll-behavior: contain; -webkit-overflow-scrolling: touch }
/* toasts wrap on narrow screens and sit above the bottom bar */
#toast { width: max-content; max-width: min(560px, calc(100vw - 32px)); text-align: center; line-height: 1.35 }
@media (max-width: 760px) {
  #toast { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); border-radius: 16px; padding: 12px 16px; font-size: 15px }
  html.sheet-open #toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)) }
}
