/* ----- self-hosted fonts ----- */
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jizHRFtNs2ka5fXjeivQ4LroWlx-6zAjgn7Motmp5r61.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jizHRFtNs2ka5fXjeivQ4LroWlx-6zAjjH7Motmp5g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jizBRFtNs2ka5fXjeivQ4LroWlx-6zsTjnTLgNuZ5w.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jizBRFtNs2ka5fXjeivQ4LroWlx-6zUTjnTLgNs.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg:           #0f1318;
  --bg-alt:       #161b22;
  --paper:        #181d24;
  --ink:          #ececec;
  --ink-dim:      #cfd0d1;
  --ink-soft:     #b4b6ba;
  --muted:        #787c83;
  --hairline:     #232830;
  --hairline-2:   #313742;
  --accent:       #7aa6d4;
  --accent-soft:  #a3c1e0;

  --col-max:      800px;
  --pad-x:        clamp(1.5rem, 5vw, 2.5rem);

  --serif:        "Instrument Serif", "Iowan Old Style", "Apple Garamond",
                  Georgia, "Times New Roman", serif;
  --sans:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, sans-serif;

  color-scheme: dark;
}

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

html {
  background-color: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

.wrap {
  max-width: var(--col-max);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* ----- top wordmark ----- */
.topbar {
  padding-block: 1.75rem 0;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  letter-spacing: -0.005em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--accent);
}

/* ----- hero ----- */
.hero {
  padding-block: 5rem 4rem;
  text-align: left;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.85rem, 8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.hero h1 em {
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.78em;
  color: var(--accent);
}

.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 0 2.25rem;
}

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}

.btn:hover .arrow,
.btn:focus-visible .arrow {
  transform: translateX(3px);
}

/* ----- featured product card ----- */
.featured {
  padding-block: 1rem 4rem;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4),
              0 20px 50px -30px rgba(0, 0, 0, 0.7);
}

.product-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 90% at 80% 20%, rgba(122, 166, 212, 0.22), transparent 60%),
    radial-gradient(100% 80% at 15% 80%, rgba(122, 166, 212, 0.10), transparent 65%),
    linear-gradient(135deg, #1b2330 0%, #0a0d12 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--hairline);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.product-visual .glyph {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(4rem, 14vw, 7rem);
  letter-spacing: -0.005em;
  color: var(--ink);
  opacity: 0.96;
  position: relative;
  z-index: 1;
}

.product-body {
  padding: 1.75rem 1.75rem 2rem;
}

.product-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.product-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.15rem;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.product-desc {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.chip {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--hairline-2);
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.chip-status {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 500;
}

/* ----- product card as link (used on landing grid) ----- */
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-link + .product-card-link {
  margin-top: 1.5rem;
}

.product-card-link .product-card {
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.product-card-link:hover .product-card,
.product-card-link:focus-visible .product-card {
  border-color: var(--hairline-2);
  transform: translateY(-2px);
}

.product-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 18px;
}

/* ----- text sections ----- */
.section {
  padding-block: 3rem;
  border-top: 1px solid var(--hairline);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 1.2rem;
  color: var(--ink);
}

.section p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.section p:last-child {
  margin-bottom: 0;
}

/* ----- approach list ----- */
.approach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.approach-list li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--ink-soft);
  max-width: 60ch;
}

.approach-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.75rem;
  height: 1px;
  background: var(--accent);
}

/* ----- contact ----- */
.contact-email {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-2);
  padding-bottom: 0.15rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ----- generic anchors ----- */
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent-soft);
  text-decoration-color: var(--accent-soft);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ----- footer ----- */
footer.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2.25rem 0 3rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-row a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-row a:hover,
.footer-row a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ----- privacy-specific tweaks ----- */
.subhead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.subhead-lede {
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
  max-width: 60ch;
}

/* ----- responsive ----- */
@media (max-width: 560px) {
  .hero {
    padding-block: 3.5rem 3rem;
  }

  .product-body {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .section {
    padding-block: 2.5rem;
  }
}
