:root {
  color-scheme: light;
  --bg: #ffffff;
  --page: #f7f9f9;
  --soft: #eef7f5;
  --surface: #ffffff;
  --ink: #07131d;
  --text: #1d2c36;
  --muted: #617078;
  --line: #d7dfdf;
  --line-strong: #c3cece;
  --teal: #087a75;
  --teal-dark: #055e5a;
  --teal-soft: #e7f5f2;
  --red: #a34a3a;
  --green: #0d8a5f;
  --blue: #2773bb;
  --shadow: 0 12px 30px rgba(7, 19, 29, 0.08);
  --max: 1180px;
}

* {
  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.55;
}

a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: var(--teal-dark);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(8, 122, 117, 0.26);
  outline-offset: 4px;
}

svg {
  display: block;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 56px));
  min-height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.site-header.compact {
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-icon {
  display: inline-flex;
  width: 38px;
  height: 42px;
  color: var(--teal);
}

.brand-icon svg {
  width: 100%;
  height: 100%;
}

.brand-icon path,
.line-icon path,
.line-icon circle,
.local-icon path,
.local-icon rect,
.privacy-link path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 62px;
}

.top-nav a {
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
}

.top-nav a:hover {
  color: var(--teal);
}

main {
  overflow: hidden;
}

.hero,
.section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
  align-items: center;
  gap: 76px;
  padding: 34px 0 56px;
  min-height: 690px;
}

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

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

h1 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 110px;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 33px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  color: var(--text);
  font-size: 18px;
}

.lead {
  max-width: 440px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.42;
}

.hero-copy p:not(.lead) {
  max-width: 470px;
  margin-top: 42px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 72px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border-radius: 8px;
  padding: 0 36px;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
}

.store-button {
  gap: 18px;
  min-width: 430px;
  background: linear-gradient(135deg, #0c8b86 0%, #08776f 54%, #06665f 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(8, 122, 117, 0.12);
}

.store-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #087d78 0%, #066a63 100%);
}

.store-button svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 70px;
  color: var(--teal);
  font-size: 19px;
  font-weight: 750;
}

.privacy-link svg {
  width: 28px;
  height: 28px;
}

.hero-device {
  position: relative;
  margin: 0;
}

.hero-device img {
  display: block;
  width: min(100%, 520px);
  height: auto;
}

