/* timeicorn.com, from the "Timeicorn Home" design (Claude Design, owner's pick
   1a, 2026-11-05). The design's sizes are for a 1440 px window; clamps keep
   those sizes there and scale them down to a phone. */

/* Both families are OFL (see /fonts/OFL-*.txt): Latin subsets, served from here. */
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #111915;
  --night-raised: #18231e;
  --night-frame: #1f2c26;
  --line: #2a3630;
  --line-strong: #3a4740;
  --cream: #ece8df;
  --mint: #c9e6b8;
  --mint-field: #e4f2da;
  --text-soft: #c4c8c0;
  --text-nav: #b8bdb5;
  --text-faint: #8e968d;
  --on-cream-soft: #3d4842;
  --on-mint-soft: #2c3a32;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* The side margin, and past 1680 px wide it grows so lines don't run on. */
  --gutter: max(clamp(16px, 5vw, 72px), calc((100vw - 1536px) / 2));
  --section: clamp(72px, 9.7vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.75; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 3px; }
input, button { font: inherit; }
h2 { text-wrap: balance; }
[id] { scroll-margin-top: 24px; }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Header */
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: clamp(18px, 2vw, 28px) var(--gutter);
}
.wordmark { display: block; line-height: 0; }
.wordmark img { display: block; height: 2.25rem; width: auto; }
.top-links { display: flex; gap: 36px; align-items: center; font-size: 1rem; color: var(--text-nav); }
.top-links a { text-decoration: none; }
.top-links a.pill {
  color: var(--night); background: var(--mint);
  padding: 10px 20px; border-radius: 999px; font-weight: 600; white-space: nowrap;
}
@media (max-width: 47.99rem) {
  .top-links a:not(.pill) { display: none; }
}
/* The smallest phones: the wordmark and the button have to share one line. */
@media (max-width: 23.75rem) {
  .wordmark img { height: 1.625rem; }
  .top-links a.pill { padding: 8px 14px; }
}

/* Hero */
.hero {
  padding: clamp(56px, 8.3vw, 120px) var(--gutter) clamp(72px, 9.7vw, 140px);
  display: flex; flex-direction: column; gap: clamp(28px, 2.8vw, 40px);
}
.hero h1 {
  margin: 0; max-width: 1000px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.5rem, 9.45vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.hero em { color: var(--mint); }
.lede {
  margin: 0; max-width: 620px;
  font-size: clamp(1.2rem, 1.55vw, 1.375rem); line-height: 1.55;
  color: var(--text-soft); text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.button {
  text-decoration: none; background: var(--cream); color: var(--night);
  padding: 16px 28px; border-radius: 999px; font-weight: 600;
}
.hero-actions .more { color: var(--cream); padding: 16px 8px; }

/* The promises, in a line */
.strip {
  list-style: none; margin: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px var(--gutter);
  display: flex; flex-direction: column; gap: 6px;
  font-size: 1rem; color: var(--text-nav);
}
@media (min-width: 62rem) {
  .strip { flex-direction: row; gap: 40px; }
  .strip li + li::before { content: "·"; margin-right: 40px; }
}

/* What we make */
.make {
  padding: var(--section) var(--gutter);
  display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px);
}
.make-head { display: grid; gap: 12px; }
.make-head h2 {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 4.45vw, 4rem); line-height: 1.05; letter-spacing: -0.015em;
}
.badge {
  align-self: flex-start;
  font-size: 0.875rem; line-height: 1.6;
  padding: 4px 12px; border-radius: 999px;
}
.badge-now { color: var(--night); background: var(--mint); font-weight: 600; }
.badge-soon { color: var(--text-soft); border: 1px solid var(--line-strong); }

.product-lead {
  display: grid; gap: 32px;
  background: var(--night-raised);
  border-radius: 28px;
  padding: clamp(24px, 3.9vw, 56px);
  align-items: center;
}
.product-lead > div:first-child { display: flex; flex-direction: column; gap: 20px; }
.product-lead h3 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.75rem, 3.9vw, 3.5rem); line-height: 1;
}
.product-lead > div:first-child > p {
  margin: 0; color: var(--text-soft);
  font-size: clamp(1.125rem, 1.4vw, 1.25rem); text-wrap: pretty;
}
.product-lead .open { align-self: flex-start; margin-top: 8px; color: var(--mint); font-weight: 600; }

