:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --surface: #fffaf0;
  --ink: #171717;
  --muted: #5e665d;
  --line: #d8d0c1;
  --green: #1f6f56;
  --green-dark: #154837;
  --coral: #d45b43;
  --gold: #f0b84f;
  --blue: #235c7a;
  --shadow: 0 24px 80px rgba(38, 34, 26, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 243, 234, 0.86);
  border-bottom: 1px solid rgba(216, 208, 193, 0.7);
  backdrop-filter: blur(18px);
}

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

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

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

nav {
  gap: clamp(12px, 2vw, 28px);
  font-size: 15px;
  color: var(--muted);
}

.nav-buy {
  color: white;
  background: var(--green);
  padding: 10px 14px;
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 6vw, 86px) 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(0deg, var(--paper), rgba(247, 243, 234, 0));
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 96px clamp(14px, 5vw, 72px) 26px auto;
  width: min(760px, 72vw);
  opacity: 0.94;
}

.app-window {
  transform: rotate(-2deg);
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f7f5;
  border: 1px solid rgba(23, 23, 23, 0.12);
  box-shadow: var(--shadow);
}

.traffic {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #ece5d9;
  border-bottom: 1px solid var(--line);
}

.traffic strong {
  margin-left: 12px;
  color: #4b524c;
  font-size: 13px;
  font-weight: 720;
}

.traffic span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}

.traffic span:nth-child(2) {
  background: var(--gold);
}

.traffic span:nth-child(3) {
  background: var(--green);
}

.app-shell {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  min-height: 478px;
}

.app-sidebar {
  padding: 18px 16px;
  background: #eee7dc;
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.sidebar-section + .sidebar-section {
  margin-top: 28px;
}

.sidebar-section strong {
  display: block;
  margin-bottom: 10px;
  color: #333833;
  font-size: 13px;
}

.sidebar-section p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.35;
}

.device-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: white;
  background: var(--blue);
  font-size: 13px;
  font-weight: 680;
}

.device-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7de06e;
}

.app-detail {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  background: #fcfcfb;
}

.pane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 405px;
}

.app-pane {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.app-pane:last-child {
  border-right: 0;
}

.pane-toolbar {
  min-height: 118px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.74);
}

.pane-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #262b27;
  font-weight: 760;
}

.pane-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  color: white;
  background: var(--blue);
  font-size: 12px;
}

.pane-icon.phone {
  background: var(--green);
}

.pane-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: #30352f;
  font-size: 11px;
}

.pane-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #d8d0c1;
  border-radius: 6px;
  background: #fffdf8;
}

.breadcrumb {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) 70px 72px;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid #ebe4da;
  font-size: 12px;
}

.table-head {
  min-height: 30px;
  color: var(--muted);
  background: #f4eee6;
  font-size: 11px;
  font-weight: 720;
}

.table-row span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-row span:first-child::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 10px;
  margin-right: 8px;
  border-radius: 3px;
  background: var(--gold);
  vertical-align: -1px;
}

.table-row.file span:first-child::before {
  width: 10px;
  height: 12px;
  border-radius: 2px;
  background: var(--blue);
}

.table-row.selected {
  color: white;
  background: var(--green);
}

.table-row.selected span:first-child::before {
  background: white;
}

.muted-row {
  color: var(--muted);
}

.transfer-strip {
  display: grid;
  grid-template-columns: auto auto minmax(90px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #f8f3ea;
  font-size: 12px;
}

.transfer-strip span,
.transfer-strip em {
  color: var(--muted);
  font-style: normal;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ddd2;
}

.progress i {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lede {
  max-width: 590px;
  color: #30352f;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.28;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 760;
}

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

.button.primary:hover,
.nav-buy:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--line);
}

.trust,
.section p,
details p,
footer {
  color: var(--muted);
}

.section {
  padding: 84px clamp(20px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 42px;
}

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

.edge-grid article,
.comparison div,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.edge-grid article,
.comparison div {
  padding: 26px;
}

.features {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1fr);
  gap: 54px;
  align-items: start;
  background: #fbf7ef;
}

.feature-copy p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-list div {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 690;
}

.feature-list span {
  width: 38px;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}

.compare {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
}

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

.comparison strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
}

details {
  padding: 20px 22px;
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 760;
}

details p {
  margin: 14px 0 0;
  line-height: 1.5;
}

.cta {
  padding: 84px clamp(20px, 6vw, 86px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--ink);
  color: white;
}

.cta h2 {
  margin: 0;
  max-width: 760px;
}

footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 86px);
  background: #121212;
  color: #d7d2c7;
}

footer a {
  color: white;
}

.download-page {
  min-height: 100svh;
  background: #fbf7ef;
}

.download-main {
  min-height: calc(100svh - 86px);
  display: grid;
  align-items: center;
  padding: 130px clamp(20px, 6vw, 86px) 72px;
}

.download-panel {
  max-width: 920px;
}

.download-panel h1 {
  max-width: 900px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.96;
}

.release-facts {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
}

.release-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.release-facts dt,
.release-facts dd {
  margin: 0;
}

.release-facts dt {
  color: var(--muted);
  font-weight: 760;
}

.release-facts dd {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  nav a:not(.nav-buy) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    margin-bottom: 36px;
  }

  .app-window {
    min-height: 360px;
    transform: none;
  }

  .app-shell,
  .pane-grid {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .app-pane {
    border-right: 0;
  }

  .mac-pane {
    display: none;
  }

  .transfer-strip {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading,
  .features,
  .compare,
  .faq,
  .edge-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand span {
    display: none;
  }

  .hero,
  .section,
  .cta {
    padding-inline: 16px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 36px;
  }

  .table-head,
  .table-row {
    grid-template-columns: minmax(90px, 1fr) 62px;
  }

  .table-head span:nth-child(3),
  .table-row span:nth-child(3) {
    display: none;
  }

  .release-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .button {
    width: 100%;
  }
}
