*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #FFFFFF;
  color: #0B0B0B;
  font-family: Archivo, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #00A63E; }

::selection { background: #00A63E; color: #fff; }

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.meta {
  text-transform: uppercase;
  color: #6E6E6E;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  border-bottom: 1px solid #0B0B0B;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 14px;
  height: 14px;
  background: #0B0B0B;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Hero */

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  padding: 96px 40px 72px;
  border-bottom: 1px solid #0B0B0B;
  min-height: 78vh;
}

.hero-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #00A63E;
  border-radius: 50%;
}

.hero-title {
  margin: 0;
  font-size: clamp(52px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
  max-width: 16ch;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-lede {
  margin: 0;
  max-width: 46ch;
  font-size: 19px;
  line-height: 1.5;
  color: #3A3A3A;
  text-wrap: pretty;
}

/* Products */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: 56px 48px 48px;
  background: #FFFFFF;
  transition: background 180ms ease;
}

.card + .card { border-left: 1px solid #0B0B0B; }

.card:hover { background: #FAFAFA; }

.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.card-index { color: #6E6E6E; }

.card-domain {
  letter-spacing: 0.06em;
  color: #6E6E6E;
}

.card-title {
  margin: 28px 0 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.card-desc {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: #3A3A3A;
  max-width: 34ch;
  text-wrap: pretty;
}

.shot {
  margin: 40px 0 36px;
  border: 1px solid #0B0B0B;
  aspect-ratio: 16 / 10;
  background-image: repeating-linear-gradient(45deg, #F2F2F2 0 8px, #FFFFFF 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Screenshots are taller than the 16:10 frame, so they crop from the bottom
   and stay anchored to the top — app chrome is the part worth showing. */
.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.cta {
  margin-top: auto;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  background: #0B0B0B;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  transition: background 180ms ease;
}

/* The arrow is mono, but inherits the button's 15px — not the 11px .mono size. */
.cta-arrow { font-family: 'IBM Plex Mono', monospace; }

.card:hover .cta { background: #00A63E; }

/* Legal pages */

.legal {
  flex: 1;
  padding: 72px 40px 96px;
  border-bottom: 1px solid #0B0B0B;
}

.legal-inner {
  max-width: 74ch;
  margin: 0 auto;
}

.back {
  display: inline-block;
  color: #6E6E6E;
  margin-bottom: 56px;
}

.back:last-child {
  margin: 72px 0 0;
}

.legal-title {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.legal-date {
  margin: 20px 0 0;
  color: #6E6E6E;
  text-transform: uppercase;
}

.legal h2 {
  margin: 56px 0 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  padding-top: 28px;
  border-top: 1px solid #0B0B0B;
}

.legal p {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: #3A3A3A;
  text-wrap: pretty;
}

.legal ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.legal li {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.65;
  color: #3A3A3A;
}

.legal strong { color: #0B0B0B; font-weight: 600; }

/* Unfilled facts. Every instance must be resolved before this page ships. */
.tbd {
  background: #FFF1B8;
  border-bottom: 1px solid #C9A227;
  color: #0B0B0B;
  padding: 0 4px;
}

/* Footer */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px;
  border-top: 1px solid #0B0B0B;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6E6E6E;
  flex-wrap: wrap;
}

/* Narrow viewports: the product grid collapses to one column, so the
   column hairline becomes a row hairline. */

@media (max-width: 900px) {
  .card + .card {
    border-left: none;
    border-top: 1px solid #0B0B0B;
  }
}

@media (max-width: 620px) {
  .header, .footer { padding-left: 24px; padding-right: 24px; }
  .hero { padding: 72px 24px 56px; }
  .card { padding: 40px 24px 32px; }
  .products { grid-template-columns: 1fr; }
}
