@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/plex-sans.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Serif";
  src: url("assets/plex-serif.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --ink: #1b1a17;
  --muted: #5d5348;
  --line: #d6cebc;
  --accent: #aa3615;
  --accent-hover: #87290e;
  --display: "IBM Plex Serif", Georgia, serif;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.26em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.wrap {
  width: min(74rem, calc(100% - clamp(2.5rem, 9vw, 9rem)));
  margin-inline: auto;
}

.site-header {
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand img { width: 7.5rem; height: auto; }
.brand span {
  padding-inline-start: 0.65rem;
  border-inline-start: 1px solid var(--line);
  font-size: 0.86rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }

.release-download {
  justify-self: end;
  display: inline-flex;
  min-height: 2.625rem;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: var(--accent);
  color: #fff9f2;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.release-download:hover { background: var(--accent-hover); }

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(2rem, 5.7vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  font-size: 0.875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 1.45rem; height: 1px; background: currentColor; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; }
h1 { font-size: clamp(2.85rem, 5.6vw, 5rem); line-height: 0.99; letter-spacing: -0.06em; }
h1 em { display: block; color: var(--accent); font-style: normal; }

.intro {
  max-width: 27rem;
  margin: 1.6rem 0 1.85rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.53;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border-radius: 0.33rem;
  background: var(--accent);
  color: #fff9f2;
  font-weight: 600;
  text-decoration: none;
}

.button:hover { background: var(--accent-hover); }

.hero-preview {
  display: block;
  min-width: 0;
  padding: clamp(0.5rem, 1.1vw, 0.9rem);
  border: 1px solid #cfc3af;
  border-radius: 0.75rem;
  background: #eae4d6;
  box-shadow: 0 0.85rem 1.8rem -1.1rem #3d271d52;
  color: var(--muted);
  text-decoration: none;
}

.hero-preview img {
  width: 100%;
  height: auto;
  border: 1px solid #d6cebc;
  border-radius: 0.38rem;
}

.hero-preview span {
  display: block;
  padding-block-start: 0.55rem;
  text-align: end;
  font-size: 0.875rem;
}

.hero-preview:hover span,
.hero-preview:focus-visible span { color: var(--accent); text-decoration: underline; }

.features {
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  scroll-margin-block-start: 1rem;
}

h2 { font-size: clamp(1.9rem, 3.7vw, 3.25rem); line-height: 1.11; letter-spacing: -0.045em; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: 1.9rem;
}

.feature-grid article + article { border-inline-start: 1px solid var(--line); }
.feature-grid article { padding-inline: clamp(1.15rem, 3vw, 2.25rem); }
.feature-grid article:first-child { padding-inline-start: 0; }
.feature-grid article:last-child { padding-inline-end: 0; }
h3 { margin: 0.8rem 0 0.5rem; font-size: clamp(1.22rem, 2.15vw, 1.55rem); letter-spacing: -0.025em; }
.feature-grid p { max-width: 21rem; margin: 0; color: var(--muted); line-height: 1.55; }

.icon {
  position: relative;
  display: grid;
  place-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #e4c5b1;
  border-radius: 0.38rem;
  background: #f3e6db;
  color: var(--accent);
}

.icon-edit { grid-auto-flow: column; align-items: center; gap: 2px; }
.icon-edit i { width: 2px; height: 8px; border-radius: 2px; background: currentColor; }
.icon-edit i:nth-child(even) { height: 13px; }
.icon-edit i:nth-child(3) { height: 18px; }
.icon-speech i { width: 17px; height: 13px; border: 1.5px solid currentColor; border-radius: 4px; }
.icon-speech i::after { position: absolute; top: 23px; left: 13px; width: 5px; height: 5px; content: ""; background: #f3e6db; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: skewY(-34deg); }
.icon-library i { width: 17px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; }
.icon-library i::before { position: absolute; top: 10px; left: 11px; width: 8px; height: 5px; content: ""; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 2px 2px 0 0; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-block: 1.25rem 1.6rem;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  h1 { font-size: clamp(2.65rem, 11vw, 5.25rem); }
  h1 br { display: none; }
}

@media (max-width: 37rem) {
  .site-header { min-height: 4.5rem; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; }
  .site-nav { display: none; }
  .brand { max-width: 100%; gap: 0.4rem; }
  .brand img { width: 5.75rem; min-width: 0; }
  .brand span { padding-inline-start: 0.4rem; font-size: 0.75rem; }
  .release-download { font-size: 0.8125rem; padding-inline: 0.6rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-block-start: 1.5rem; }
  .feature-grid article { padding-inline: 0; }
  .feature-grid article + article { padding-block-start: 1.25rem; border: 0; border-top: 1px solid var(--line); }
}
