:root {
  --bg: #f7fbf8;
  --surface: #ffffff;
  --surface-soft: #eef8f2;
  --text: #16332b;
  --muted: #5f746d;
  --primary: #247a5d;
  --primary-dark: #185d46;
  --primary-light: #dff3e8;
  --accent: #ef9f35;
  --border: #dce9e1;
  --shadow: 0 20px 55px rgba(25, 83, 69, 0.12);
  --radius: 22px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-dark);
  text-underline-offset: 3px;
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 233, 225, 0.92);
  background: rgba(247, 251, 248, 0.92);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(36, 122, 93, 0.2);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

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

.button,
.button-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(36, 122, 93, 0.22);
}

.button:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--primary-dark);
}

.button-secondary:hover {
  border-color: #bfd8c9;
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.hero {
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 15% 18%, rgba(239, 159, 53, 0.15), transparent 27%),
    radial-gradient(circle at 88% 28%, rgba(36, 122, 93, 0.17), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #cfe7d8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  margin: 19px 0 20px;
  font-size: clamp(2.55rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--primary);
}

.hero-copy > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.microcopy {
  margin-top: 17px !important;
  color: var(--muted) !important;
  font-size: 0.88rem !important;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -5% -8% 9%;
  z-index: -1;
  border-radius: 36px;
  background: linear-gradient(145deg, #dff3e8, #f8e8cf);
  filter: blur(1px);
}

.hero-visual img {
  border: 1px solid rgba(220, 233, 225, 0.9);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.trust-strip {
  padding: 22px 0;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.trust-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(25, 83, 69, 0.07);
}

.feature-card {
  padding: 26px;
}

.feature-card .icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--primary-light);
  font-size: 1.45rem;
}

.feature-card h3,
.info-card h2,
.info-card h3 {
  margin: 0 0 9px;
  line-height: 1.25;
}

.feature-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
}

.screenshot-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(36, 122, 93, 0.08), transparent 28%),
    radial-gradient(circle at 92% 70%, rgba(239, 159, 53, 0.09), transparent 26%);
}

.screenshot-section .section-heading .eyebrow {
  margin-bottom: 16px;
}

.screenshot-showcase {
  display: grid;
  gap: 28px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.screenshot-card {
  min-width: 0;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.screenshot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(25, 83, 69, 0.12);
}

.screenshot-card-featured {
  width: 100%;
}

.screenshot-media {
  width: 100%;
  min-width: 0;
  padding: clamp(10px, 1.8vw, 20px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(223, 243, 232, 0.72), rgba(248, 232, 207, 0.48)),
    var(--surface-soft);
}

.screenshot-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(190, 213, 201, 0.78);
  border-radius: 14px;
  background: #f7fbf8;
  box-shadow: 0 13px 30px rgba(25, 83, 69, 0.12);
}

.screenshot-card-featured .screenshot-media {
  padding: clamp(14px, 2.4vw, 28px);
}

.screenshot-copy {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 22px 24px 25px;
}

.screenshot-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.screenshot-copy h3 {
  margin: 1px 0 7px;
  font-size: 1.17rem;
  line-height: 1.3;
}

.screenshot-copy p {
  margin: 0;
  color: var(--muted);
}

.screenshot-card-featured .screenshot-copy {
  padding: 26px 28px 29px;
}

.screenshot-card-featured .screenshot-copy h3 {
  font-size: 1.32rem;
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: 42px;
}

.privacy-panel h2 {
  margin: 0 0 15px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.privacy-panel p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.check-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 900;
}

.privacy-badge {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}

.privacy-badge strong {
  display: block;
  font-size: 5rem;
  line-height: 1;
}

.privacy-badge span {
  display: block;
  margin-top: 14px;
  font-size: 1.08rem;
  font-weight: 800;
}

.cta {
  padding: 0 0 88px;
}

.cta-inner {
  padding: 48px;
  border-radius: 28px;
  background: linear-gradient(120deg, #194f40, #247a5d);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  margin: 0 0 13px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.cta-inner p {
  max-width: 650px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-inner .button {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}

.cta-inner .button:hover {
  background: #f2fbf6;
}

.page-hero {
  padding: 74px 0 48px;
  text-align: center;
  background:
    radial-gradient(circle at 25% 10%, rgba(239, 159, 53, 0.12), transparent 26%),
    radial-gradient(circle at 78% 22%, rgba(36, 122, 93, 0.13), transparent 30%);
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.page-hero p {
  max-width: 740px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
}

.article-card {
  padding: clamp(24px, 5vw, 48px);
}

.article-card h2 {
  margin: 2.2rem 0 0.75rem;
  font-size: 1.55rem;
  line-height: 1.25;
}

.article-card h2:first-child {
  margin-top: 0;
}

.article-card h3 {
  margin: 1.65rem 0 0.55rem;
  font-size: 1.14rem;
}

.article-card p,
.article-card li {
  color: #415b52;
}

.article-card ul,
.article-card ol {
  padding-left: 1.35rem;
}

.article-card li + li {
  margin-top: 0.42rem;
}

.meta-note {
  padding: 15px 17px;
  border-left: 4px solid var(--primary);
  border-radius: 8px 12px 12px 8px;
  background: var(--surface-soft);
  color: var(--muted);
}

.sidebar {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.sidebar h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.sidebar nav {
  display: grid;
  gap: 4px;
}

.sidebar nav a {
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.sidebar nav a:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

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

.support-card {
  padding: 26px;
}

.support-card h2 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.support-card p {
  margin: 0 0 17px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
}

details > div {
  padding: 0 20px 20px;
  color: var(--muted);
}

.code-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 7px;
  background: #e7f1eb;
  color: #214f40;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .privacy-panel,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: -1;
  }

  .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 7px 9px;
  }

  .hero {
    padding: 62px 0 54px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.045em;
  }

  .feature-grid,
  .trust-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .privacy-panel,
  .article-card,
  .cta-inner {
    padding: 26px;
  }

  .privacy-badge {
    min-height: 230px;
  }

  .sidebar nav {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Homepage product tour — v1.2. Images are always shown in full. */
.product-tour {
  display: grid;
  gap: 30px;
}

.product-shot {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.65fr);
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.product-shot:nth-child(even) .product-shot-media {
  order: 2;
}

.product-shot:nth-child(even) .product-shot-copy {
  order: 1;
}

.product-shot-media {
  min-width: 0;
  padding: clamp(12px, 1.7vw, 22px);
  background:
    linear-gradient(135deg, rgba(223, 243, 232, 0.72), rgba(248, 232, 207, 0.5)),
    var(--surface-soft);
}

.product-shot-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(190, 213, 201, 0.78);
  border-radius: 14px;
  background: #f7fbf8;
  box-shadow: 0 13px 30px rgba(25, 83, 69, 0.12);
}

.product-shot-copy {
  padding: clamp(26px, 4vw, 44px);
}

.product-shot-copy .screenshot-number {
  margin-bottom: 18px;
}

.product-shot-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.product-shot-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 860px) {
  .product-shot {
    grid-template-columns: 1fr;
  }

  .product-shot:nth-child(even) .product-shot-media,
  .product-shot:nth-child(even) .product-shot-copy {
    order: initial;
  }

  .product-shot-copy {
    padding: 24px;
  }
}