.local-band {
  display: grid;
  grid-template-columns: minmax(28px, 1fr) 120px minmax(0, 480px) minmax(280px, 360px) minmax(28px, 1fr);
  align-items: center;
  gap: 54px;
  width: 100%;
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.local-icon {
  display: grid;
  grid-column: 2;
  width: 100px;
  height: 100px;
  place-items: center;
  border: 3px solid var(--teal);
  border-radius: 14px;
  color: var(--teal);
}

.local-icon svg {
  width: 56px;
  height: 56px;
}

.local-band > div:not(.local-icon) {
  grid-column: 3;
}

.local-band h2 {
  margin-bottom: 18px;
}

.local-band p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.check-list {
  display: grid;
  grid-column: 4;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 42px;
  color: var(--ink);
  font-size: 18px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 23px;
  height: 23px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  content: "";
}

.check-list li::after {
  position: absolute;
  left: 8px;
  top: 5px;
  width: 6px;
  height: 10px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.section {
  padding: 88px 0;
}

.capability-section h2 {
  margin-bottom: 52px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-grid article {
  min-height: 260px;
  padding: 0 50px 0 0;
}

.capability-grid article + article {
  border-left: 1px solid var(--line-strong);
  padding-left: 58px;
}

.line-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  color: var(--teal);
}

.line-icon svg {
  width: 100%;
  height: 100%;
}

.capability-grid p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

.boundary-panel {
  width: 100%;
  padding: 72px max(28px, calc((100vw - var(--max)) / 2)) 78px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.boundary-copy {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
}

.boundary-copy p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 17px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.boundary-grid article {
  min-height: 250px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  padding: 32px 24px 24px;
}

.boundary-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 50%;
  background: var(--teal);
}

.boundary-grid span::before {
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: #ffffff;
  content: "";
}

.boundary-grid p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.boundary-note {
  width: min(var(--max), 100%);
  margin: 26px auto 0;
  color: var(--ink);
  font-size: 17px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 64px;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 44px 0 46px;
  border-top: 1px solid var(--line);
}

.home-footer {
  border-top: 0;
}

.site-footer p {
  max-width: 300px;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.site-footer nav {
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.footer-brand {
  font-size: 26px;
}

.footer-brand .brand-icon {
  width: 30px;
  height: 34px;
}

.legal-main {
  width: min(900px, calc(100% - 56px));
  margin: 0 auto;
  padding: 72px 0 82px;
  overflow: visible;
}

.legal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 56px;
}

.page-label {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 16px;
  font-weight: 800;
}

.legal h1 {
  margin-bottom: 28px;
  font-size: 58px;
  line-height: 1.02;
}

.legal h2 {
  margin-top: 40px;
  font-size: 26px;
}

.legal p,
.legal li,
details p {
  color: var(--muted);
  font-size: 18px;
}

.legal .lead {
  max-width: none;
  color: var(--text);
  font-size: 25px;
}

.legal ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.support-card {
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 26px;
}

.support-card h2 {
  margin-top: 0;
}

details {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

details p {
  margin-bottom: 0;
  padding-top: 12px;
}

.updated {
  margin-top: 38px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .section,
  .site-footer,
  .legal-main {
    width: min(100% - 40px, var(--max));
  }

  .top-nav {
    gap: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 50px;
    min-height: 0;
    padding: 54px 0 64px;
  }

  h1 {
    font-size: 78px;
  }

  .hero-actions {
    margin-top: 42px;
  }

  .privacy-link {
    margin-top: 34px;
  }

  .hero-device {
    width: 100%;
  }

  .hero-device img {
    width: min(100%, 460px);
    margin: 0 auto;
  }

  .local-band {
    grid-template-columns: minmax(20px, 1fr) minmax(0, var(--max)) minmax(20px, 1fr);
    gap: 24px;
    padding: 64px 0;
  }

  .local-icon,
  .local-band > div:not(.local-icon),
  .check-list {
    grid-column: 2;
  }

  .local-icon {
    width: 84px;
    height: 84px;
  }

  .check-list {
    margin-top: 10px;
  }

  .capability-grid,
  .boundary-grid,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .capability-grid article,
  .capability-grid article + article {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 28px 32px 0;
  }

  .capability-grid article:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 16px 0 18px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-icon {
    width: 30px;
    height: 34px;
  }

  .top-nav {
    gap: 18px;
  }

  .top-nav a {
    font-size: 13px;
  }

  .hero {
    gap: 34px;
    padding-top: 34px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: 46px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 17px;
  }

  p,
  .lead,
  .hero-copy p:not(.lead) {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-copy p:not(.lead) {
    margin-top: 22px;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 28px;
  }

  .button,
  .store-button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 16px;
    font-size: 15px;
  }

  .store-button svg {
    width: 22px;
    height: 22px;
  }

  .privacy-link {
    margin-top: 26px;
    font-size: 15px;
  }

  .hero-device img {
    width: min(100%, 340px);
  }

  .local-band {
    padding: 52px 0;
  }

  .check-list {
    gap: 18px;
  }

  .check-list li,
  .local-band p,
  .capability-grid p,
  .boundary-grid p,
  .boundary-note {
    font-size: 15px;
  }

  .section {
    padding: 56px 0;
  }

  .capability-section h2 {
    margin-bottom: 28px;
  }

  .capability-grid,
  .boundary-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .capability-grid article,
  .capability-grid article + article,
  .capability-grid article:nth-child(-n + 2) {
    border-top: 1px solid var(--line);
    padding: 26px 0;
  }

  .capability-grid article:first-child {
    border-top: 0;
  }

  .line-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
  }

  .boundary-panel {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .boundary-grid article {
    min-height: 0;
    padding: 24px 20px;
  }

  .boundary-grid span {
    margin-bottom: 24px;
  }

  .site-footer {
    gap: 30px;
    padding: 34px 0 40px;
  }

  .site-footer p,
  .site-footer a,
  .site-footer strong {
    font-size: 14px;
  }

  .legal-main {
    width: min(100% - 28px, 900px);
    padding: 38px 0 58px;
  }

  .legal {
    padding: 24px;
  }

  .legal h1 {
    font-size: 40px;
  }

  .legal h2 {
    font-size: 22px;
  }

  .legal .lead,
  .legal p,
  .legal li,
  details p,
  summary {
    font-size: 16px;
  }
}
