:root {
  --bg: #0b0c0d;
  --text: #eef1f0;
  --muted: #959c9e;
  --line: #1f2325;
  --card: #141618;
  --mint: #b7dbd5;
  --on-mint: #0b0c0d;
  --on-mint-muted: #2f3a38;
  /* Graph-paper grid for mint surfaces; 36px so lines meet across the 72px header/hero seam */
  --mint-grid:
    linear-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(0, 0, 0, .06) 1px, transparent 1px) 0 0 / 36px 36px;
  --max: 1080px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  /* Subtle dot-grid texture */
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px);
  background-size: 22px 22px;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* Header */
.site-header { background: var(--mint-grid), var(--mint); color: var(--on-mint); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-header img { height: 32px; width: auto; display: block; }
.site-header nav { display: flex; gap: 24px; font-size: 15px; }
.site-header nav a { text-decoration: none; color: var(--on-mint-muted); }
.site-header nav a:hover { color: var(--on-mint); }

/* Hero: full-bleed mint band continuing from the header */
.hero-band { background: var(--mint-grid), var(--mint); color: var(--on-mint); }
.hero { padding-top: clamp(64px, 12vw, 136px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero .eyebrow, .eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-mint-muted); margin: 0 0 20px;
}
.hero h1 {
  font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.03em;
  font-weight: 800; margin: 0; max-width: 14ch;
}
.hero p:not(.eyebrow) { font-size: clamp(18px, 2vw, 21px); color: var(--on-mint-muted); max-width: 46ch; margin: 28px 0 0; }

/* Sections */
section { padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.hero-band + section { border-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 44ch; }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--card); color: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 196px 24px 24px; text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
/* Site screenshot fills the top of the card and fades into the solid base */
.product .shot {
  position: absolute; top: 0; left: 0; z-index: -1;
  width: 100%; height: 190px; object-fit: cover; object-position: left top;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  opacity: .9; transition: transform .4s ease, opacity .3s ease;
}
.product:hover { border-color: var(--mint); transform: translateY(-2px); }
.product:hover .shot { transform: scale(1.04); opacity: 1; }
.product .tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.product h3 { font-size: 22px; letter-spacing: -0.01em; margin: 0; }
.product p { margin: 0; color: rgba(255,255,255,.8); font-size: 15.5px; }
.product .go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; }
.product .go::after { content: " →"; color: var(--mint); }

/* Builds */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
.split ul { list-style: none; padding: 0; margin: 0; }
.split li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.split li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 9px; background: var(--mint); border-radius: 2px; }
.lede { font-size: 19px; margin: 0; }

/* Contact */
.contact { background: var(--mint-grid), var(--mint); color: var(--on-mint); border-top: 0; }
.contact .section-head p { color: var(--on-mint-muted); }
.btn {
  display: inline-block; background: var(--on-mint); color: var(--mint); font-weight: 700;
  padding: 14px 22px; border-radius: 10px; text-decoration: none;
}

/* Footer */
footer { padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; }

/* Legal pages */
.legal { padding-top: 56px; padding-bottom: 80px; max-width: 720px; margin-left: 0; }
.legal h1 { font-size: 38px; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }

@media (max-width: 860px) {
  .products { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .products { grid-template-columns: 1fr; }
  .site-header nav { gap: 16px; }
  .site-header nav a.hide-sm { display: none; }
}