.products-soon { display: grid; gap: 24px; }
.product-soon {
  border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(24px, 3.3vw, 48px);
  display: flex; flex-direction: column; gap: 16px;
}
.product-soon h3 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.125rem, 2.8vw, 2.5rem); line-height: 1.1;
}
.product-soon p { margin: 0; color: var(--text-soft); text-wrap: pretty; }
.product-soon a { margin-top: auto; padding-top: 12px; color: var(--cream); }

@media (min-width: 56rem) {
  .make-head { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: end; }
  .product-lead { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
  .products-soon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Fragments of the Circles UI, in Circles' colors, with made-up friends: the
   same ones circles.timeicorn.com shows. An em here is a share of the frame's
   width, so the whole picture scales like an image. */
.shot {
  aspect-ratio: 4 / 3;
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--night-frame);
}
.shot-inner { position: absolute; inset: 0; font-size: 2.6cqw; line-height: 1.35; color: #1e1218; font-family: var(--sans); }
.frag {
  position: absolute;
  background: #fffdf9;
  border: 0.07em solid #ede6da;
  border-radius: 1.3em;
  padding: 1em;
  box-shadow: 0 0.9em 2.4em rgba(0, 0, 0, 0.32);
}
.frag-free { left: 4%; top: 5%; width: 62%; }
.frag-overlap { right: 4%; top: 31%; width: 50%; background: #fffbeb; border-color: #f3e2a6; }
.frag-invite { left: 9%; top: 56%; width: 46%; }
.frag p { margin: 0; }
.frag-row { display: flex; align-items: center; gap: 0.7em; padding: 0.5em 0.2em; }
.frag-row + .frag-row { border-top: 0.07em solid #ede6da; }
.frag-avatar {
  flex: none; width: 2.2em; height: 2.2em; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.9em;
}
.frag-amber { background: #b45309; }
.frag-teal { background: #0f766e; }
.frag-rose { background: #9f1239; }
.frag-text { flex: 1; min-width: 0; }
.frag-name { display: block; font-weight: 700; }
.frag-when { display: block; color: #75614f; font-size: 0.92em; }
.frag-chip {
  flex: none; border-radius: 999px; padding: 0.25em 0.75em;
  font-size: 0.86em; font-weight: 700; background: #f3e8f7; color: #5c1f68;
}
.frag-head { display: flex; align-items: center; gap: 0.6em; }
.frag-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1em; height: 2.1em; border-radius: 0.6em; background: #b45309; color: #fff; font-size: 0.95em;
}
.frag-label { font-size: 0.95em; font-weight: 800; color: #b45309; }
.frag-overlap .frag-body { margin-top: 0.7em; }
.frag-button {
  display: block; margin-top: 0.9em; padding: 0.6em 0; border-radius: 0.8em;
  background: #7b2d8b; color: #fff; text-align: center; font-weight: 700;
}
.frag-host { font-size: 0.92em; color: #75614f; }
.frag .frag-title { font-size: 1.25em; font-weight: 800; letter-spacing: -0.01em; margin-top: 0.15em; }
.frag-rsvps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4em; margin-top: 0.7em; }
.frag-rsvp {
  text-align: center; padding: 0.45em 0; border-radius: 0.7em;
  border: 0.1em solid #ddd2c2; font-size: 0.92em; font-weight: 700;
}
.frag-rsvp-on { background: #7b2d8b; border-color: #7b2d8b; color: #fff; }

/* Promises */
.promises {
  background: var(--cream); color: var(--night);
  padding: var(--section) var(--gutter);
  display: flex; flex-direction: column; gap: clamp(48px, 5.5vw, 80px);
}
.promises-head { display: grid; gap: 24px; }
.promises-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.75rem, 5.55vw, 5rem); line-height: 1; letter-spacing: -0.02em;
}
.promises-head p { margin: 0; font-size: clamp(1.125rem, 1.4vw, 1.25rem); color: var(--on-cream-soft); text-wrap: pretty; }
.promise-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--night);
}
.promise-list li { padding: 28px 24px 12px 0; display: flex; flex-direction: column; gap: 12px; }
.promise-n { font-family: var(--serif); font-size: 2.5rem; line-height: 1; }
.promise-t { font-weight: 600; }
.promise-d { font-size: 1rem; color: var(--on-cream-soft); }
@media (min-width: 40rem) {
  .promise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 56rem) {
  .promises-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: end; }
}
@media (min-width: 72rem) {
  .promise-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .promise-list li { padding-bottom: 0; }
}

/* From the founder, and questions: a label column, then the content */
.labelled { display: grid; gap: 24px; }
@media (min-width: 56rem) {
  .labelled { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; }
}
.founder { padding: clamp(80px, 11.1vw, 160px) var(--gutter); }
.founder .eyebrow { padding-top: 16px; }
.founder figure { margin: 0; display: flex; flex-direction: column; gap: 40px; }
.founder blockquote {
  margin: 0; font-family: var(--serif);
  font-size: clamp(2rem, 3.35vw, 3rem); line-height: 1.2; letter-spacing: -0.01em; text-wrap: pretty;
}
.founder-name { font-weight: 600; }
.founder-role { color: var(--text-faint); font-size: 1rem; }

.faq { padding: 0 var(--gutter) var(--section); }
.faq h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 3.9vw, 3.5rem); line-height: 1;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: clamp(20px, 2vw, 28px) 0;
  font-size: clamp(1.2rem, 1.55vw, 1.375rem); font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; width: 28px; text-align: center;
  font-size: 1.75rem; line-height: 1; color: var(--mint);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 28px; max-width: 720px; color: var(--text-soft); text-wrap: pretty; }

/* Join the list */
.join {
  margin: 0 var(--gutter) clamp(64px, 8.3vw, 120px);
  background: var(--mint); color: var(--night);
  border-radius: clamp(24px, 2.2vw, 32px);
  padding: clamp(28px, 5.5vw, 80px);
  display: grid; gap: clamp(32px, 4.4vw, 64px);
  align-items: center;
}
@media (min-width: 56rem) {
  .join { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.join-pitch { display: flex; flex-direction: column; gap: 16px; }
.join h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 4.45vw, 4rem); line-height: 1;
}
.join-pitch p { margin: 0; color: var(--on-mint-soft); }
.join-fine { font-size: 0.9375rem; }
.join form { display: flex; flex-direction: column; gap: 16px; }
.join fieldset {
  margin: 0; padding: 0; border: 0;
  display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 1rem;
}
.join fieldset label { display: flex; gap: 8px; align-items: center; }
.join input[type="checkbox"] { accent-color: var(--night); width: 18px; height: 18px; margin: 0; }
.join input[type="email"], .join input[type="text"] {
  width: 100%; padding: 18px 22px;
  border-radius: 14px; border: 1px solid var(--night);
  background: var(--mint-field); color: var(--night); font-size: 1.125rem;
}
.join input::placeholder { color: var(--on-mint-soft); opacity: 1; }
.join-row { display: flex; flex-wrap: wrap; gap: 12px; }
.join-row .zip { flex: 1 1 200px; min-width: 0; }
.join button {
  flex: 0 0 auto; padding: 18px 32px; border-radius: 14px; border: 0;
  background: var(--night); color: var(--cream);
  font-weight: 600; font-size: 1.125rem; cursor: pointer;
}
.join button:hover { opacity: 0.85; }
/* People never see this field: bots that fill it are ignored. */
.join .trap { position: absolute; left: -9999px; }

/* The form posts and comes back to #joined or #join-error. No script needed. */
.join-thanks, .join-error { display: none; scroll-margin-top: 40vh; }
.join-thanks:target {
  display: block;
  font-family: var(--serif); font-size: clamp(2rem, 2.8vw, 2.5rem); line-height: 1.15;
  text-wrap: balance;
}
.join-thanks:target ~ form { display: none; }
.join-error:target { display: block; margin-bottom: 16px; font-weight: 600; }

/* Footer */
.foot {
  padding: 40px var(--gutter);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  font-size: 0.9375rem; color: var(--text-faint);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* Short pages: privacy, not found */
.page { padding: clamp(40px, 6vw, 80px) var(--gutter) var(--section); max-width: calc(44rem + 2 * var(--gutter)); }
.page h1 {
  margin: 0 0 16px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 5.55vw, 5rem); line-height: 1; letter-spacing: -0.02em;
}
.page h2 { margin: 48px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.page p, .page li { color: var(--text-soft); text-wrap: pretty; }
.page p { margin: 0 0 16px; }
.page ul { margin: 0 0 16px; padding-left: 1.25rem; }
.page li { margin-bottom: 6px; }
.page-date { color: var(--text-faint); font-size: 1rem; }
