:root {
  color-scheme: light;
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-2: #eef7f5;
  --ink: #132025;
  --muted: #5d7078;
  --line: #d8e4e3;
  --blue: #0a84ff;
  --cyan: #12b7c8;
  --green: #2bbf73;
  --amber: #f2a93b;
  --red: #e54b5a;
  --shadow: 0 24px 80px rgb(13 42 48 / 15%);
  --page-max: 1160px;
  --page-pad: clamp(20px, 4vw, 48px);
  --page-inline: max(var(--page-pad), calc((100vw - var(--page-max)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 90%), rgb(247 250 249 / 96%)),
    repeating-linear-gradient(90deg, rgb(18 183 200 / 8%) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgb(43 191 115 / 7%) 0 1px, transparent 1px 96px);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px var(--page-inline);
  border-bottom: 1px solid rgb(216 228 227 / 80%);
  background: rgb(247 250 249 / 86%);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.hero-actions,
.hero-facts,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 22px rgb(10 132 255 / 22%);
}

.site-header nav {
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a:hover,
.text-link:hover,
.resource-list a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 0.86fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: calc(78svh - 72px);
  padding: clamp(42px, 7vw, 76px) var(--page-inline) clamp(34px, 5vw, 56px);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #147d78;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.8rem, 8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.18;
}

.lede {
  max-width: 610px;
  color: #33454d;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

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

.hero-note {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  border-color: #0875db;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 34px rgb(10 132 255 / 24%);
}

.button.secondary {
  background: rgb(255 255 255 / 82%);
}

.hero-facts {
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
}

.hero-facts div {
  min-width: 148px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 255 255 / 78%);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 780;
}

.device-cluster {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 530px;
}

.phone-shell {
  position: relative;
  z-index: 2;
  display: block;
  width: min(304px, 82vw);
  aspect-ratio: 390 / 844;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border-radius: 46px;
  background: linear-gradient(145deg, #11191d, #32444c);
  box-shadow: var(--shadow);
}

.phone-shell img,
.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  object-fit: cover;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  padding: 18px 16px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgb(235 251 249 / 98%), rgb(248 252 255 / 96%)),
    var(--surface);
  border: 1px solid rgb(255 255 255 / 82%);
}

.app-top,
.app-title,
.panel-top,
.pool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-top {
  color: #36515a;
  font-size: 0.76rem;
  font-weight: 760;
}

.app-title {
  margin-top: 26px;
}

.app-title span,
.panel-top span {
  font-size: 1.55rem;
  font-weight: 820;
}

.app-title small,
.panel-top small {
  color: var(--muted);
  font-weight: 700;
}

.tab-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.tab-strip span {
  min-width: 0;
  padding: 8px 5px;
  border-radius: 8px;
  background: #e8f2f4;
  color: #5c6f78;
  font-size: 0.73rem;
  font-weight: 780;
  text-align: center;
}

.tab-strip .active {
  background: #d8eefc;
  color: #0875db;
}

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

.metric,
.chart-card,
.pool-row,
.feature,
.doc-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 255 255 / 88%);
}

.metric {
  min-height: 112px;
  padding: 13px;
}

.metric small,
.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
}

.metric strong {
  display: block;
  margin: 9px 0 2px;
  color: var(--blue);
  font-size: 1.7rem;
  line-height: 1;
}

.metric.warning strong {
  color: var(--amber);
}

.chart-card {
  position: relative;
  height: 126px;
  margin-top: 12px;
  overflow: hidden;
  background: #f8fbfd;
}

.line {
  position: absolute;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 999px;
}

.line.one {
  top: 42px;
  background: linear-gradient(90deg, var(--blue), transparent 28%, var(--cyan) 60%, var(--blue));
}

.line.two {
  top: 70px;
  background: linear-gradient(90deg, var(--green), transparent 34%, var(--amber) 68%, var(--green));
}

.line.three {
  top: 96px;
  background: linear-gradient(90deg, rgb(229 75 90 / 22%), transparent 48%, rgb(229 75 90 / 38%));
}

.pool-row {
  margin-top: 10px;
  padding: 12px;
  font-size: 0.85rem;
}

.pool-row strong {
  color: #147d78;
  font-size: 0.76rem;
}

.tablet-panel {
  position: absolute;
  right: 0;
  bottom: 50px;
  width: min(500px, 70vw);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 18px 52px rgb(19 32 37 / 14%);
}

.screenshot-panel {
  z-index: 1;
  width: min(350px, 54vw);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
}

