@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #f2f0e9;
  --surface: #ebe8df;
  --text: #151515;
  --muted: #5f5e58;
  --line: #d8d4ca;
  --accent: #295cff;
  --radius: 12px;
  --page: 1180px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 62%, white);
  outline-offset: 4px;
  border-radius: 4px;
}

.shell { width: min(calc(100% - 40px), var(--page)); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.brand-group { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.company {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.product-mark {
  color: var(--muted);
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
}
nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms var(--ease-out);
}
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

main { padding-block: 72px 96px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
  align-items: end;
  gap: 64px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}
h1, h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(56px, 8vw, 118px);
  line-height: 0.9;
}
.hero-copy { margin: 0; color: var(--muted); font-size: 17px; max-width: 36ch; }
.hero-copy strong { color: var(--text); font-weight: 600; }

.section { padding-block: 72px; border-bottom: 1px solid var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.section-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 0.95; }
.section-heading p { margin: 7px 0 0; color: var(--muted); max-width: 52ch; }

.feature-list { border-top: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 40px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.feature h3 { margin: 0; font-size: 17px; letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--muted); max-width: 66ch; }

.callout {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}
.callout strong { font-size: 17px; }
.callout p { margin: 0; color: var(--muted); max-width: 66ch; }
.callout a { color: var(--accent); text-underline-offset: 3px; }

.inline-link { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.meta { color: var(--muted); font-size: 14px; max-width: 70ch; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(48px, 7vw, 88px); margin-bottom: 18px; }
.prose h2 { margin: 48px 0 10px; font-size: 34px; line-height: 1; letter-spacing: -0.035em; }
.prose p, .prose li { max-width: 70ch; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose code {
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--surface);
  border-radius: 4px;
  padding: 0.08em 0.3em;
}

.notice {
  margin: 32px 0 46px;
  padding: 22px 0;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}
.notice p { margin: 0; }

.support-contact {
  margin: 30px 0 52px;
  padding: 22px 0;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}
.support-contact p { margin: 0; }

.faq-group { margin-top: 48px; }
.faq-group > h2 { margin-bottom: 16px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 17px;
  color: var(--muted);
  font-family: "DM Mono", ui-monospace, monospace;
  font-weight: 400;
}
details[open] summary::after { content: "-"; }
details p { margin: -2px 0 20px; color: var(--muted); max-width: 70ch; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding-block: 28px 48px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 30px), var(--page)); }
  .site-header { align-items: flex-start; }
  .brand-group { flex-direction: column; gap: 2px; }
  nav { gap: 16px; justify-content: flex-end; }
  main { padding-block: 48px 72px; }
  .hero, .section-heading, .feature, .callout { grid-template-columns: 1fr; gap: 18px; }
  .hero { padding-bottom: 52px; }
  h1 { font-size: clamp(52px, 17vw, 76px); }
  .section { padding-block: 52px; }
  .section-heading { margin-bottom: 30px; }
  .feature { padding-block: 22px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
