:root {
  --ink: #141210;
  --ink-soft: #2c2824;
  --paper: #f3eee4;
  --paper-2: #e7dfd0;
  --copper: #b85c38;
  --copper-bright: #d4734a;
  --muted: #6f6a62;
  --line: rgba(20, 18, 16, 0.12);
  --line-strong: rgba(20, 18, 16, 0.22);
  --shadow: 0 18px 40px rgba(20, 18, 16, 0.08);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--copper);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
  z-index: 20;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, white);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.brand img,
.brand svg {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--copper);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--copper);
}

main {
  flex: 1;
}

.hero {
  padding: 4.5rem 0 3.25rem;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--copper);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 4.2vw + 0.55rem, 4.4rem);
  white-space: nowrap;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lede {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.section {
  padding: 0 0 4.5rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-strong);
}

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

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.35rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 160ms ease, border-color 160ms ease;
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: var(--copper);
  color: inherit;
}

.app-card img {
  width: 88px;
  height: 88px;
  border-radius: 18px;
}

.app-card h2 {
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
}

.app-card p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0 2.5rem;
}

.icon-frame {
  justify-self: end;
  width: 9rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(212, 115, 74, 0.18), transparent 45%),
    linear-gradient(160deg, #1b1815, #2e2924);
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
}

.icon-frame img {
  width: 62%;
  border-radius: 22%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--copper);
  color: white;
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.store-note {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.2rem 1.15rem 1.3rem;
  background: white;
  border-top: 3px solid var(--copper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.prose {
  max-width: 42rem;
  padding: 2.75rem 0 4rem;
}

.prose h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.prose h2 {
  margin-top: 2rem;
}

.prose ol,
.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.shortcuts {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.shortcuts th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 1.1rem 0 0.4rem;
}

.shortcuts td {
  padding: 0.35rem 1rem 0.35rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.shortcuts td:first-child {
  width: 11.5rem;
  white-space: nowrap;
}

.shortcuts kbd {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--paper-2);
  padding: 0.12rem 0.4rem;
  border-radius: 0.3rem;
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: var(--copper);
}

.not-found {
  padding: 6rem 0;
  text-align: center;
}

.not-found h1 {
  max-width: none;
  margin-inline: auto;
}

@media (max-width: 820px) {
  .product-hero,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .icon-frame {
    justify-self: end;
    width: 9rem;
    border-radius: 1.15rem;
  }
}

@media (max-width: 560px) {
  .app-card {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 0.85rem;
    font-size: 0.88rem;
  }
}
