:root {
  color-scheme: light;
  --ink: #12332d;
  --text: #213f38;
  --muted: #60736e;
  --paper: #f8fbf6;
  --surface: #ffffff;
  --soft: #e6f4ea;
  --line: #d8e5dd;
  --accent: #2f8b63;
  --accent-dark: #0f3a32;
  --shadow: 0 18px 46px rgba(18, 51, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(36px, 5.3vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(248, 251, 246, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.site-nav a,
.site-footer a,
.link-list a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover,
.link-list a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 92px) 0 clamp(52px, 8vw, 104px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--accent-dark);
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

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

.button.secondary {
  background: var(--surface);
  color: var(--accent-dark);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  min-height: 34px;
  border: 1px solid #c6e3d1;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  padding: 7px 11px;
}

.hero-media {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(150deg, rgba(230, 244, 234, 0.96), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 20% 15%, rgba(47, 139, 99, 0.12), transparent 36%);
  border: 1px solid var(--line);
  overflow: hidden;
}

.device-frame {
  width: min(300px, 74%);
  margin: 0;
  overflow: hidden;
  border: 8px solid #111816;
  border-radius: 32px;
  background: #111816;
  box-shadow: var(--shadow);
}

.summary-card {
  position: absolute;
  left: 24px;
  bottom: 28px;
  width: min(210px, calc(100% - 48px));
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(18, 51, 45, 0.1);
}

.summary-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.summary-card strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.split-section,
.screens-section,
.ipad-section,
.safety-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto clamp(62px, 8vw, 104px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: 0 12px 34px rgba(18, 51, 45, 0.06);
}

.section-copy {
  min-width: 0;
}

.section-copy p {
  max-width: 700px;
}

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

.compare-table article,
.screen-card,
.support-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.compare-table article {
  padding: 22px;
}

.compare-table ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-table li {
  border-radius: 8px;
  background: var(--soft);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  padding: 10px 12px;
}

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

.screen-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(18, 51, 45, 0.06);
}

.screen-card img {
  width: 100%;
  height: clamp(420px, 44vw, 620px);
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
}

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

.ipad-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
}

.tablet-frame {
  margin: 0;
  overflow: hidden;
  border: 8px solid #111816;
  border-radius: 12px;
  background: #111816;
  box-shadow: var(--shadow);
}

.safety-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 5vw, 52px);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
}

.document-page {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 8vw, 86px) 0;
}

.document-hero {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.document-hero h1 {
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.12;
}

.document-hero p,
.document-body p {
  font-size: 16px;
}

.document-body {
  display: grid;
  gap: 18px;
}

.document-body h2 {
  margin: 22px 0 0;
  font-size: clamp(22px, 3vw, 30px);
}

.document-body h3 {
  margin: 18px 0 0;
}

.support-panel {
  margin-bottom: 26px;
  padding: clamp(22px, 3vw, 34px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

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

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .split-section,
  .ipad-section,
  .safety-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 520px;
  }

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

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

  .brand {
    width: 100%;
  }

  .site-nav {
    gap: 16px;
    font-size: 14px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.18;
  }

  h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero,
  .split-section,
  .screens-section,
  .ipad-section,
  .safety-section {
    width: calc(100% - 32px);
  }

  .hero {
    gap: 28px;
    padding: 30px 0 58px;
  }

  .lead {
    font-size: 16px;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
    padding: 14px 16px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-points li {
    font-size: 14px;
  }

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

  .device-frame {
    width: min(258px, 72%);
  }

  .summary-card {
    left: 16px;
    bottom: 18px;
    width: min(190px, calc(100% - 32px));
  }

  .split-section {
    padding: 22px 16px;
  }

  .compare-table article {
    padding: 18px;
  }

  .screen-card {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
  }

  .screen-card img {
    width: 112px;
    height: 178px;
    grid-row: 1 / span 2;
    align-self: start;
    border-radius: 8px;
  }

  .screen-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin-bottom: 5px;
    font-size: 18px;
  }

  .screen-card p {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    font-size: 14px;
    line-height: 1.55;
  }

  .link-list {
    flex-direction: column;
  }

  .link-list a {
    width: 100%;
    justify-content: center;
  }

  .document-page {
    width: calc(100% - 32px);
    padding-top: 40px;
  }
}
