:root {
  color-scheme: light;
  --ink: #10231e;
  --text: #2e443d;
  --muted: #667973;
  --line: #d9e5e0;
  --surface: #ffffff;
  --wash: #f3f7f5;
  --green: #23624f;
  --green-dark: #143d33;
  --mint: #e7f2ed;
  --amber: #d6932f;
  --blue: #183f70;
  --shadow: 0 28px 80px rgba(19, 48, 39, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: #ffffff;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 18px 24px;
  position: relative;
  z-index: 3;
}

.site-header {
  min-height: 70px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  height: 32px;
  width: 32px;
}

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

nav a {
  color: #415650;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--green);
}

.hero {
  isolation: isolate;
  min-height: min(680px, calc(100vh - 70px));
  overflow: hidden;
  padding: 66px 24px 42px;
  position: relative;
}

.hero-art {
  background-image: url("assets/hero-memory-recovery.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  inset: -70px 0 0 0;
  position: absolute;
  z-index: -2;
}

.hero::after {
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 28%, rgba(255, 255, 255, 0.6) 56%, rgba(255, 255, 255, 0.08) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero-inner {
  display: grid;
  gap: 26px;
  margin: 0 auto;
  max-width: 1220px;
}

.hero h1 {
  font-size: clamp(58px, 9vw, 126px);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
  max-width: 660px;
}

.hero p {
  color: var(--text);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.52;
  margin: 0;
  max-width: 650px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--green);
  border-radius: 8px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  min-height: 46px;
  padding: 12px 17px;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-dark);
}

.hero-proof {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 0;
  max-width: 780px;
}

.hero-proof div {
  border-left: 2px solid rgba(35, 98, 79, 0.34);
  padding-left: 14px;
}

.hero-proof dt {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.hero-proof dd {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 5px 0 0;
}

.section-band {
  padding: 76px 24px;
}

.section-inner {
  margin: 0 auto;
  max-width: 1220px;
}

.product-band {
  background: linear-gradient(180deg, #ffffff 0%, #f2f7f5 100%);
  border-top: 1px solid rgba(217, 229, 224, 0.75);
}

.product-story {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
}

.story-copy h2,
.section-heading-large h2,
.trust-layout h2,
.cta-panel h2,
.legal-content h1,
.legal-content h2 {
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.story-copy h2,
.section-heading-large h2,
.trust-layout h2,
.cta-panel h2 {
  font-size: clamp(38px, 5.8vw, 72px);
}

.story-copy p,
.section-heading-large p,
.trust-layout p,
.cta-panel p,
.legal-content p,
.legal-content li {
  color: var(--text);
  line-height: 1.62;
}

.story-copy p,
.section-heading-large p,
.trust-layout p,
.cta-panel p {
  font-size: 18px;
  margin: 20px 0 0;
  max-width: 680px;
}

.product-scene {
  min-width: 0;
  position: relative;
}

.product-scene::before {
  background: linear-gradient(135deg, rgba(35, 98, 79, 0.2), rgba(24, 63, 112, 0.08));
  border: 1px solid rgba(35, 98, 79, 0.2);
  border-radius: 8px;
  content: "";
  inset: 36px -18px -24px 34px;
  position: absolute;
}

.browser-strip {
  align-items: center;
  background: #edf4f1;
  border: 1px solid #cbdad4;
  border-radius: 8px 8px 0 0;
  display: flex;
  gap: 8px;
  height: 38px;
  padding: 0 13px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.browser-strip span {
  background: #91aca3;
  border-radius: 999px;
  height: 9px;
  width: 9px;
}

.browser-strip strong {
  color: var(--muted);
  font-size: 12px;
  margin-left: 10px;
}

.popup-preview {
  background: #f6f9f8;
  border: 1px solid #c9d8d2;
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  margin-left: auto;
  max-width: 500px;
  min-height: 560px;
  padding: 15px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.preview-top {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.preview-top strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.preview-top span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.preview-top em {
  border: 1px solid #b9d1c7;
  border-radius: 999px;
  color: var(--green);
  flex: 0 0 auto;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  padding: 5px 8px;
}

.current-page,
.field-block,
.related-preview,
.preview-grid > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.current-page,
.field-block {
  display: grid;
  gap: 3px;
  padding: 10px;
}

.current-page span,
.field-block span,
.preview-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.current-page strong {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.current-page small {
  color: var(--muted);
  font-size: 11px;
}

.field-block p {
  color: #31463f;
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

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

.preview-grid > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px;
}

.preview-grid strong {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preview-actions span {
  background: #ffffff;
  border: 1px solid #cad6d0;
  border-radius: 7px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  padding: 7px 10px;
}

.preview-actions span:first-child {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.related-preview {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.section-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.section-title strong {
  font-size: 13px;
}

.section-title span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.related-preview article {
  border: 1px solid #e2e8e5;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 9px;
}

.related-preview article strong {
  color: var(--blue);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-preview article span {
  color: var(--muted);
  font-size: 11px;
}

.workflow-band {
  background: #10231e;
  color: #ffffff;
}

.workflow-band .section-heading-large h2,
.workflow-band .workflow h3 {
  color: #ffffff;
}

.workflow-band .section-heading-large p,
.workflow-band .workflow p {
  color: #c5d5cf;
}

.section-heading-large {
  display: grid;
  gap: 18px;
  margin-bottom: 44px;
  max-width: 900px;
}

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

.workflow article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  min-height: 250px;
  padding: 28px;
}

.workflow span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.workflow h3 {
  font-size: 30px;
  letter-spacing: 0;
  margin: 56px 0 16px;
}

.workflow p {
  font-size: 16px;
  line-height: 1.58;
  margin: 0;
}

.trust-band {
  background: #f4f8f6;
}

.trust-layout {
  align-items: start;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.trust-list {
  border-left: 3px solid var(--amber);
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 6px 0 6px 24px;
}

.trust-list li {
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 850;
}

.cta-band {
  background: #ffffff;
  padding-bottom: 92px;
}

.cta-panel {
  display: grid;
  gap: 22px;
}

.cta-panel p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer span {
  font-weight: 850;
}

.legal-page {
  background:
    radial-gradient(circle at 92% 10%, rgba(214, 147, 47, 0.1), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f5f8f7 100%);
  padding: 48px 24px 72px;
}

.legal-content {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 auto;
  max-width: 880px;
  padding: clamp(28px, 5vw, 56px);
}

.legal-content h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.legal-content h2 {
  font-size: 24px;
  margin-top: 34px;
}

.legal-content p,
.legal-content li {
  font-size: 16px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
}

.legal-content code {
  background: #eef4f1;
  border: 1px solid #dbe4e0;
  border-radius: 6px;
  font-size: 0.92em;
  padding: 1px 5px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  margin-top: 10px;
}

@media (max-width: 960px) {
  .hero {
    padding-top: 52px;
  }

  .hero::after {
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 48%, rgba(255, 255, 255, 0.4) 100%);
  }

  .hero-proof,
  .product-story,
  .workflow,
  .trust-layout {
    grid-template-columns: 1fr;
  }

  .product-scene::before {
    inset: 28px -8px -18px 20px;
  }

  .popup-preview {
    margin: 0;
    max-width: none;
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero {
    min-height: 760px;
    padding: 46px 24px 36px;
  }

  .hero-art {
    background-position: 70% bottom;
    inset: 230px -180px -40px -20px;
  }

  .hero::after {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 44%, rgba(255, 255, 255, 0.48) 74%, rgba(255, 255, 255, 0.1) 100%);
  }

  .hero h1 {
    font-size: clamp(52px, 18vw, 76px);
  }

  .hero-inner,
  .hero h1,
  .hero p {
    max-width: min(320px, calc(100vw - 48px));
    min-width: 0;
    width: 100%;
  }

  .hero-inner {
    margin: 0;
  }

  .hero p {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .hero-proof {
    gap: 10px;
    margin-top: 18px;
  }

  .product-story,
  .story-copy,
  .product-scene,
  .browser-strip,
  .popup-preview {
    max-width: calc(100vw - 48px);
    width: 100%;
  }

  .product-scene::before {
    display: none;
  }

  .preview-top {
    align-items: start;
    flex-wrap: wrap;
  }

  .browser-strip strong {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .section-band {
    padding: 54px 20px;
  }

  .workflow article {
    min-height: 210px;
  }

  .workflow h3 {
    margin-top: 38px;
  }

  .legal-page {
    padding: 28px 18px 56px;
  }
}
