:root {
  --ink: #0b0b0b;
  --ink-2: #121110;
  --gold: #c9a063;
  --gold-hi: #e4c99b;
  --bone: #efe9df;
  --muted: #9a917f;
  --line: #2a2620;
  --display: "Jost", "Futura", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 5vw, 48px);
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font: 500 15px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
}

.site-header nav a {
  font: 400 13px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.45s ease, color 0.45s ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--bone);
  background-size: 100% 1px;
}

/* Phones: the section links move to a slim row under the wordmark.
   The header stays sticky, so the row is always one tap away. */
@media (max-width: 640px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 12px;
    padding: 14px 20px 0;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    gap: 0;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--line);
  }

  .site-header nav::-webkit-scrollbar { display: none; }

  .site-header nav a {
    flex: 0 0 auto;
    padding: 12px 10px 11px;
    font-size: 11px;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  .site-header nav a[aria-current="true"] {
    color: var(--gold);
    background-size: 100% 1px;
  }

  /* Taller sticky header on phones: jumps must land below it. */
  section[id] { scroll-margin-top: 104px; }
}

/* ---------- hero ---------- */

.hero {
  text-align: center;
  padding: clamp(48px, 9vw, 110px) clamp(20px, 5vw, 48px) clamp(40px, 7vw, 80px);
  max-width: 860px;
  margin: 0 auto;
}

.hero-logo {
  display: block;
  width: min(460px, 82%);
  height: auto;
  margin: 0 auto clamp(28px, 5vw, 48px);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}

.eyebrow {
  font: 400 12px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--muted);
  margin: 0 0 18px;
}

.hero h1 {
  font: 300 clamp(34px, 7vw, 64px)/1.08 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 22px;
  background: linear-gradient(180deg, var(--gold-hi) 10%, var(--gold) 55%, #8c6a3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 34em;
  margin: 0 auto 16px;
  color: var(--bone);
}

.micro {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ---------- sections ---------- */

.section {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 76px) clamp(20px, 5vw, 48px);
  text-align: center;
}

.section.wide { max-width: 960px; }

.label {
  font: 400 12px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--gold);
  margin: 0 0 14px;
}

.section h2 {
  font: 300 clamp(26px, 4.5vw, 40px)/1.15 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bone);
  margin: 0 0 18px;
}

.prose {
  margin: 0 auto;
  max-width: 36em;
  color: #cfc8bc;
}

.prose + .prose { margin-top: 16px; }

.prose.hook {
  color: var(--bone);
  font-size: 19px;
}

.prose strong { color: var(--bone); font-weight: 500; }

.section .micro { margin-top: 18px; }

/* anchor jumps clear the sticky header */
section[id] { scroll-margin-top: 88px; }

/* ---------- silence rules ---------- */

.rule {
  height: 1px;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}

/* ---------- cards ---------- */

.cards {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}

.cards li {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 22px 20px;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.cards li:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.cards h3 {
  font: 500 15px/1.2 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0 0 8px;
}

.cards p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- software ---------- */

.app-name {
  font: 400 11px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--muted);
  margin: -4px 0 24px;
}

.features {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(24px, 4vw, 48px);
  text-align: left;
}

.features li {
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
}

.features h3 {
  font: 500 13px/1.35 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 8px;
}

.features p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.beta {
  margin: 26px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.beta a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 160, 99, 0.45);
  transition: border-color 0.35s ease;
}

.beta a:hover,
.beta a:focus-visible { border-bottom-color: var(--gold); }

/* ---------- software layout ---------- */

/* Two columns that share one top edge: phones left, copy right. */
.sw-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: 48px;
  text-align: left;
}

/* Left column: two phones side by side, then two iPad shots stacked.
   Every shot takes the full width of this column. */
.sw-media {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sw-phones,
.sw-ipads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sw-ipads { grid-template-columns: minmax(0, 1fr); gap: 24px; }

.sw-media figure { margin: 0; }

.sw-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.sw-phones img { border-radius: 24px; }
.sw-ipads img  { border-radius: 14px; }

.sw-media figcaption {
  font: 400 11px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 14px;
}

.sw-copy .prose {
  max-width: none;
  margin: 0 0 16px;
  text-align: left;
}

.sw-copy .prose.hook {
  font-size: 19px;
  margin-bottom: 14px;
}

/* Feature rows: one column, shared left edge with the copy above. */
.sw-copy .features {
  grid-template-columns: minmax(0, 1fr);
  margin: 32px 0 0;
  column-gap: 0;
}

@media (max-width: 720px) {
  .sw-split { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
}

/* ---------- construction strip ---------- */

.dust {
  text-align: center;
  padding: clamp(30px, 5vw, 48px) clamp(20px, 5vw, 48px);
}

.dust p {
  margin: 0;
  font: 300 clamp(17px, 2.6vw, 22px)/1.5 var(--display);
  letter-spacing: 0.06em;
  color: var(--muted);
}

.dust strong { color: var(--gold); font-weight: 400; }

/* ---------- contact ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

.btn {
  font: 500 13px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold);
  padding: 15px 26px;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.btn.ghost {
  color: var(--muted);
  border-color: var(--line);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold);
}

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 48px);
  margin-top: clamp(30px, 5vw, 50px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.site-footer .motto {
  font: 400 13px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover { color: var(--gold); }

@media (max-width: 560px) {
  .site-footer { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