.screenshot-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.storage-layout {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.tablet-panel .panel-top {
  display: none;
}

.storage-layout div {
  padding: 14px;
  border: 1px solid #dae8e7;
  border-radius: 8px;
  background: #f8fbfb;
}

.storage-layout strong,
.storage-layout span {
  display: block;
}

.storage-layout span {
  color: var(--muted);
  font-size: 0.86rem;
}

.usage {
  display: block;
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) var(--value), #dce9ed 0);
}

.usage.green {
  background: linear-gradient(90deg, var(--green) var(--value), #dce9ed 0);
}

.usage.amber {
  background: linear-gradient(90deg, var(--amber) var(--value), #dce9ed 0);
}

.section,
.split-section,
.legal-main {
  padding: clamp(58px, 8vw, 110px) var(--page-inline);
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

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

.feature {
  min-height: 230px;
  padding: 22px;
  box-shadow: 0 12px 30px rgb(13 42 48 / 8%);
}

.feature p,
.screen-card p,
.workflow-grid p,
.faq-grid p,
.body-copy,
.legal-main p,
.legal-main li {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  margin-bottom: 38px;
  padding: 0 10px;
  border-radius: 8px;
  background: #e4f4f7;
  color: #0875db;
  font-size: 0.76rem;
  font-weight: 820;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 7vw, 110px);
  align-items: start;
  border-block: 1px solid var(--line);
  background: rgb(255 255 255 / 72%);
}

.screenshot-section {
  background: linear-gradient(180deg, rgb(255 255 255 / 74%), rgb(238 247 245 / 70%));
}

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

.screen-card,
.workflow-grid article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgb(13 42 48 / 8%);
}

.screen-card {
  padding: 16px 16px 20px;
}

.screen-card img {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 0 auto 18px;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgb(7 17 22 / 18%);
}

.screen-card h3,
.screen-card p {
  max-width: 320px;
  margin-inline: auto;
}

.workflow-section {
  background: rgb(255 255 255 / 72%);
}

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

.workflow-grid article,
.faq-grid article {
  padding: 22px;
}

.workflow-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  margin-bottom: 38px;
  border-radius: 8px;
  background: #e2f8ef;
  color: #168953;
  font-weight: 860;
}

.body-copy {
  max-width: 680px;
  font-size: 1.08rem;
}

.text-link {
  font-weight: 780;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.app-store-section {
  background: linear-gradient(180deg, rgb(238 247 245 / 68%), rgb(255 255 255 / 84%));
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.resource-list a,
.doc-card {
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 780;
  text-decoration: none;
}

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

.final-cta {
  padding: clamp(58px, 8vw, 112px) var(--page-inline);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgb(255 255 255 / 92%), rgb(229 247 244 / 86)),
    linear-gradient(90deg, rgb(10 132 255 / 12%), rgb(43 191 115 / 12%));
}

.final-cta h2 {
  max-width: 920px;
}

.site-footer {
  flex-wrap: wrap;
  gap: 18px;
  min-height: 86px;
  padding: 24px var(--page-inline);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 820;
}

.site-footer a {
  text-decoration: none;
}

.legal-main {
  max-width: 980px;
}

.legal-main h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.legal-main h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.legal-main ul {
  padding-left: 1.2rem;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.doc-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.doc-card p {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .device-cluster {
    min-height: 560px;
  }

  .tablet-panel {
    right: 4vw;
  }

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

}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 38px;
  }

  .device-cluster {
    min-height: 620px;
    overflow: hidden;
  }

  .phone-shell {
    width: min(342px, 92vw);
  }

  .tablet-panel {
    display: none;
  }

  .feature-grid,
  .screenshot-grid,
  .workflow-grid,
  .faq-grid,
  .resource-list,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .hero-copy,
  .hero-actions,
  .hero-facts,
  .site-header nav {
    max-width: 340px;
  }

  h1 {
    font-size: 2.92rem;
    line-height: 0.95;
  }

  .lede {
    max-width: 340px;
    font-size: 1.02rem;
  }

  .site-header nav {
    font-size: 0.86rem;
  }

  .hero-facts div {
    flex-basis: 100%;
  }

  .phone-shell {
    width: min(310px, 86vw);
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.76rem;
  }

  .app-title span,
  .panel-top span {
    font-size: 1.25rem;
  }

  .metric {
    min-height: 98px;
    padding: 10px;
  }

  .metric strong {
    font-size: 1.42rem;
  }
}
