/* poqui.app — Field Guide (docs/design/design-system.md · fg3.css), web edition.
   Flat cream paper with a dot grid, warm umber ink, orange and teal, rounded cards,
   one hard shadow on the things you press. Fraunces titles · Inter body · JetBrains
   Mono for small metadata only. Static, no build step. */

/* ---------- tokens (verbatim from fg3.css) ---------- */
:root {
  --paper: #F6F1E7; --paper-2: #FFFCF6; --ink: #3A2A1E; --ink-soft: #6B5A4A;
  --hairline: #D9CDBB; --orange: #E4572E; --teal: #1E6F6B; --sand: #E8D8B8;
  --sky: #CFE3E6; --ok: #2E8B57; --warn: #D98E04;

  --display: "Fraunces", "New York", Georgia, serif;
  --sans: "Inter", "SF Pro", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --r-card: 20px; --r-tile: 16px; --r-stamp: 4px;
  --shadow-hard: 3px 3px 0 var(--ink);
  --pad: 24px;
  --measure: 720px;  /* text pages */
  --wide: 1040px;    /* the landing */
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; position: relative;
  color: var(--ink); background: var(--paper);
  font: 400 17px/25px var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision;
}
/* the paper: dots r .8 on a 12 px pitch (ink 10 %) + a 60 px hairline grid (ink 6 %) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Ccircle cx='6' cy='6' r='0.8' fill='%233A2A1E' fill-opacity='0.10'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 .5H60M.5 0V60' stroke='%233A2A1E' stroke-opacity='0.06' fill='none'/%3E%3C/svg%3E");
  background-position: 0 0, 6px 6px;
}
.wrap { position: relative; z-index: 1; max-width: var(--measure); margin: 0 auto; padding: 0 var(--pad); }
.wrap.wide { max-width: var(--wide); }
svg { display: block; }
img { max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sand); }
strong, b { font-weight: 600; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 600; font-variation-settings: "SOFT" 100;
  margin: 0; color: var(--ink); text-wrap: balance;
}
h1 { font-size: 34px; line-height: 40px; letter-spacing: -.2px; }
h2 { font-size: 26px; line-height: 32px; letter-spacing: -.1px; }
h3 { font-size: 20px; line-height: 26px; }
p, ul, ol { margin: 0 0 16px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 8px; }
li::marker { color: var(--ink-soft); }
.eyebrow { font: 500 14px/20px var(--sans); color: var(--ink-soft); margin: 0 0 12px; }
.soft { color: var(--ink-soft); }
.meta { font: 500 12px/16px var(--mono); letter-spacing: .02em; color: var(--ink-soft); }
.t-mono { font: 500 12px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.accent { color: var(--orange); font-style: italic; }
.lede { font-size: 20px; line-height: 30px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 72px;
}
.wordmark {
  font: 600 26px/32px var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.1px;
  color: var(--ink); text-decoration: none;
}
.wordmark:hover { color: var(--orange); }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 20px;
  font: 500 15px/20px var(--sans); color: var(--ink-soft); text-decoration: none;
}
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--sand); }

/* ---------- footer ---------- */
.site-foot {
  margin-top: 64px; padding: 24px 0 40px; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  font: 500 14px/20px var(--sans); color: var(--ink-soft);
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-foot a { color: var(--ink-soft); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .colophon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.site-foot .colophon .wordmark { font-size: 20px; line-height: 26px; }

/* ---------- surfaces ---------- */
.card { background: var(--paper-2); border: 1px solid var(--hairline); border-radius: var(--r-card); position: relative; }
.card.lift { border-color: var(--ink); box-shadow: var(--shadow-hard); }
.tile { background: var(--paper-2); border: 1px solid var(--hairline); border-radius: var(--r-tile); position: relative; }
.tile.sand { background: var(--sand); border-color: transparent; }
.tile.sky { background: var(--sky); border-color: transparent; }
.notice {
  background: var(--sand); border-radius: var(--r-tile); padding: 16px 20px; margin: 0 0 24px;
  font: 400 17px/25px var(--sans);
}
.notice p:last-child { margin-bottom: 0; }

/* ---------- buttons (pills) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 22px; border-radius: 26px;
  border: 1px solid var(--hairline); background: var(--paper-2); color: var(--ink);
  font: 600 17px/22px var(--sans); text-decoration: none; white-space: nowrap;
}
.btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: var(--shadow-hard); }
.btn.primary:hover { color: var(--paper); transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn.sm { height: 40px; padding: 0 16px; border-radius: 20px; font-size: 15px; line-height: 20px; }

/* ---------- stamps + tags ---------- */
.stamp {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border: 1.5px solid var(--orange); border-radius: var(--r-stamp); color: var(--orange);
  font: 600 11px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  transform: rotate(-6deg); white-space: nowrap;
}
.stamp.teal { border-color: var(--teal); color: var(--teal); }
.stamp.flat { transform: none; }
a.stamp { text-decoration: none; }
.stamp.lg { display: inline-block; height: auto; min-height: 30px; padding: 5px 12px; font-size: 12px; line-height: 16px; border-width: 2px; white-space: normal; text-align: center; }
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 11px;
  background: var(--teal); color: var(--paper); font: 600 12px/16px var(--sans); letter-spacing: .02em;
}
.tag.sand { background: var(--sand); color: var(--ink); }
.tag.orange { background: var(--orange); }

/* ---------- landing: hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
  padding: 24px 0 8px; position: relative;
}
.hero-visual { position: relative; display: flex; justify-content: center; padding: 32px 0 24px; }
.hero-visual .route {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.compass {
  width: 184px; height: 184px; border-radius: 50%; background: var(--paper-2);
  box-shadow: var(--shadow-hard); position: relative; flex: none;
}
.compass svg { width: 100%; height: 100%; }
.compass-label {
  position: absolute; left: 50%; bottom: -4px; transform: translate(-50%, 100%);
  font: 500 14px/20px var(--sans); color: var(--ink-soft); white-space: nowrap;
}
.hero-copy h1 { font-size: 40px; line-height: 46px; letter-spacing: -.3px; margin-bottom: 16px; }
.hero-copy .lede { margin-bottom: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 20px; }
.hero-contact { font: 500 15px/22px var(--sans); color: var(--ink-soft); margin: 0; }
.hero-contact a { font-weight: 600; }

/* the sample story — a quote card with a mono meta line */
.quote { padding: 20px 22px 16px; margin: 8px 0 0; }
.quote p {
  font: italic 600 20px/29px var(--display); font-variation-settings: "SOFT" 100;
  margin: 0 0 10px; text-wrap: pretty;
}
.quote .meta { display: flex; flex-wrap: wrap; gap: 0 8px; text-transform: uppercase; letter-spacing: .06em; }
.quote .meta .v { color: var(--teal); }

/* ---------- landing: sections ---------- */
.section { padding: 40px 0 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.sec-head .stamp { align-self: center; }
.sec-head h2 { margin: 0; }
.sec-head .eyebrow { margin: 0; }
.sec-lede { max-width: 620px; margin-bottom: 24px; }

/* three feature tickets */
.tickets { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ticket {
  display: flex; background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: var(--r-card); overflow: hidden; position: relative; min-height: 120px;
}
.ticket .stub {
  flex: none; width: 88px; background: var(--sand); border-right: 1px dashed var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: relative;
}
.ticket .stub .meta { color: var(--ink); }
.ticket .glyph { width: 48px; height: 48px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.ticket .glyph.orange { background: var(--orange); }
.ticket .glyph.ink { background: var(--ink); }
.ticket .notch {
  position: absolute; left: 81px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--hairline); z-index: 2;
}
.ticket .notch.t { top: -7px; } .ticket .notch.b { bottom: -7px; }
.ticket .body { flex: 1; min-width: 0; padding: 18px 20px 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.ticket .body h3 { font-size: 22px; line-height: 28px; letter-spacing: -.1px; }
.ticket .body p { margin: 0; font: 400 16px/24px var(--sans); color: var(--ink-soft); }
.ticket .body p b { color: var(--ink); }
.mk { font-family: var(--mono); font-weight: 600; font-size: 14px; }
.mk.v { color: var(--teal); } .mk.l { color: var(--orange); }

/* pricing strip */
.plans { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.plan { padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 6px; }
.plan .plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan .plan-name h3 { font-size: 22px; line-height: 28px; }
.plan .price {
  font: 600 28px/32px var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.2px;
  font-variant-numeric: tabular-nums; margin-top: 6px;
}
.plan .price small { font: 500 14px/20px var(--sans); color: var(--ink-soft); letter-spacing: 0; margin-left: 4px; }
.plan .what { margin: 8px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 24px; }
.plan .what b { color: var(--ink); }
.plan .wit { margin: 10px 0 0; font: italic 500 16px/24px var(--display); font-variation-settings: "SOFT" 100; }
.plan .stamp { position: absolute; top: -11px; right: 20px; background: var(--paper); }
.plans-foot { margin: 16px 0 0; font: 400 15px/22px var(--sans); color: var(--ink-soft); max-width: 620px; }

/* near you — 2×2 on the phone, 4 across on the desk */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid2 .tile { padding: 18px 18px 16px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.grid2 .tile .glyph { position: absolute; top: 16px; left: 18px; }
.grid2 .tile h3 { font-size: 20px; line-height: 26px; }
.grid2 .tile .sub { margin: 0; font: 400 14px/20px var(--sans); color: var(--ink-soft); }

/* closing line */
.closing { margin: 48px 0 0; text-align: center; }
.closing p { font: 600 26px/32px var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.1px; margin: 0 0 8px; text-wrap: balance; }
.closing .soft { font: 500 15px/22px var(--sans); }

/* ---------- text pages (privacy · support · terms) ---------- */
.page { padding-top: 24px; }
.page-head { margin-bottom: 32px; }
.page-head h1 { margin-bottom: 8px; }
.page-head .meta { display: block; }
.page h2 { font-size: 22px; line-height: 28px; letter-spacing: -.1px; margin: 40px 0 12px; }
.page h2:first-of-type { margin-top: 0; }
.page h3 { font-size: 18px; line-height: 24px; margin: 24px 0 8px; }
.page p, .page li { text-wrap: pretty; }
.page .lede { margin-bottom: 24px; }
.faq { border-top: 1px solid var(--hairline); }
.faq h2 { margin-top: 32px; }
.page dl { margin: 0 0 16px; }
.page dt { font-weight: 600; margin-top: 12px; }
.page dd { margin: 4px 0 0 0; color: var(--ink-soft); }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding-left: 40px; margin-bottom: 10px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sand); color: var(--ink); font: 600 13px/28px var(--mono); text-align: center;
}
kbd, .path { font: 500 14px/20px var(--mono); background: var(--paper-2); border: 1px solid var(--hairline); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 479px) {
  .stamp.lg { font-size: 11px; letter-spacing: .06em; padding: 5px 10px; }
}
@media (min-width: 640px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .tickets { grid-template-columns: repeat(3, 1fr); }
  .ticket { flex-direction: column; min-height: 0; }
  .ticket .stub { width: auto; height: 96px; flex-direction: row; gap: 14px; border-right: 0; border-bottom: 1px dashed var(--ink-soft); }
  .ticket .notch { left: auto; top: 89px; }
  .ticket .notch.t { left: -7px; } .ticket .notch.b { right: -7px; bottom: auto; }
  .ticket .body { padding: 18px 20px 20px; justify-content: flex-start; }
}
@media (min-width: 760px) {
  body { line-height: 26px; }
  h1 { font-size: 44px; line-height: 50px; }
  .site-head { height: 88px; }
  .hero { grid-template-columns: 300px 1fr; gap: 48px; padding: 40px 0 16px; }
  .hero-visual { padding: 32px 0 44px; }
  .compass { width: 224px; height: 224px; }
  .hero-copy h1 { font-size: 56px; line-height: 60px; letter-spacing: -.5px; }
  .section { padding-top: 56px; }
  .grid2 { grid-template-columns: repeat(4, 1fr); }
  .page { padding-top: 40px; }
  .page h1 { font-size: 44px; line-height: 50px; }
}
@media (min-width: 1000px) {
  .hero { grid-template-columns: 360px 1fr; gap: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn.primary:hover { transform: none; } }
@media print { body::before { display: none; } .site-nav, .site-foot nav { display: none; } }
