:root {
  --paper: #FAFAF7;
  --paper-sunk: #F1F0EA;
  --ink: #12120F;
  --ink-2: #3C3C34;
  --ink-3: #6B6B61;
  --ink-invert: #FAFAF7;
  --rule: rgba(18, 18, 15, 0.14);
  --rule-soft: rgba(18, 18, 15, 0.07);
  --rule-strong: rgba(18, 18, 15, 0.30);
  --accent: #1A5C40;
  --accent-lift: #227A54;
  --font-sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --t-display: clamp(3rem, 8.4vw, 8.2rem);
  --t-lede: clamp(1.02rem, 1.3vw, 1.2rem);
  --t-small: 0.875rem;
  --t-micro: 0.6875rem;
  --frame-max: 1560px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--ink-invert); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.frame {
  width: 100%;
  max-width: var(--frame-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.grid-guides {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
}
.grid-guides__inner {
  width: 100%;
  max-width: var(--frame-max);
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.grid-guides__inner span { border-left: 1px solid var(--rule-soft); }
.grid-guides__inner span:last-child { border-right: 1px solid var(--rule-soft); }

.label {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.label--accent { color: var(--accent); }
.label--ink { color: var(--ink); }

.tick {
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: none;
  display: inline-block;
}
.tick--hollow { background: none; box-shadow: inset 0 0 0 1px var(--accent); }

.mark { color: var(--accent); font-style: normal; }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--rule);
  background: rgba(250, 250, 247, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-bar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.brand b { font-weight: 700; }
.brand .thin { font-weight: 400; color: var(--ink-3); }

.hero {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 8vw, 120px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding-bottom: 20px;
  margin-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
}

.domain {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 20px;
  overflow-wrap: anywhere;
  animation: rise 0.9s var(--ease) both;
}

.display {
  font-size: var(--t-display);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.042em;
  font-stretch: 92%;
}
.display .ln {
  display: block;
  animation: rise 1s var(--ease) both;
}
.display .ln:nth-child(2) { animation-delay: 0.08s; }

.lede {
  font-size: var(--t-lede);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 52ch;
  margin-top: clamp(28px, 3.5vw, 44px);
  animation: rise 1s var(--ease) 0.16s both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 36px;
  animation: rise 1s var(--ease) 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { width: 13px; height: 13px; flex: none; transition: transform 0.4s var(--ease); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--ink-invert); border-color: var(--ink); }
.btn:hover::before { transform: scaleY(1); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink-invert);
}

.email-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule-strong);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.email-link:hover { color: var(--accent); border-color: var(--accent); }

.spec-table {
  margin-top: clamp(48px, 6vw, 80px);
  max-width: 640px;
  border-top: 1px solid var(--rule);
  animation: rise 1s var(--ease) 0.32s both;
}
.spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.spec-row dt {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 3px;
}
.spec-row dd { font-size: var(--t-small); color: var(--ink-2); }

.site-footer {
  position: relative;
  z-index: 2;
  padding-bottom: 32px;
}
.titleblock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--rule);
  background: var(--paper);
}
.tb-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-left: 1px solid var(--rule);
  min-width: 0;
}
.tb-cell:first-child { border-left: none; }
.tb-k {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tb-v {
  font-size: var(--t-small);
  color: var(--ink);
  overflow-wrap: anywhere;
}
a.tb-v:hover { color: var(--accent); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .grid-guides__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-guides__inner span:nth-child(n+5) { display: none; }
  .grid-guides__inner span:nth-child(4) { border-right: 1px solid var(--rule-soft); }
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-cell:nth-child(3) { border-left: none; }
  .tb-cell:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

@media (max-width: 520px) {
  .header-bar .label { display: none; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
  .titleblock { grid-template-columns: 1fr; }
  .tb-cell { border-left: none; }
  .tb-cell:nth-child(n+2) { border-top: 1px solid var(--rule); }
  .btn { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
