:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f4f1eb;
  --ink: #171410;
  --muted: #5f676f;
  --line: #ded8cf;
  --green: #167a57;
  --green-soft: #dff1e7;
  --cyan: #087f8c;
  --amber: #b46d10;
  --red: #b13d3a;
  --shadow: 0 20px 50px rgba(41, 34, 24, 0.12);
  --content: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(222, 216, 207, 0.26) 1px, transparent 1px),
    linear-gradient(180deg, #fffcf6 0%, var(--paper) 38%, #eef5f2 100%);
  background-size: 64px 64px, auto;
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 12px;
  background: var(--ink);
  color: white;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 216, 207, 0.72);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-inner,
.footer-inner,
.policy-inner {
  width: calc(100% - 32px);
  max-width: var(--content);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 750;
  text-decoration: none;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.12)),
    conic-gradient(from 230deg, #168267, #0f8caa, #f0a43d, #c74f4a, #168267);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 10px 18px rgba(22, 122, 87, 0.18);
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
}

.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 28px rgba(23, 20, 16, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.button-muted {
  background: var(--green-soft);
  color: #0e5f43;
}

main {
  overflow: hidden;
}

.hero {
  padding: 52px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: start;
  gap: 48px;
}

.eyebrow {
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px;
  border: 1px solid #cfded4;
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(223, 241, 231, 0.72);
  color: #0f6044;
  font-size: 13px;
  font-weight: 760;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 62px;
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-row li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.visual-panel {
  position: relative;
  min-height: 0;
  padding-bottom: 24px;
}

.phone-stack {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  align-items: end;
  gap: 16px;
  justify-content: center;
}

.phone-frame {
  overflow: hidden;
  border: 8px solid #171410;
  border-radius: 30px;
  background: #171410;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
}

.phone-frame.small {
  width: 188px;
  height: 408px;
  justify-self: end;
  margin-bottom: 56px;
  opacity: 0.94;
}

.phone-frame.large {
  width: 258px;
  height: 560px;
  justify-self: start;
}

.floating-note {
  position: absolute;
  right: 4px;
  bottom: 0;
  max-width: 230px;
  border: 1px solid rgba(222, 216, 207, 0.9);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(41, 34, 24, 0.14);
  font-weight: 740;
}

.floating-note span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
}

.section {
  padding: 58px 0;
}

.section.tinted {
  background: rgba(244, 241, 235, 0.72);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-header h2,
.policy-title {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.12;
}

.section-header p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
}

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

.feature-card,
.policy-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.feature-card {
  min-height: 170px;
  padding: 18px;
}

.feature-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

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

.feature-card .bar {
  width: 46px;
  height: 5px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--green);
}

.feature-card:nth-child(2) .bar {
  background: var(--cyan);
}

.feature-card:nth-child(3) .bar {
  background: var(--amber);
}

.feature-card:nth-child(4) .bar {
  background: var(--red);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 14px;
}

.shot {
  overflow: hidden;
  aspect-ratio: 900 / 1957;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 26px rgba(41, 34, 24, 0.08);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 34px;
}

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

.privacy-list li {
  border-left: 5px solid var(--green);
  padding: 8px 0 8px 14px;
  color: var(--muted);
}

.cta-band {
  padding: 54px 0 70px;
  background: #17231d;
  color: white;
}

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

.cta-box h2 {
  margin-bottom: 8px;
  font-size: 36px;
  line-height: 1.14;
}

.cta-box p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.9);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.policy-page {
  padding: 52px 0 68px;
}

.policy-inner {
  max-width: 920px;
}

.policy-kicker {
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 780;
}

.policy-title {
  margin-bottom: 12px;
}

.policy-updated {
  margin-bottom: 30px;
  color: var(--muted);
}

.policy-card,
.support-card {
  padding: 24px;
  margin-bottom: 16px;
}

.policy-card h2,
.support-card h2 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.24;
}

.policy-card p,
.policy-card li,
.support-card p,
.support-card li {
  color: var(--muted);
}

.policy-card ul,
.support-card ul {
  padding-left: 22px;
  margin-bottom: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.email-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--green-soft);
  color: #0e5f43;
  font-weight: 760;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .privacy-band,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    max-width: 620px;
  }

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

  .screenshot-grid {
    overflow-x: auto;
    grid-template-columns: repeat(5, 210px);
    padding-bottom: 8px;
  }

  .section-header,
  .cta-box {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: visible;
  }

  .nav a {
    min-height: 38px;
    padding: 8px 6px;
    font-size: 15px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 18px;
  }

  .visual-panel {
    max-width: none;
    padding-bottom: 0;
  }

  .phone-stack {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 170px;
    margin: 0 auto;
  }

  .phone-frame {
    border-width: 5px;
    border-radius: 22px;
  }

  .phone-frame.small {
    display: none;
  }

  .phone-frame.large {
    width: 128px;
    height: 278px;
    justify-self: center;
  }

  .floating-note {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 330px);
  }

  .hero-actions .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

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

  .section-header h2,
  .policy-title {
    font-size: 30px;
  }

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