/* Vulpico - coming soon. Plain CSS, no build step, no external requests.
   System font stack. Light and dark follow prefers-color-scheme. */

:root {
  color-scheme: light;

  --paper: #f4f6f5;
  --surface: #fbfcfb;
  --ink: #12181b;
  --body: #3a454a;
  --muted: #5c6a70;
  --rule: #d5dbd9;
  --accent: #0d6b4d;
  --focus: #0d6b4d;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;

  /* Strong ease-out (cubic-bezier(0.23, 1, 0.32, 1)): built-in ease-out is too weak. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --measure: 46ch;
  --shell: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --paper: #0e1214;
    --surface: #161b1e;
    --ink: #e9edea;
    --body: #b4bebf;
    --muted: #8d999f;
    --rule: #2a3236;
    --accent: #6fd7ac;
    --focus: #6fd7ac;
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1,
p,
dl,
dt,
dd {
  margin: 0;
}

.shell {
  margin-inline: auto;
  max-width: var(--shell);
  padding-inline: var(--gutter);
  width: 100%;
}

/* ---------------------------------------------------------------- header */

.site-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-block: clamp(1.25rem, 3vw, 1.75rem);
}

.wordmark {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.014em;
}

/* ------------------------------------------------------------------ hero */

.hero {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(2.5rem, 9vw, 6rem) clamp(2rem, 5vw, 3rem);
}

@media (min-width: 64rem) {
  /* The card column is fixed at 28rem (448px) so the specimen reads wide and
     short; the headline takes what is left and may set on three lines. */
  .hero {
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    grid-template-columns: minmax(0, 1fr) 28rem;
  }
}

h1 {
  color: var(--ink);
  font-size: clamp(1.9rem, 1.15rem + 2.3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
  text-wrap: balance;
}

.accent {
  color: var(--accent);
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: var(--measure);
}

.status {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.contact {
  margin-top: 0.5rem;
}

/* The one link on the page. Inline-block so the press transform applies. */
.link {
  border-radius: 0.25rem;
  color: var(--accent);
  display: inline-block;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  transition: transform 160ms var(--ease-out), text-decoration-color 160ms var(--ease-out);
}

/* Hover only where a real pointer exists; touch taps would otherwise stick. */
@media (hover: hover) and (pointer: fine) {
  .link:hover {
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
    transform: translateY(-1px);
  }
}

.link:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}

.link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  text-decoration: none;
}

/* ----------------------------------------------------- illustration card */

/* Same corner radius and same hairline border as the notice box: no shadow. */
.case-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  margin: 0;
  padding: clamp(0.85rem, 2.2vw, 1.1rem);
  width: 100%;
}

.case-label {
  color: var(--muted);
  font-size: 0.8125rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.055em;
  line-height: 1.35;
}

.case-rows {
  margin: 0.7rem 0 0;
}

.case-row {
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.15rem;
  padding-block: 0.6rem;
}

.case-row:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Label in its own column from 640px up; below that it stacks above its value. */
@media (min-width: 40rem) {
  .case-row {
    align-items: baseline;
    gap: 0.15rem clamp(0.875rem, 2vw, 1.25rem);
    grid-template-columns: 9.5rem minmax(0, 1fr);
  }
}

.case-row dt {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.case-row dd {
  color: var(--body);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* The only accented word in the card. */
.met {
  color: var(--accent);
  font-weight: 600;
}

/* ---------------------------------------------------------------- claims */

.claims {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}

.claims-list {
  border-top: 1px solid var(--rule);
}

.claim {
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 0.35rem;
  padding-block: clamp(1.25rem, 3vw, 1.75rem);
}

@media (min-width: 48rem) {
  .claim {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    padding-block: 1.75rem;
  }
}

.claim dt {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.35;
}

.claim dd {
  max-width: var(--measure);
}

/* ----------------------------------------------------------------- notice */

.notice {
  padding-block: 0 clamp(2.5rem, 6vw, 4rem);
}

.notice p {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 34rem;
  padding: clamp(0.9rem, 2.5vw, 1.1rem) clamp(1rem, 3vw, 1.4rem);
}

/* ---------------------------------------------------------------- footer */

.site-foot {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  padding-block: clamp(2rem, 5vw, 3rem) clamp(2.5rem, 6vw, 3.5rem);
}

.site-foot p + p {
  margin-top: 0.4rem;
}

.company {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.004em;
}

/* ------------------------------------------------------------- entrance */

/* One gentle staged entrance on load. Nothing loops, nothing scrolls.
   Gated so that a browser without animation support shows the page as-is. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 0.875rem, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 520ms var(--ease-out) var(--rise-delay, 0ms) both;
  }
}

/* Reduced motion keeps the fade-free end state: content visible, no movement. */
@media (prefers-reduced-motion: reduce) {
  .rise {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .link {
    transition: none;
  }
}
