:root {
  --bg: #f5efe6;
  --bg-soft: #fbf7f0;
  --surface: rgba(255, 251, 243, 0.82);
  --surface-strong: #fffaf2;
  --ink: #1d2824;
  --muted: #60726a;
  --line: rgba(29, 40, 36, 0.12);
  --accent: #176d60;
  --accent-soft: #dff1eb;
  --shadow: 0 30px 60px rgba(24, 34, 29, 0.12);
  --shadow-soft: 0 16px 30px rgba(24, 34, 29, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1140px;
  --font-body: "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(23, 109, 96, 0.12), transparent 34%),
    linear-gradient(180deg, #f7f1e9 0%, #f2ebe2 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(29, 40, 36, 0.08);
  font-family: "SF Mono", "Monaco", monospace;
  font-size: 0.92em;
}

.shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.narrow-shell {
  width: min(calc(100% - 2rem), 800px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem 0 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.hero,
.page-main {
  padding-top: 2rem;
}

.hero {
  padding-bottom: 1.5rem;
}

.hero-shell {
  max-width: 760px;
  margin: 0 auto;
  min-height: calc(100vh - 14rem);
  display: flex;
  align-items: center;
}

.hero-copy,
.info-card,
.feature-card,
.policy-block,
.cta-box {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  padding: 2rem 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: var(--font-display);
}

h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 7vw, 5.7rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.25rem;
}

.lede,
.section-heading p,
.info-card p,
.feature-card p,
.policy-block p,
.cta-box p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #f8fbfa;
  box-shadow: 0 12px 24px rgba(23, 109, 96, 0.22);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.stack-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.stack-list li {
  border: 1px solid rgba(23, 109, 96, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.section {
  padding: 1rem 0 4.5rem;
}

.section-soft {
  padding-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.feature-grid,
.support-grid,
.two-column,
.screenshot-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.support-grid,
.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screenshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.info-card,
.policy-block,
.cta-box,
.screenshot-card {
  padding: 1.45rem;
  border-radius: var(--radius-md);
}

.feature-card p,
.info-card p,
.policy-block p {
  font-size: 0.98rem;
}

.cta-panel {
  padding-top: 0;
}

.screenshot-card {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow-soft);
}

.screenshot-image {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.screenshot-copy {
  padding-top: 1rem;
}

.screenshot-copy p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(223, 241, 235, 0.9), rgba(255, 250, 242, 0.92));
}

.page-hero {
  padding: 2rem 0 1rem;
}

.privacy-copy {
  color: var(--ink);
}

.privacy-copy h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.privacy-copy p,
.privacy-copy ul {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.privacy-copy ul {
  padding-left: 1.25rem;
}

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

.shortcut-list {
  margin-top: 1.2rem;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

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

.shortcut-key {
  display: inline-flex;
  min-width: 7.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.92rem;
  font-weight: 700;
  justify-content: center;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.stack-list li {
  padding: 0.72rem 0.9rem;
  border-radius: 1rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

@media (max-width: 980px) {
  .feature-grid,
  .support-grid,
  .two-column,
  .screenshot-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .support-grid,
  .two-column {
    display: grid;
  }

  .hero-shell {
    min-height: auto;
  }

  .cta-box {
    display: block;
  }

  .cta-box .cta-row {
    margin-top: 1.4rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 0.7rem;
  }

  .nav-shell,
  .footer-shell,
  .shortcut-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .section {
    padding-bottom: 3rem;
  }

  .hero-shell {
    margin: 0;
  }

  h1 {
    max-width: 11ch;
  }
}
