/* The YakGenie site (yakgenie.com, and 1mynd.xyz while it still answers): the Paper look of the app (onboarding design v51: W01, P01, S01, S02).
   One typeface, Google Sans Flex, self-hosted like the app does it (SIL Open Font License 1.1),
   so no request leaves for a font CDN. Every page uses this file. */

@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/fonts/google-sans-flex-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #ede7db;
  --raised: #f7f3ea;
  --tint: #e7dfcf;
  --ink: #211c17;
  --ink-2: #4a4036;
  --muted: #665d4f;
  --line: #ddd2bf;
  --rule: #e1d8c6;
  --done: #1b6a36;
  --focus: #1d58a6;
  --f: 'Google Sans Flex', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(28px, env(safe-area-inset-left, 0px));
  padding-right: max(28px, env(safe-area-inset-right, 0px));
}

/* Top bar */
nav { border-bottom: 1px solid var(--rule); }
nav .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-block: 14px;
  font-size: 14px;
}
.nav-brand {
  margin-right: auto;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* The YakGenie mark, same drawing as the app (Paper: ink tile, paper face). */
.brand-mark { display: block; flex: none; }
.bm-tile { fill: var(--ink); }
.bm-face { fill: var(--paper); }
.bm-eyes { stroke: var(--ink); }
.nav-link { color: var(--ink-2); text-decoration: none; }
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav-cta {
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 6px 12px;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

/* Buttons */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 11px 18px;
  font: 600 15px var(--f);
  text-decoration: none;
}
.btn-dark:hover { background: #000; }

/* Pricing (S01 desktop, S02 phone) */
.pricing { padding-block: 34px 48px; }
.p-title {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 6px;
  text-wrap: balance;
}
.p-sub { margin: 0; color: var(--ink-2); font-size: 16px; }

.toggle {
  display: inline-flex;
  background: var(--tint);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  font-size: 13.5px;
  margin-top: 14px;
  border: 1px solid var(--line);
}
.toggle button {
  border: 0;
  background: none;
  padding: 6px 14px;
  border-radius: 999px;
  font: inherit;
  color: var(--ink-2);
  cursor: pointer;
}
.toggle button[aria-pressed="true"] {
  background: var(--raised);
  color: var(--ink);
  font-weight: 650;
  box-shadow: 0 1px 2px rgb(60 42 22 / 0.1);
}

.p-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}
.plan {
  background: var(--raised);
  border: 1px solid var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-name { font-weight: 700; font-size: 16px; }
.plan-price {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.plan-price small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-note { font-size: 12.5px; color: var(--muted); min-height: 18px; }
.plan-ai { font-size: 14px; font-weight: 500; color: var(--ink); padding-block: 2px 4px; }
.plan-tax { text-align: center; color: var(--muted); font-size: 12.5px; }

.included {
  list-style: none;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--raised);
  font-size: 14px;
  display: grid;
  gap: 6px;
}
.included li { padding-left: 1.1em; text-indent: -1.1em; }
.included li::before { content: "✓ "; color: var(--done); font-weight: 700; }

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin: 26px 0 0;
  font-size: 14px;
}
.faq dt { font-weight: 700; }
.faq dd { margin: 2px 0 0; color: var(--ink-2); }
.faq div { min-width: 0; }

/* Landing (W01 desktop, P01 phone): one headline, one button, nothing under it. */
.hero { max-width: 760px; margin: 0 auto; padding-block: 28px 56px; }
.label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.hero h1 {
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 28px 0 14px;
  text-wrap: balance;
}
.hero .lede { color: var(--ink-2); font-size: 18px; max-width: 600px; margin: 0 0 22px; }
.hero-cta {
  padding: 14px 22px;
  font-size: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgb(33 28 23 / 0.25);
}
.hero .need { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

/* About, Privacy, Terms: their own text, set as a readable document. */
.doc { max-width: 760px; padding-block: 40px 64px; overflow-wrap: anywhere; }
.doc h1 { font-size: 34px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 8px; text-wrap: balance; }
.doc h2 { font-size: 19px; font-weight: 650; margin: 32px 0 8px; }
.doc h3, .team-card h2 { font-size: 18px; font-weight: 650; margin: 0 0 4px; }
.doc p, .doc ul { color: var(--ink-2); margin: 0 0 12px; max-width: 68ch; }
.doc ul { padding-left: 1.4em; }
.doc li { margin-bottom: 4px; }
.doc strong { color: var(--ink); font-weight: 650; }
.doc a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.doc .last-updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc .intro { font-size: 18px; margin-bottom: 32px; }
.team-card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  max-width: 580px;
}
.team-card .team-role { color: var(--muted); margin-bottom: 10px; }
.team-card .team-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.team-card .team-link:hover span { text-decoration: underline; }
.team-link-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Footer */
footer { border-top: 1px solid var(--rule); }
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  padding-block: 20px;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .copy { margin-left: auto; }

/* Phone (S02) */
@media (max-width: 640px) {
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  nav .wrap { gap: 8px 14px; flex-wrap: wrap; }
  .pricing { padding-block: 18px 36px; }
  .p-title { font-size: 26px; }
  .p-sub { font-size: 15px; }
  .p-grid, .faq { grid-template-columns: 1fr; }
  .plan .btn-dark { width: 100%; }
  .hero { padding-block: 20px 48px; }
  .hero h1 { font-size: 36px; margin-top: 14px; }
  .hero .lede { font-size: 15.5px; }
  .hero-cta { display: flex; width: 100%; }
  .doc { padding-block: 24px 48px; }
  .doc h1 { font-size: 28px; }
  footer .copy { margin-left: 0; }
  footer .wrap { gap: 4px 18px; }
  footer a { display: inline-block; padding-block: 6px; }
}
