/* goodforfree install page — Figma "Variation 2" (1440 desktop frame).
   Named outside the 0*.css glob: styles.css stays the stylesheet of privacy.html and terms.html. */
:root {
  --ink: #171f23;
  --ink-2: #4b5563;
  --on-dark: #fff;
  --on-dark-2: #e3e6f0;
  --feed-ink: #f3f4f7;
  --feed-ink-2: #bec0c6;
  --action: #087f5b;
  --canvas: #fff;
  --subtle: #f4f5f7;
  --mint: #ddf5ed;
  --mint-card: #eaf8f2;
  --line: #e7e9ee;
  --feed: #14161c;
  --feed-card: #1f222a;
  --feed-line: #2b2e35;
  --flow-node: #383c46;
  --sample: #f9d344;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-card: 0 4px 16px rgba(15, 18, 26, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--ink); font: 500 16px/24px var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
ul, ol { list-style: none; }
hr { border: 0; height: 1px; background: var(--line); width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; }
:focus-visible { outline: 3px solid #2fcf86; outline-offset: 2px; }

.wrap { width: min(1216px, 100% - 2 * clamp(16px, 7.78vw, 112px)); margin-inline: auto; }
.section { padding-top: 128px; }
.anchor { position: absolute; }

.head { display: flex; flex-direction: column; gap: 8px; }
.head--center { align-items: center; text-align: center; padding-inline: 16px; }
.head h2 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1667; letter-spacing: -.01em; }
.head p { font-size: 18px; line-height: 28px; color: var(--ink-2); }
.head--dark h2 { color: var(--on-dark); }
.head--dark p { color: var(--feed-ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font: 700 17px/24px var(--sans); white-space: nowrap; }
.btn--l { height: 56px; padding-inline: 32px; }
.btn--s { height: 48px; padding-inline: 24px; }
.btn--primary { background: var(--action); color: var(--on-dark); }
.btn--light { background: var(--canvas); color: var(--ink); }
.btn img { width: 20px; height: 20px; }
.btn:hover { filter: brightness(.94); }

.chip { display: inline-flex; align-items: center; border-radius: 999px; padding-inline: 16px; font: 600 14px/24px var(--sans); white-space: nowrap; }
.chip--sample { background: var(--sample); color: var(--ink); }
.chip--dark { background: var(--feed); color: var(--on-dark); }
.chip--line { background: var(--canvas); border: 1px solid var(--line); }

.logo { display: inline-flex; align-items: center; gap: 8px; font: 800 20px/24px var(--sans); letter-spacing: -.01em; color: #2fcf86; white-space: nowrap; }
.logo img { width: 30px; height: 29px; object-fit: contain; }
.logo b, .wordmark b { font-weight: inherit; }
.c-for { color: #5ab4ea; }
.c-free { color: #f5c84b; }

/* Scales a fixed-size design composition down to the width available. */
.fit { width: 100%; overflow: hidden; }
.fit > * { transform-origin: 0 0; }

/* ---------- navbar: floating pill ---------- */
.nav { position: fixed; z-index: 20; top: 40px; left: 50%; transform: translateX(-50%); width: max-content; display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 24px; background: var(--feed); border: 1px solid var(--feed-line); border-radius: 999px; box-shadow: var(--shadow-card); white-space: nowrap; }
.nav__links { display: flex; gap: 8px; }
.nav__links a { padding: 8px 16px; border-radius: 999px; font: 600 14px/24px var(--sans); color: var(--feed-ink-2); }
.nav__links a:hover { color: var(--on-dark); }

/* ---------- hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 16px 16px 0; }
.hero__panel { position: relative; isolation: isolate; width: 100%; max-width: 1408px; height: auto; border-radius: 32px; overflow: hidden; background: #3a3d47; }
.hero__photo { position: absolute; z-index: -1; left: -25%; top: 0; width: 150%; height: 120.57%; max-width: none; object-fit: cover; }
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 144px 16px 0; text-align: center; color: var(--on-dark); }
.hero__copy h1 { max-width: 832px; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.1111; letter-spacing: -.01em; }
.hero__copy p { margin-top: -16px; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.layout-switch { display: flex; gap: 8px; padding: 8px; background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-card); color: var(--ink); }
.layout-tab { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 999px; }
.layout-tab i { width: 24px; height: 24px; display: grid; place-items: center; }
.layout-tab i img { width: 20px; }
.layout-tab span { display: none; font: 600 14px/24px var(--sans); }
.layout-tab[aria-pressed="true"] { background: var(--subtle); padding-right: 16px; }
.layout-tab[aria-pressed="true"] span { display: inline; }

/* The stage is the design's lower 1408 x 608 of the panel: browser window plus callouts. */
.hero__fit { margin-top: 30px; }
.hero__stage { position: relative; width: 1408px; height: 608px; }
.browser { position: absolute; left: 96px; top: 0; width: 1216px; height: 848px; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #202124; box-shadow: 0 24px 64px rgba(8, 10, 18, .36); color: #e8eaed; font: 500 14px/24px var(--sans); }
.browser__tabs { height: 40px; display: flex; align-items: flex-end; gap: 8px; padding: 8px 16px 0; }
.browser__tabs > img { align-self: center; }
.browser__tab { width: 240px; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; background: #35363a; border-radius: 8px 8px 0 0; }
.browser__tab span { flex: 1; }
.browser__bar { height: 48px; display: flex; align-items: center; gap: 16px; padding-inline: 16px; background: #35363a; }
.browser__omni { flex: 1; height: 32px; display: flex; align-items: center; gap: 8px; padding-inline: 16px; border-radius: 999px; background: #202124; }
.browser__me { width: 24px; height: 24px; border-radius: 999px; background: #9aa0a6; }
.browser__screen { position: relative; flex: 1; background: var(--feed); }
.browser__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.browser__shot.is-on { opacity: 1; }

.leader { position: absolute; max-width: none; pointer-events: none; }
.leader--u1 { left: 242.5px; top: 349.5px; } .leader--l1 { left: 244px; top: 351px; } .leader--d1 { left: 295px; top: 483px; }
.leader--u2 { left: 928px; top: 222.5px; } .leader--l2 { left: 929px; top: 223.5px; } .leader--d2 { left: 922px; top: 448px; }
.leader--u3 { left: 1066.5px; top: 365.5px; } .leader--l3 { left: 1068px; top: 367px; } .leader--d3 { left: 1061px; top: 460px; }
.callout { position: absolute; display: flex; align-items: center; gap: 16px; padding: 16px 24px 16px 16px; border-radius: 16px; background: var(--canvas); filter: drop-shadow(0 8px 12px rgba(8, 10, 18, .24)); white-space: nowrap; font: 700 16px/24px var(--sans); color: var(--ink); }
.callout b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; background: var(--action); color: var(--on-dark); }
.callout--c1 { left: 56px; top: 288px; }
.callout--c2 { left: 970px; top: 160px; }
.callout--c3 { left: 1051px; top: 304px; }
.hero__stage:not([data-view="full"]) .callout, .hero__stage:not([data-view="full"]) .leader { display: none; }

.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.facts li { display: flex; align-items: center; gap: 8px; font: 600 14px/24px var(--sans); color: var(--ink-2); }
.facts img { width: 20px; height: 20px; padding: 1.5px; }

/* ---------- scroll-pinned sections ---------- */
.pin__box { position: relative; }
.is-pinned .pin { height: calc(var(--box, 700px) + 120vh); }
.is-pinned .pin__box { position: sticky; }
.how.is-pinned .pin__box { top: min(152px, calc(100vh - var(--box, 620px))); }
.yours.is-pinned .pin__box { top: min(120px, calc(100vh - var(--box, 756px))); }

/* ---------- how it works ---------- */
.how .pin__box { display: flex; flex-direction: column; gap: 64px; }
.how__row { display: flex; align-items: center; gap: 64px; }
.steps { position: relative; flex: 0 0 448px; display: flex; flex-direction: column; gap: 40px; }
.rail { position: absolute; left: 15px; top: 16px; width: 2px; height: 268px; background: var(--line); }
.rail i { display: block; width: 2px; height: 50%; background: var(--action); transition: height .25s; }
.step { position: relative; min-height: 94px; }
.step button { display: flex; gap: 16px; width: 100%; align-items: flex-start; }
.step__marker { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 16px; background: var(--canvas); border: 1px solid var(--line); color: var(--ink-2); font: 600 14px/24px var(--sans); }
.step__marker img { display: none; width: 13px; }
.step.is-done .step__marker { background: var(--action); border-color: var(--action); }
.step.is-done .step__marker img { display: block; }
.step.is-done .step__marker b { display: none; }
.step.is-active .step__marker { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.step__marker b { font-weight: 600; }
.step__body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.step__body strong { font: 600 20px/28px var(--serif); }
.step__body > span { color: var(--ink-2); }
.step__progress { width: 240px; height: 2px; border-radius: 1px; }
.step__progress i { display: block; width: 0; height: 2px; background: var(--action); }
.step.is-active .step__progress { background: var(--line); }
.step.is-active .step__progress i { width: calc(var(--fill, .6) * 100%); }
.step:not(.is-active) .step__progress { visibility: hidden; }
.how__picture { flex: 1; min-width: 0; padding: 32px; border-radius: 24px; background: var(--subtle); }
.how__slot { position: relative; width: 100%; aspect-ratio: 640 / 400; }
.how__shot { position: absolute; max-width: none; opacity: 0; transition: opacity .3s; }
.how__shot.is-on { opacity: 1; }
.how__shot--tab { inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-card); }
.how__shot--topics { left: -2.5%; top: -4%; width: 105%; height: 108%; }
.how__shot--impact { left: 18.75%; top: -4%; width: 62.5%; height: 108%; }

/* ---------- make it yours ---------- */
.yours__row { display: flex; align-items: center; gap: 64px; }
.panel { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px; background: var(--subtle); border: 1px solid var(--line); border-radius: 24px; }
.panel__tabs { display: flex; gap: 8px; padding: 8px; background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; }
.panel__tabs button { padding: 8px 16px; border-radius: 999px; font: 600 14px/24px var(--sans); color: var(--ink-2); white-space: nowrap; }
.panel__tabs button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.panel__stage { position: relative; width: 100%; aspect-ratio: 672 / 612; }
.panel__view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.panel__view.is-on { opacity: 1; visibility: visible; }
.panel__ui { position: absolute; left: 8.333%; top: -2.614%; width: 83.333%; height: 105.23%; max-width: none; }
.compare { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 16px; background: var(--feed); }
.compare__img { position: absolute; left: 0; top: 0; width: 100%; max-width: none; }
.compare__light { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--canvas); }
.compare__handle { position: absolute; top: 50%; left: var(--pos); width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; border-radius: 20px; background: var(--canvas); box-shadow: var(--shadow-card); }
.compare__handle img { width: 15px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:focus-within .compare__handle { outline: 3px solid #2fcf86; }
.panel__labels { display: flex; justify-content: space-between; width: 100%; min-height: 24px; }
.panel__hint { display: none; font: 500 14px/24px var(--sans); color: var(--ink-2); }
.panel:not([data-view="1"]) .panel__labels .chip { display: none; }
.panel:not([data-view="1"]) .panel__hint { display: block; }
.yours__text { flex: 0 0 448px; display: flex; flex-direction: column; gap: 40px; }
.row button { display: flex; align-items: stretch; gap: 24px; width: 100%; }
.row__bar { position: relative; flex: 0 0 2px; background: var(--line); overflow: hidden; }
.row__bar i { position: absolute; left: 0; top: 0; width: 2px; height: calc(var(--fill, 0) * 100%); }
.row.is-active .row__bar i { background: var(--action); height: calc(var(--fill, .6) * 100%); }
.row__body { display: flex; flex-direction: column; gap: 8px; padding-block: 16px; }
.row__body b { font: 600 14px/24px var(--sans); color: var(--ink-2); }
.row.is-active .row__body b { color: var(--action); }
.row__body strong { font-weight: 700; }
.row__body > span { color: var(--ink-2); }

/* ---------- write to the founder ---------- */
.founder { display: flex; justify-content: center; text-align: center; }
.founder__text { margin-inline: auto; max-width: 640px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.avatar { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 20px; background: var(--mint); }
.avatar img { width: 24px; height: 24px; object-fit: contain; }
.who { display: flex; flex-direction: column; min-width: 0; }
.who strong { font-weight: 700; }
.who span { font-size: 14px; color: var(--ink-2); }

/* ---------- where the money goes ---------- */
.money { position: relative; padding: 128px 16px 0; }
.money__panel { max-width: 1408px; margin-inline: auto; display: flex; flex-direction: column; gap: 64px; padding: clamp(24px, 6.67vw, 96px); background: var(--feed); border-radius: 32px; color: var(--feed-ink); }
.money__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.money__cards { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; }
.card { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding: 32px; background: var(--feed-card); border-radius: 24px; }
.flow__title { display: flex; flex-direction: column; gap: 8px; }
.flow__title strong { font-weight: 700; }
.flow { position: relative; width: 532px; height: 232px; font-size: 14px; }
.node { position: absolute; width: 128px; display: flex; flex-direction: column; padding: 16px; border-radius: 12px; background: var(--flow-node); }
.node strong { font-weight: 600; }
.node span { color: var(--feed-ink-2); }
.node--ads { left: 0; top: 56px; height: 120px; }
.node--gf { left: 202px; top: 56px; height: 120px; }
.node--aid { left: 404px; top: 0; height: 112px; background: var(--action); color: var(--on-dark); }
.node--aid span { color: var(--on-dark); }
.node--run { left: 404px; top: 136px; height: 96px; }
.arrow { position: absolute; max-width: none; }
.arrow--pay { left: 135px; top: 108.6px; }
.arrow--aid { left: 337px; top: 48.6px; }
.arrow--run { left: 337px; top: 115px; }
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.photos figure { display: flex; flex-direction: column; gap: 16px; }
.photos img { width: 100%; height: auto; aspect-ratio: 596 / 372; object-fit: cover; border-radius: 16px; }
.photos figcaption { display: flex; flex-direction: column; }
.photos figcaption strong { font-weight: 700; }
.photos figcaption span { font-size: 14px; color: var(--feed-ink-2); }

/* ---------- questions ---------- */
.faq { display: flex; align-items: flex-start; gap: 64px; }
.faq__intro { flex: 0 0 384px; display: flex; flex-direction: column; gap: 32px; }
.still { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; background: var(--subtle); border-radius: 24px; }
.still .btn { width: 241px; }
.faq__list { flex: 1; min-width: 0; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); padding-block: 24px; }
.qa__q { display: flex; align-items: center; gap: 16px; width: 100%; }
.qa__q b { flex: 0 0 32px; font: 600 14px/24px var(--sans); color: var(--ink-2); }
.qa__q span { flex: 1; font: 600 20px/28px var(--serif); }
.qa__q i { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 16px; }
.qa__q i img { width: 11px; }
.qa__q .minus, .qa.is-open .qa__q .plus { display: none; }
.qa.is-open .qa__q .minus { display: block; }
.qa.is-open .qa__q i { background: var(--subtle); }
.qa__a { display: none; padding: 16px 48px 0; color: var(--ink-2); }
.qa.is-open .qa__a { display: block; }

/* ---------- closing panel and footer ---------- */
.closing { padding: 128px 16px 16px; }
.closing__panel { position: relative; isolation: isolate; max-width: 1408px; min-height: 960px; margin-inline: auto; overflow: hidden; border-radius: 32px; background: #2c2f3c; }
.closing__photo { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing__cta { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 128px 16px 0; text-align: center; color: var(--on-dark); }
.closing__cta h2 { max-width: 720px; font-size: clamp(38px, 5.4vw, 56px); line-height: 1.143; letter-spacing: -.01em; }
.closing__lede { margin-top: -16px; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--on-dark-2); }
.closing__note { font-size: 14px; color: var(--on-dark-2); }
.closing__note a { color: inherit; }
.closing__note a:hover { text-decoration: underline; }
.foot { position: absolute; top: 562px; left: clamp(24px, 6.67vw, 96px); right: clamp(24px, 6.67vw, 96px); display: flex; flex-direction: column; gap: 24px; font-size: 14px; color: var(--on-dark-2); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-weight: 600; color: var(--on-dark); }
.foot nav a:hover { text-decoration: underline; }
.wordmark { position: absolute; left: 50%; bottom: -74px; transform: translateX(-50%); font: 800 min(248px, 17.6vw)/1 var(--sans); letter-spacing: -.04em; color: #2fcf86; white-space: nowrap; filter: blur(8px); user-select: none; pointer-events: none; }

/* ---------- narrower than the 1440 frame ---------- */
@media (max-width: 1279px) {
  .how__row, .yours__row, .founder { gap: 40px; }
  .steps, .yours__text { flex-basis: 360px; }
  .faq__intro { flex-basis: 300px; }
  .still .btn { width: auto; }
}
@media (max-width: 1099px) {
  .how__row, .founder, .faq { flex-direction: column; align-items: stretch; }
  .yours__row { flex-direction: column-reverse; align-items: stretch; }
  .steps, .yours__text, .faq__intro { flex: none; }
  .how__picture, .panel, .founder__text, .faq__list { flex: none; }
  .panel { width: 100%; max-width: 704px; margin-inline: auto; }
  .money__cards { grid-template-columns: minmax(0, 1fr); }
  .section { padding-top: 96px; }
  .money, .closing { padding-top: 96px; }
}
@media (max-width: 999px) {
  .nav { left: 24px; right: 24px; width: auto; transform: none; justify-content: space-between; padding-left: 16px; }
  .nav__links { display: none; }
  .hero__copy { padding-top: 120px; }
}
@media (max-width: 599px) {
  .nav { left: 20px; right: 20px; gap: 8px; }
  .nav .logo span { display: none; }
  .nav .btn { padding-inline: 16px; font-size: 15px; }
  .hero { padding-inline: 8px; }
  .hero__panel, .closing__panel, .money__panel { border-radius: 24px; }
  .hero__copy { padding-top: 112px; }
  .photos { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 20px; }
  .how__picture { padding: 12px; }
  .panel { padding: 8px; }
  .panel__tabs { gap: 2px; padding: 4px; }
  .panel__tabs button { padding-inline: 12px; }
  .qa__a { padding-inline: 0; }
  .money { padding-inline: 8px; }
  .closing { padding-inline: 8px; padding-bottom: 8px; }
  .closing__panel { display: flex; flex-direction: column; min-height: 0; padding-bottom: 72px; }
  .closing__cta { padding-top: 72px; }
  .foot { position: static; margin: 96px 24px 0; }
  .wordmark { bottom: -12px; filter: blur(3px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
