:root {
  color-scheme: light dark;
  --bg: #f4f1e8;
  --surface: rgba(255, 255, 255, 0.76);
  --text: #17211d;
  --muted: #5d6963;
  --accent: #176b4d;
  --border: rgba(23, 33, 29, 0.13);
  --shadow: 0 18px 55px rgba(37, 45, 40, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(70, 145, 108, 0.16), transparent 34rem), var(--bg);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand-icon {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-right: 9px;
  border-radius: 6px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.94rem;
}
nav a {
  color: var(--muted);
  text-decoration: none;
}
nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 650;
}
nav .nav-download {
  color: var(--accent);
  font-weight: 700;
}

main {
  padding: 58px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
h2 {
  margin: 2.25rem 0 0.55rem;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
p,
li {
  color: var(--muted);
}
.lede {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.16rem;
}
.hero {
  max-width: 720px;
}
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 620;
}
.trust-line li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
  font-weight: 800;
}
.updated {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.card {
  margin-top: 34px;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.card > :first-child {
  margin-top: 0;
}
.card > :last-child {
  margin-bottom: 0;
}
ul {
  padding-left: 1.25rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-block;
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 680;
  text-decoration: none;
}
.button.secondary {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}
.share-button {
  border: 0;
  font: inherit;
  cursor: pointer;
}
.share-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  font-size: 0.88rem;
}
.hero-actions {
  align-items: center;
  margin-top: 30px;
}
.app-store-button {
  display: grid;
  gap: 1px;
  min-width: 190px;
  padding: 11px 24px 12px;
  border-radius: 14px;
  background: #050706;
  color: white;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(5, 7, 6, 0.2);
}
.app-store-button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.app-store-kicker {
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.01em;
}
.app-store-name {
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.hero-secondary-link {
  padding: 12px 6px;
  font-weight: 650;
}

.qr-download {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  color: var(--text);
  text-decoration: none;
}

.qr-download img {
  display: block;
  width: 88px;
  height: 88px;
  border: 7px solid #f4f1e8;
  border-radius: 12px;
}

.qr-download span {
  display: grid;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.qr-download strong {
  color: var(--text);
  font-size: 0.9rem;
}

.showcase,
.workflow,
.plugin-callout,
.benefits,
.guide-preview,
.social-card-section {
  margin-top: 96px;
}
.section-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.section-lede {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.benefit-grid,
.guide-grid,
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.benefit-card,
.guide-card,
.workflow-step {
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.benefit-card p,
.workflow-step p {
  margin: 8px 0 0;
  font-size: 0.92rem;
}
.workflow-step {
  position: relative;
  padding-top: 64px;
}
.step-number {
  position: absolute;
  top: 20px;
  left: 22px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
}
.workflow-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px 24px;
  margin-top: 18px;
  padding: 20px 23px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.workflow-note p {
  margin: 0;
  font-size: 0.92rem;
}
.workflow-note a {
  font-weight: 700;
  white-space: nowrap;
}
.guide-card {
  display: grid;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.guide-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.guide-card strong {
  font-size: 1.08rem;
  line-height: 1.3;
}
.guide-card > span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}
.guide-label {
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.social-card-copy {
  max-width: 760px;
}
.social-card-link {
  display: block;
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.social-card-link:hover {
  border-color: var(--accent);
}
.social-card-link img {
  display: block;
  width: 100%;
  height: auto;
}

.download-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 96px;
  padding: clamp(26px, 5vw, 46px);
  border-radius: 26px;
  background: var(--accent);
}
.download-callout .eyebrow,
.download-callout h2,
.download-callout p {
  color: white;
}
.download-callout h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
}
.download-callout p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 0;
  opacity: 0.86;
}
.download-callout .app-store-button {
  flex: 0 0 auto;
}

.article-header {
  max-width: 760px;
}
.article-body {
  margin-top: 38px;
}
.article-body h2 {
  margin-top: 2.6rem;
  font-size: 1.45rem;
}
.article-body h3 {
  margin-top: 1.8rem;
}
.article-body ol,
.article-body ul {
  padding-left: 1.35rem;
}
.article-body li + li {
  margin-top: 0.65rem;
}
.article-body .tip {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--surface);
}
.article-body .tip p {
  margin: 0;
}
.article-cta {
  margin-top: 42px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: 22px;
  margin-top: 42px;
}

.screenshot-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.screenshot-link {
  display: block;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border);
  background: #e8eee9;
}

.screenshot-card figcaption {
  display: grid;
  gap: 3px;
  padding: 14px 15px 17px;
}
.screenshot-card figcaption strong {
  font-size: 0.92rem;
  line-height: 1.3;
}
.screenshot-card figcaption span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 560px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  main {
    padding-top: 38px;
  }
  .showcase,
  .workflow {
    margin-top: 72px;
  }
  .plugin-callout {
    margin-top: 72px;
  }
  .benefits,
  .guide-preview,
  .social-card-section,
  .download-callout {
    margin-top: 72px;
  }
  .social-card-link {
    border-radius: 18px;
  }
  .benefit-grid,
  .guide-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .workflow-note {
    grid-template-columns: 1fr;
  }
  .qr-download {
    display: none;
  }
  .download-callout {
    align-items: flex-start;
    flex-direction: column;
  }
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .screenshot-card {
    border-radius: 18px;
  }
  .screenshot-card figcaption {
    padding: 12px;
  }
  .screenshot-card figcaption span {
    display: none;
  }
}

@media (min-width: 561px) and (max-width: 820px) {
  .screenshot-grid {
    grid-template-columns: repeat(3, minmax(0, 200px));
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111814;
    --surface: rgba(28, 38, 33, 0.8);
    --text: #eef5f1;
    --muted: #b1beb7;
    --accent: #70d5aa;
    --border: rgba(238, 245, 241, 0.13);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  }
  .button {
    color: #0d251b;
  }
  .app-store-button {
    color: white;
  }
}
