/* Glintboard home. Fonts: Instrument Serif and Hanken Grotesk, SIL Open Font License 1.1, self-hosted. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/instrument-serif-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/fonts/instrument-serif-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/fonts/hanken-grotesk-latin.woff2") format("woff2"); }

:root {
  --graphite: #15181B;
  --graphite-2: #1C2024;
  --graphite-3: #262B30;
  --porcelain: #F4F3EE;
  --porcelain-dim: #C9CCC9;
  --steel: #A2ABB1;
  --amber: #FFC46B;
  --line: rgba(244, 243, 238, 0.12);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--graphite);
  color: var(--porcelain);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--porcelain); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow, .index, .specs, .pill, .facts, figcaption, .bar nav a {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.eyebrow { color: var(--amber); margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--amber); }

/* Bar */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(21, 24, 27, 0.82);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.wordmark { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em;
  color: var(--porcelain); text-decoration: none; }
.wordmark span { color: var(--amber); }
.bar nav { display: flex; gap: 1.75rem; }
.bar nav a { color: var(--porcelain-dim); text-decoration: none; }
.bar nav a:hover { color: var(--porcelain); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(60rem 30rem at 85% 20%, rgba(255, 196, 107, 0.09), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(143, 152, 158, 0.08), transparent 60%),
    var(--graphite); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.9rem); line-height: 1.02; }
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--porcelain-dim);
  max-width: 34rem; margin: 1.75rem 0 2.25rem; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.pill { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.1rem;
  border: 1px solid rgba(255, 196, 107, 0.45); border-radius: 999px; color: var(--amber); }
.pill::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0.75rem var(--amber); }
.facts { color: var(--steel); }

/* The device: the product's own output, drawn in CSS, with no simulated app UI. */
.hero-visual { display: flex; justify-content: center; }
.device { position: relative; width: min(100%, 19rem); aspect-ratio: 9 / 16; padding: 0.7rem;
  border-radius: 2.6rem; background: linear-gradient(145deg, #3A4046, #15181B 45%, #2B3035);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 2.5rem 5rem -1.5rem rgba(0, 0, 0, 0.75),
    0 0 6rem -1rem rgba(255, 196, 107, 0.18);
  transform: rotate(-6deg); }
.screen { position: relative; height: 100%; border-radius: 2rem; overflow: hidden;
  background: repeating-linear-gradient(90deg, #F4F3EE 0 14px, #0B0D0E 14px 28px); }
.screen::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%, rgba(0, 0, 0, 0.25)); }
.glint { position: absolute; inset: -20% -60%; background:
  linear-gradient(105deg, transparent 42%, rgba(255, 214, 150, 0.28) 50%, transparent 58%);
  animation: glint 7s ease-in-out 1.2s infinite; }
@keyframes glint { 0%, 15% { transform: translateX(-60%); } 55%, 100% { transform: translateX(60%); } }

/* Setups */
.setups { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--graphite-2); border-top: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head h2, .honest h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.08; }
.setup { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.setup + .setup { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line); }
.setup.flip { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.setup.flip .shot { order: 2; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1.25rem;
  box-shadow: 0 1.5rem 3rem -1.25rem rgba(0, 0, 0, 0.7); background: var(--graphite-3); }
.shot figcaption { margin-top: 0.85rem; color: var(--steel); font-size: 0.68rem; font-weight: 500; }
.index { display: flex; align-items: center; gap: 0.85rem; color: var(--porcelain-dim); margin: 0 0 1.1rem; }
.index span { font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0; text-transform: none;
  font-weight: 400; color: var(--amber); }
.setup h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.08; margin-bottom: 1.1rem; }
.setup-copy p:not(.index) { color: var(--porcelain-dim); margin: 0; max-width: 28rem; }
.specs { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.specs li { padding: 0.5rem 0.85rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--porcelain); font-size: 0.7rem; }

/* Honest strip */
.honest { padding: clamp(4rem, 8vw, 6rem) 0; border-top: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, rgba(244, 243, 238, 0.025) 0 1px, transparent 1px 64px), var(--graphite); }
.honest-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem);
  align-items: start; }
.facts-list { list-style: none; margin: 0; padding: 0; }
.facts-list li { padding: 1.15rem 0; border-top: 1px solid var(--line); color: var(--porcelain-dim); }
.facts-list li:last-child { border-bottom: 1px solid var(--line); }
.facts-list strong { color: var(--porcelain); font-weight: 600; margin-right: 0.35rem; }

/* Contact and footer */
.contact { padding: clamp(3.5rem, 7vw, 5rem) 0; background: var(--graphite-2); border-top: 1px solid var(--line); }
.contact-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; }
.contact h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.contact p { margin: 0; font-size: 1.1rem; }
.foot { border-top: 1px solid var(--line); color: var(--steel); font-size: 0.88rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-top: 1.75rem; padding-bottom: 2.25rem; }
.foot p { margin: 0; }
.foot a { color: var(--porcelain-dim); }

/* Load reveal */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-copy .reveal:nth-child(2) { animation-delay: 0.08s; }
.hero-copy .reveal:nth-child(3) { animation-delay: 0.16s; }
.hero-copy .reveal:nth-child(4) { animation-delay: 0.24s; }
.hero-visual.reveal { animation-delay: 0.2s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  .glint { animation: none; opacity: 0; }
}

@media (max-width: 52rem) {
  .hero-grid, .setup, .setup.flip, .honest-grid { grid-template-columns: 1fr; }
  .setup.flip .shot { order: 0; }
  .hero-visual { order: -1; }
  .device { width: min(70%, 15rem); transform: rotate(-5deg); }
  .hero h1 span, .hero h1 em { white-space: normal; }
}
