:root {
  --ink: #17202a;
  --muted: #65707c;
  --line: #dfe5e8;
  --paper: #fffef9;
  --wash: #f2f6f4;
  --blue: #1769e0;
  --blue-dark: #0e4eae;
  --green: #16845b;
  --amber: #c77814;
  --red: #d94c4c;
  --violet: #6957c7;
  --shadow: 0 20px 60px rgba(36, 50, 59, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI Variable", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }
.reading { width: min(760px, calc(100% - 44px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 254, 249, .92);
  border-bottom: 1px solid rgba(23, 32, 42, .1);
  backdrop-filter: blur(14px);
}
.nav-inner { min-height: 66px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 31px; height: 31px; border-radius: 8px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #4d5863; text-decoration: none; font-size: .9rem; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 9px 15px; border-radius: 8px; color: #fff !important; background: var(--ink); }

.hero {
  min-height: calc(100vh - 66px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 25%, rgba(23, 105, 224, .14), transparent 30%),
    radial-gradient(circle at 82% 75%, rgba(22, 132, 91, .11), transparent 27%),
    linear-gradient(180deg, #f9fbfa, var(--paper));
}
.hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 58px; align-items: center; padding-block: 74px; }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
.hero h1 { max-width: 630px; margin: 0; font-size: clamp(3.1rem, 6vw, 5.9rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy { max-width: 590px; margin: 24px 0 0; color: #55616c; font-size: 1.12rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 11px 20px; border-radius: 9px; text-decoration: none; font-weight: 700; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(23, 105, 224, .2); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border: 1px solid #c9d1d6; color: var(--ink); background: rgba(255, 255, 255, .7); }
.trust { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.trust span { padding: 6px 10px; border: 1px solid #d8e0dc; border-radius: 99px; background: rgba(255, 255, 255, .65); color: #52605c; font-size: .76rem; font-weight: 700; }
.hero-shot { position: relative; }
.hero-shot::before { content: "LIVE · LOCAL · MEMORY ONLY"; position: absolute; top: -22px; right: 24px; z-index: 2; padding: 7px 11px; transform: rotate(2deg); background: #f6d98e; border: 1px solid #d5b76d; font: 700 .68rem/1.2 "Avenir Next", sans-serif; letter-spacing: .11em; }
.screenshot { display: block; width: 100%; height: auto; border: 1px solid #d9dfe1; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }

.section { padding: 96px 0; }
.section-wash { background: var(--wash); border-block: 1px solid #e0e7e3; }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 36px; align-items: end; margin-bottom: 42px; }
.section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 500; }
.section-lede { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--paper); padding: 32px; }
.feature-mark { width: 11px; height: 11px; margin-bottom: 22px; border-radius: 50%; background: var(--blue); box-shadow: 18px 0 0 var(--green), 36px 0 0 var(--amber); }
.feature h3 { margin: 0 0 8px; font-size: 1.35rem; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }
.showcase-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.showcase-grid figure { margin: 0; }
.showcase-grid figure:nth-child(2) { margin-top: 88px; }
figcaption { margin-top: 12px; color: var(--muted); font-size: .84rem; }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 24px; border-top: 2px solid var(--ink); }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 28px; color: var(--blue); font-weight: 800; letter-spacing: .1em; }
.step h3 { margin: 0 0 8px; font-size: 1.3rem; }
.step p { margin: 0; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post-card { display: block; min-height: 260px; padding: 30px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(36, 50, 59, .1); }
.post-card .tag { color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.post-card h3 { margin: 28px 0 12px; font-size: 1.62rem; line-height: 1.15; }
.post-card p { color: var(--muted); }
.post-card .read { display: block; margin-top: 25px; color: var(--blue); font-weight: 700; }
.faq { width: min(800px, 100%); margin-inline: auto; }
details { padding: 18px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); }
.banner { padding: 76px 0; background: var(--ink); color: #fff; text-align: center; }
.banner h2 { margin: 0 0 13px; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; }
.banner p { margin: 0 0 25px; color: #bac5ce; }

.page-head { padding: 88px 0 58px; border-bottom: 1px solid var(--line); background: var(--wash); }
.page-head h1 { max-width: 920px; margin: 12px 0 18px; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.page-head .dek { max-width: 720px; color: var(--muted); font-size: 1.15rem; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); font-size: .82rem; }
.meta .tag { color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.article-layout { display: grid; grid-template-columns: 200px minmax(0, 760px); gap: 56px; justify-content: center; padding: 66px 22px 100px; }
.toc { position: sticky; top: 96px; align-self: start; padding-left: 16px; border-left: 2px solid #dce4e0; }
.toc strong { display: block; margin-bottom: 10px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.toc a { display: block; margin: 8px 0; color: var(--muted); text-decoration: none; font-size: .82rem; line-height: 1.35; }
.toc a:hover { color: var(--blue); }
.prose { min-width: 0; }
.prose > p:first-child { font-size: 1.23rem; color: #35424c; }
.prose h2 { margin: 58px 0 17px; font-size: 2rem; line-height: 1.16; letter-spacing: -.025em; }
.prose h3 { margin: 34px 0 10px; font-size: 1.3rem; }
.prose p, .prose li { color: #3e4b55; }
.prose li { margin: 8px 0; }
.prose ul, .prose ol { padding-left: 24px; }
.prose figure { margin: 40px -70px; }
.prose figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: var(--shadow); }
.callout { margin: 32px 0; padding: 22px 24px; border-left: 4px solid var(--blue); background: #edf4fe; }
.callout strong { display: block; margin-bottom: 5px; }
.checklist { padding: 22px 26px; border: 1px solid #cddbd4; background: #f3f8f5; }
.checklist li::marker { color: var(--green); }
.table-wrap { overflow-x: auto; margin: 28px 0; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--wash); }
.inline-cta { margin-top: 56px; padding: 30px; background: var(--ink); color: #fff; }
.inline-cta h2 { margin: 0 0 8px; }
.inline-cta p { color: #c7d0d8; }
.related { padding: 70px 0; border-top: 1px solid var(--line); background: var(--wash); }
.related h2 { margin: 0 0 28px; font-size: 2rem; }

.footer { padding: 38px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--muted); text-decoration: none; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .section-head, .showcase-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 70px; }
  .hero-shot { margin-top: 15px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .showcase-grid figure:nth-child(2) { margin-top: 10px; }
  .article-layout { grid-template-columns: minmax(0, 760px); }
  .toc { display: none; }
  .prose figure { margin-inline: 0; }
}
@media (max-width: 640px) {
  .wrap, .reading { width: min(100% - 30px, 1120px); }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: 3.2rem; }
  .hero-grid { gap: 34px; }
  .section { padding: 70px 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .button-row .button { width: 100%; }
  .page-head { padding-top: 62px; }
  .article-layout { padding-inline: 16px; }
  .footer-links { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .button-row, .trust, .hero-shot { animation: rise .65s both; }
  .hero-copy { animation-delay: .08s; }
  .button-row { animation-delay: .14s; }
  .trust { animation-delay: .2s; }
  .hero-shot { animation-delay: .17s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}
