:root {
  --paper: #f4f2ec;
  --surface: #ffffff;
  --ink: #14302c;
  --ink-soft: #3c5550;
  --muted: #6b7c78;
  --line: #e5e1d6;
  --brand: #0f5b52;
  --brand-strong: #0b4640;
  --brand-soft: #e1efeb;
  --amber: #f09a2e;
  --amber-soft: #fdf0dc;
  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(20, 48, 44, 0.35);
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--brand);
}

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

.container {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

/* ---------- Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 242, 236, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--brand);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(15, 91, 82, 0.8);
  transition: background 0.15s, transform 0.15s;
}

.button:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--paper) 100%);
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.hero h1 {
  margin: 26px auto 18px;
  max-width: 820px;
  font-size: clamp(36px, 5.4vw, 60px);
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero .lead {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--ink-soft);
  font-size: 19px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pills li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.hero-shot {
  margin: 48px auto 0;
  max-width: 1040px;
}

/* ---------- Screenshots keep their native aspect ratio ---------- */

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */

section {
  padding: 84px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
}

.section-head p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.feature p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.white {
  background: var(--surface);
}

.gallery {
  display: grid;
  gap: 64px;
}

.gallery figure {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 40px;
  align-items: center;
}

.gallery figure:nth-child(even) {
  grid-template-columns: 1.7fr 1fr;
}

.gallery figure:nth-child(even) figcaption {
  order: 2;
}

.gallery figcaption h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.gallery figcaption p {
  margin: 0;
  color: var(--ink-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
}

.steps h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.steps p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.post-card {
  display: block;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.post-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.post-card h3 {
  font-size: 22px;
}

.post-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.post-card time {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.center {
  margin-top: 34px;
  text-align: center;
}

.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
  list-style: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.cta-banner {
  padding: 56px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-soft), var(--amber-soft));
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.cta-banner p {
  max-width: 560px;
  margin: 14px auto 28px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

footer nav {
  display: flex;
  gap: 22px;
}

footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

/* ---------- Articles and legal pages ---------- */

.article {
  width: min(760px, 100% - 40px);
  margin: 0 auto;
  padding: 56px 0 80px;
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.article h1 {
  font-size: clamp(32px, 4.6vw, 46px);
}

.article .meta {
  margin: 14px 0 34px;
  color: var(--muted);
  font-size: 15px;
}

.article h2 {
  margin: 44px 0 14px;
  font-size: 28px;
}

.article h3 {
  margin: 30px 0 10px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.article p,
.article li {
  color: var(--ink-soft);
}

.article li {
  margin-bottom: 8px;
}

.article figure {
  margin: 30px 0;
}

.article figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.article code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--amber-soft);
  color: #7d4a07;
  font-size: 0.9em;
}

.callout {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: var(--brand-soft);
}

.callout p {
  margin: 0;
  color: var(--brand-strong);
}

.article table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.article th,
.article td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article th {
  color: var(--ink);
}

.article td {
  color: var(--ink-soft);
}

.article-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.article-cta h2 {
  margin-top: 0;
  font-size: 24px;
}

.related {
  margin-top: 32px;
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .features,
  .steps,
  .posts {
    grid-template-columns: 1fr;
  }

  .gallery figure,
  .gallery figure:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery figure:nth-child(even) figcaption {
    order: 0;
  }

  .cta-banner {
    padding: 36px 22px;
  }

  section {
    padding: 60px 0;
  }
}

/* Sections nested in an article must not inherit the landing page spacing. */
.article section {
  padding: 0;
}

.blog-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.post-card h2 {
  margin: 0;
  font-size: 24px;
}

.legal h2 {
  font-size: 24px;
}
