/* Foops website. Loud outside, quiet inside: bold blocks and sticker
   shadows for marketing, hairlines for anything that shows the product. */

@font-face { font-family: "Climate Crisis"; src: url("/fonts/climate-crisis.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --green: #00C46A;       /* pass green, the lead */
  --green-deep: #00894A;  /* green on white: ticks, bars */
  --ink: #121212;
  --paper: #F1F2EC;
  --white: #FFFFFF;
  --amber: #FFB020;
  --blue: #2E5BFF;
  --muted: #5C5F57;
  --line: #DCDDD6;
  --display: "Climate Crisis", system-ui, sans-serif;  /* logo and headlines of three words or fewer */
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 10; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 3px solid var(--ink); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; padding: 6px 0; }
.logo img { height: 28px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; font-weight: 600; }
.nav a:not(.btn) { text-decoration: none; padding: 12px 0; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons: pills with a hard sticker shadow */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 3px solid var(--ink); border-radius: 999px; font: 700 1rem/1 var(--text); text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s ease-out, box-shadow .12s ease-out; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }
.btn-green { background: var(--green); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 18px; }

/* Type */
.display { margin: 0; font-family: var(--display); font-weight: 400; line-height: .92; letter-spacing: -.02em; }
.kicker { margin: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.lede { margin: 0; max-width: 34em; font-size: 1.1875rem; line-height: 1.45; font-weight: 500; }
@media (min-width: 640px) { .lede { font-size: 1.3125rem; } }

/* Hero */
.hero { background: var(--green); border-bottom: 3px solid var(--ink); }
.hero .wrap { display: grid; gap: 44px; align-items: center; padding-top: 52px; padding-bottom: 64px; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.1fr 1fr; padding-top: 84px; padding-bottom: 92px; } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 { font-size: clamp(2.75rem, 10.5vw, 6.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Product preview: the quiet, inside style */
.panel { width: 100%; max-width: 520px; margin: 0; background: var(--white); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 960px) { .panel { justify-self: end; padding: 20px; box-shadow: 10px 10px 0 var(--ink); } }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.panel-head strong { font-size: 1.3rem; }
.tag { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.progress-label { display: flex; justify-content: space-between; font-size: .9375rem; }
.progress-label span:last-child { color: var(--muted); }
.bar { height: 6px; border-radius: 999px; background: #E6E7E0; overflow: hidden; }
.bar span { display: block; height: 100%; width: 87%; background: var(--green-deep); }
.rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: .9375rem; }
.rows li + li { border-top: 1px solid #ECEDE7; }
.rows .item { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.rows .time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tick { width: 18px; height: 18px; flex: none; }
.dot { width: 8px; height: 8px; margin: 0 5px; border-radius: 50%; background: var(--amber); flex: none; }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.section h2.display { font-size: clamp(1.75rem, 9vw, 4rem); }

.features { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { background: var(--white); border: 3px solid var(--ink); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 1.75rem; }
.feature p { margin: 0; }

.sites { background: var(--ink); color: var(--paper); }
.sites .wrap { display: grid; gap: 36px; }
@media (min-width: 960px) { .sites .wrap { grid-template-columns: 1fr 1fr; align-items: start; } }
.sites h2 { color: var(--green); }
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.points li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.125rem; }
.points .tick { width: 24px; height: 24px; margin-top: 2px; }
.points strong { display: block; }

/* AI section: loud copy beside a quiet product example */
.ai { background: var(--white); border-top: 3px solid var(--ink); }
.ai .wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .ai .wrap { grid-template-columns: 1.15fr 1fr; align-items: center; } }
.ai-points { display: grid; gap: 22px; }
.ai-points article { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 3px solid var(--green); }
.ai-points h3 { font-size: 1.5rem; }
.ai-points p { margin: 0; }
.chat { margin: 0; width: 100%; max-width: 480px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 960px) { .chat { justify-self: end; } }
.bubble { margin: 0; max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .9375rem; line-height: 1.45; }
.bubble p { margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.bubble p + p { margin-top: 6px; }
.bubble .tick { margin-top: 2px; }
.bubble-you { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.bubble-foops { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }

/* Brand service */
.brand { border-top: 3px solid var(--ink); }

/* Demo form */
.demo { border-top: 3px solid var(--ink); }
.demo .wrap { display: grid; gap: 36px; }
@media (min-width: 960px) { .demo .wrap { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.form { background: var(--white); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--ink); padding: 24px; display: grid; gap: 18px; }
@media (min-width: 640px) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 32px; } .field-wide, .form .btn, .form .small { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--text); }
.field textarea { min-height: 110px; resize: vertical; }
.form .btn { justify-self: start; }
.small { margin: 0; font-size: .9375rem; color: var(--muted); }
.small a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Plain pages: privacy, thanks, errors */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1.display { font-size: clamp(2.5rem, 9vw, 4.5rem); margin-bottom: 24px; }
.page h2 { margin: 36px 0 8px; font-size: 1.25rem; }
.page p, .page li { max-width: 40em; }
.draft { margin: 0 0 24px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--amber); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 40px 0 48px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer img { height: 26px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { text-decoration: none; padding: 8px 0; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { flex-basis: 100%; margin: 0; font-size: .875rem; color: #BFC1B8; }
