/* famright.llc — one stylesheet for the three pages. No build step, no
   third-party loads. The ground is the What To Share off-white (#FCFCFB),
   hairline cards, the system font, teal only on links, one black pill. */

:root {
  --bg: #FCFCFB; --surface: #FFFFFF; --ink: #111111; --ink-2: #55554F; --muted: #6B6B65;
  --line: #DDD9D2; --tile: #EDECE7; --link: #0E6655;
  --btn: #111111; --on-btn: #FFFFFF;
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212; --surface: #1A1A1A; --ink: #F5F3EE; --ink-2: #B9B6AE; --muted: #8A8A84;
    --line: #333330; --tile: #262625; --link: #6FC3AE;
    --btn: #F5F3EE; --on-btn: #111111;
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 30px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; line-height: 1.12; }
p { margin: 0; }
img { display: block; }

.page { max-width: 1040px; margin: 0 auto; }
.wrap { padding: 0 clamp(4px, 3vw, 40px); }

/* nav */
nav.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(4px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.brand:hover { text-decoration: none; }
nav.top .links { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
nav.top .links a { color: var(--ink-2); }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--btn); color: var(--on-btn); font-weight: 600; font-size: 15px; padding: 9px 18px; border-radius: 999px; white-space: nowrap; }
.btn:hover { opacity: .85; text-decoration: none; }

/* home hero + mission */
.hero { text-align: center; padding: 88px 0 64px; display: grid; justify-items: center; gap: 18px; }
.hero .rule { width: 28px; height: 2px; border-radius: 1px; background: var(--link); margin-bottom: 6px; }
.hero h1 { font-size: clamp(40px, 7vw, 64px); }
.hero p { font-size: clamp(18px, 2.4vw, 21px); color: var(--ink-2); max-width: 32em; }
.hero .icons { display: flex; gap: 14px; margin-top: 10px; }
.hero .icons img { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); }
.mission { border-top: 1px solid var(--line); padding: 56px 0 40px; display: grid; justify-items: center; text-align: center; gap: 14px; }
.mission .label { font-size: 15px; color: var(--muted); font-weight: 500; }
.mission p { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.35; letter-spacing: -.015em; max-width: 30em; color: var(--ink); text-wrap: balance; }
.mission p + p { font-size: 17px; line-height: 1.47; letter-spacing: 0; color: var(--ink-2); max-width: 36em; }

section { padding: 28px 0; }
.sechead { display: grid; gap: 6px; margin-bottom: 22px; }
.sechead h2 { font-size: clamp(26px, 3.6vw, 34px); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }

/* product cards */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
/* The text area takes the spare height, so the two screenshots start level and the link rows sit level above them, even when one card has more lines of text. */
.product { overflow: hidden; display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.product .text { padding: 28px 28px 12px; display: grid; gap: 14px; align-content: start; }
.product .head { display: flex; gap: 14px; align-items: center; }
.product .head img { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); }
.product h3 { font-size: 24px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-top: 4px; background: var(--tile); color: var(--ink-2); }
.pill.live { color: var(--ink); }
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--link); }
.product p { color: var(--ink-2); }
.product p + p { margin-top: 10px; }
.product .links { display: flex; justify-content: center; gap: 6px 16px; font-size: 16px; font-weight: 500; padding-top: 4px; margin-top: auto; }
.product .shot { position: relative; padding: 56px 28px 0; display: flex; justify-content: center; align-items: flex-end; min-height: 300px; }
.product .shot .cap { position: absolute; top: 40px; left: 28px; right: 28px; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .01em; color: var(--muted); }
.product .shot::before { content: ""; position: absolute; inset: 24px 0 0; background: var(--tile); border-top: 1px solid var(--line); }
.product .shot img { position: relative; width: 210px; max-width: 70%; height: 330px; object-fit: cover; object-position: top; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-lg); margin-bottom: -12px; background: var(--surface); }

/* inner pages */
.sub .hero { padding: 56px 0 28px; text-align: left; justify-items: start; }
.sub .hero h1 { font-size: clamp(36px, 6vw, 52px); }

/* facts */
dl.facts { margin: 0; padding: 6px 28px; display: grid; grid-template-columns: 11em 1fr; }
dl.facts dt, dl.facts dd { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; min-width: 0; }
dl.facts dt:first-of-type, dl.facts dd:first-of-type { border-top: 0; }
dl.facts dt { color: var(--ink-2); font-size: 15px; padding-top: 16px; }
dl.facts dd { font-weight: 500; overflow-wrap: anywhere; }
dl.facts dd .alt { display: block; font-weight: 400; color: var(--ink-2); font-size: 15px; margin-top: 2px; }

/* contact */
.contact { padding: clamp(28px, 5vw, 44px); display: grid; gap: 10px; }
.contact h2 { font-size: clamp(26px, 3.6vw, 34px); }
.contact p { color: var(--ink-2); }
.contact .lead { max-width: 40em; }
.notice { display: none; padding: 12px 16px; border-radius: 12px; background: var(--tile); color: var(--ink); font-weight: 500; max-width: 44em; }
.notice:target { display: block; }
form.ask { display: grid; gap: 14px; margin-top: 10px; max-width: 44em; }
form.ask .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.ask label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
form.ask input, form.ask textarea { font: inherit; font-size: 17px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; }
form.ask textarea { min-height: 140px; resize: vertical; }
form.ask input:focus-visible, form.ask textarea:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; border-color: transparent; }
form.ask input::placeholder, form.ask textarea::placeholder { color: var(--muted); }
form.ask .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
form.ask button { border: 0; cursor: pointer; font: inherit; }
form.ask .or { font-size: 15px; color: var(--muted); }
form.ask .or a { font-weight: 500; }
/* The honeypot: a field people never see or reach; bots that fill every input do. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* footer */
footer.bottom { padding: 28px clamp(4px, 3vw, 40px) 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
footer.bottom .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.bottom a { color: var(--ink-2); font-weight: 500; }

/* legal */
.pols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pol { padding: 20px 22px; display: flex; gap: 16px; align-items: center; min-width: 0; }
.pol img { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); flex: none; }
.pol .n { font-weight: 600; font-size: 18px; }
.pol .links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; font-weight: 500; }
.pol .links span { color: var(--muted); font-weight: 400; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.docc { padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.docc h2 { font-size: 24px; }
.docc .eff { font-size: 15px; color: var(--muted); }
.docc p { color: var(--ink-2); }

@media (max-width: 760px) {
  .products, .pols, .docs, form.ask .row { grid-template-columns: 1fr; }
  nav.top .links { display: none; }
  .hero { padding: 56px 0 40px; }
  .product .shot { min-height: 220px; }
  dl.facts { grid-template-columns: 1fr; padding: 6px 22px; }
  dl.facts dt { padding-bottom: 0; border-top: 1px solid var(--line); }
  dl.facts dd { padding-top: 4px; border-top: 0; }
  dl.facts dt:first-of-type { border-top: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  a, .btn { transition: opacity .15s, color .15s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .hero > * { animation: rise .4s ease-out both; }
  .hero > :nth-child(2) { animation-delay: .08s; }
  .hero > :nth-child(3) { animation-delay: .16s; }
  .hero > :nth-child(4) { animation-delay: .24s; }
  .product { animation: rise .4s ease-out both; animation-delay: .32s; transition: transform .2s ease, box-shadow .2s ease; }
  .product:nth-child(2) { animation-delay: .4s; }
  .product:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
}

@media print {
  nav.top .btn, .hero .icons, .product .shot, form.ask { display: none; }
  body { background: #fff; color: #000; }
}
