:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --panel: #ffffff;
  --text: #161a1f;
  --muted: #606a73;
  --line: #dce4df;
  --brand: #1f6f5b;
  --brand-strong: #174d41;
  --brand-soft: #e4f3ee;
  --accent: #b84f36;
  --accent-soft: #fff0eb;
  --ink-band: #12362f;
  --shadow: 0 24px 70px rgba(24, 44, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.hero {
  padding: 28px 0 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
}

h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.1;
}

h2 {
  margin: 26px 0 10px;
  font-size: 26px;
  line-height: 1.25;
}

h2:first-child {
  margin-top: 0;
}

h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.28;
}

p {
  margin: 10px 0;
}

ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.card {
  margin-top: 22px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 8px;
  font-weight: 650;
  text-decoration: none;
}

.meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin-top: 20px;
  padding: 16px 18px;
  background: #fff7e6;
  border: 1px solid #ecd49c;
  border-radius: 8px;
}

.footer {
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 244, 0.92);
  border-bottom: 1px solid rgba(220, 228, 223, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(24, 44, 39, 0.16);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 17px;
}

.brand-text span {
  color: var(--muted);
  font-size: 13px;
}

.top-nav,
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.top-nav a,
.footer-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.top-nav a:hover,
.footer-inner nav a:hover {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.landing-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.landing-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url("assets/home-local-storage.jpg") right center / auto 118% no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.92fr);
  align-items: center;
  min-height: 580px;
  gap: 40px;
  padding: 52px 0 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-copy h1 {
  max-width: 610px;
  font-size: 56px;
  line-height: 1.06;
}

.hero-copy .lede {
  max-width: 570px;
  font-size: 19px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  color: #ffffff;
  background: var(--brand-strong);
  box-shadow: 0 14px 28px rgba(23, 77, 65, 0.2);
}

.button-primary:hover {
  background: #103d34;
}

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

.button-secondary:hover {
  background: #ffffff;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  margin: 0;
  padding: 8px 12px;
  color: var(--brand-strong);
  background: rgba(228, 243, 238, 0.9);
  border: 1px solid rgba(31, 111, 91, 0.16);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-height: 480px;
}

.screenshot-stage {
  position: relative;
  width: min(500px, 100%);
  height: 480px;
  margin-left: auto;
}

.phone-shot {
  position: absolute;
  width: 40%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phone-shot-main {
  top: 0;
  left: 27%;
  z-index: 3;
  width: 48%;
}

.phone-shot-left {
  top: 92px;
  left: 0;
  z-index: 2;
}

.phone-shot-right {
  right: 0;
  bottom: 8px;
  z-index: 1;
}

.section-block,
.screen-section,
.contact-section {
  padding: 76px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.section-heading-compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 20px;
}

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

.feature-card {
  min-height: 190px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.screen-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.screen-card {
  margin: 0;
  padding: 12px;
  background: #f5f7f4;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.screen-card img {
  width: 100%;
  aspect-ratio: 720 / 1560;
  object-fit: cover;
  border-radius: 6px;
}

.screen-card figcaption {
  padding: 12px 2px 2px;
  color: var(--text);
  font-weight: 750;
  line-height: 1.35;
}

.trust-band {
  padding: 72px 0;
  color: #edf7f4;
  background: var(--ink-band);
}

.trust-band .eyebrow,
.trust-band h2 {
  color: #edf7f4;
}

.trust-band h2 {
  max-width: 440px;
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
}

.trust-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.trust-list p {
  margin: 0;
  padding: 16px 18px;
  color: #d8e8e3;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-panel > div {
  max-width: 740px;
}

.contact-panel h2 {
  margin: 0;
  font-size: 30px;
}

.contact-panel p:not(.eyebrow) {
  color: var(--muted);
}

.landing-footer {
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
}

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

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  h1 {
    font-size: 38px;
  }

  .landing-hero {
    background: var(--bg);
  }

  .landing-hero::before {
    background-position: center bottom;
    background-size: 100% auto;
    opacity: 0.07;
  }

  .hero-layout {
    display: block;
    min-height: 0;
    padding: 48px 0 56px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-media {
    min-height: 430px;
    margin-top: 34px;
  }

  .screenshot-stage {
    height: 430px;
    margin: 0 auto;
  }

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

  .trust-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

@media (max-width: 640px) {
  .landing-wrap {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 14px 0;
  }

  .top-nav {
    width: 100%;
  }

  .top-nav a {
    flex: 1 1 auto;
    justify-content: center;
    padding: 7px 8px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-copy .lede {
    font-size: 16px;
  }

  .hero-layout {
    padding: 30px 0 34px;
  }

  .cta-row {
    gap: 10px;
    margin-top: 18px;
  }

  .cta-row .button {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 15px;
  }

  .contact-panel .button {
    width: 100%;
  }

  .hero-facts {
    margin-top: 16px;
  }

  .hero-facts li {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero-media {
    min-height: 250px;
    margin-top: 24px;
  }

  .screenshot-stage {
    width: min(320px, 100%);
    height: 250px;
  }

  .phone-shot {
    border-radius: 20px;
  }

  .phone-shot-main {
    left: 30%;
    width: 40%;
  }

  .phone-shot-left,
  .phone-shot-right {
    width: 32%;
  }

  .phone-shot-left {
    top: 52px;
  }

  .phone-shot-right {
    bottom: 0;
  }

  .section-block,
  .screen-section,
  .contact-section {
    padding: 56px 0;
  }

  .section-heading h2,
  .trust-band h2 {
    font-size: 30px;
  }

  .section-heading-compact {
    display: block;
  }

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

  .feature-card {
    min-height: 0;
    padding: 20px;
  }

  .trust-band {
    padding: 56px 0;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-panel h2 {
    font-size: 26px;
  }

  .page {
    width: min(100% - 24px, 860px);
    padding-top: 24px;
  }

  .card {
    padding: 20px;
  }
}
