:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #eef1f4;
  --text: #1c2530;
  --muted: #64707d;
  --line: #d9dee4;
  --line-dark: #c5ccd4;
  --accent: #285e8e;
  --accent-dark: #1f4c75;
  --accent-soft: #eaf1f7;
  --success: #268357;
  --shadow: 0 18px 45px rgba(26, 36, 46, .11);
  --radius: 5px;
  --content: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-right: auto;
}

.main-nav a,
.footer-links a,
.footer-links button {
  color: #495562;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
}

.main-nav a:hover,
.footer-links a:hover,
.footer-links button:hover {
  color: var(--accent);
}

.account-actions {
  display: flex;
  gap: 8px;
}

.button {
  min-height: 40px;
  border-radius: 4px;
  border: 1px solid transparent;
  padding: 9px 17px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease;
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line-dark);
  color: var(--text);
}

.button-secondary:hover,
.button-quiet:hover {
  background: var(--surface-soft);
}

.button-quiet {
  background: transparent;
  border-color: transparent;
  color: #394654;
}

.button-large {
  min-height: 46px;
  padding-left: 21px;
  padding-right: 21px;
}

.button-full {
  width: 100%;
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 520px;
  margin: 0 auto;
  padding: 82px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr);
  gap: 78px;
  align-items: center;
}

.eyebrow,
.modal-kicker {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .12em;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 650;
}

.hero-text {
  max-width: 680px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

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

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.service-note {
  margin-top: 35px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.separator {
  color: #a0a9b2;
}

.summary-panel {
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px 27px 23px;
}

.summary-title {
  font-weight: 700;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #e7eaee;
  color: var(--muted);
  font-size: 14px;
}

.summary-row strong {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.summary-rule {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.summary-small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section > *,
.split {
  width: min(calc(100% - 40px), var(--content));
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading.compact {
  margin: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.section-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.service-table {
  border-top: 1px solid var(--line-dark);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 30px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.service-row p {
  margin: 0;
  color: var(--muted);
}

.service-value {
  align-self: center;
  color: #465360;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 90px;
  align-items: start;
}

.device-list,
.support-index {
  border-top: 1px solid var(--line-dark);
}

.device-item,
.support-index > div {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}

.device-item strong,
.support-index strong {
  font-size: 14px;
}

.device-item span,
.support-index span {
  color: var(--muted);
  font-size: 14px;
}

.pricing-box {
  border: 1px solid var(--line-dark);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 33px;
  display: grid;
  grid-template-columns: 1.2fr .65fr;
  gap: 30px 50px;
  align-items: center;
}

.price {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 20px;
  font-weight: 700;
}

.price-number {
  font-size: 50px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
}

.price-period {
  color: var(--muted);
  margin-left: 8px;
}

.pricing-main p,
.pricing-annual span {
  color: var(--muted);
}

.pricing-main p {
  margin: 0;
}

.pricing-annual {
  display: flex;
  flex-direction: column;
  padding-left: 27px;
  border-left: 1px solid var(--line);
}

.pricing-features {
  grid-column: 1 / -1;
  padding: 21px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  color: #465360;
  font-size: 14px;
}

.pricing-box > .button {
  justify-self: start;
}

.site-footer {
  background: #26313c;
  color: #d9e0e6;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 190px;
  margin: 0 auto;
  padding: 45px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px 60px;
  align-items: start;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
}

.footer-inner p {
  margin: 6px 0 0;
  color: #aeb8c1;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a,
.footer-links button {
  color: #d9e0e6;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid #3b4650;
  color: #9ca7b1;
  font-size: 12px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(18, 25, 32, .58);
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop[hidden],
.modal[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(100%, 470px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.modal h2 {
  margin: 0 0 24px;
  font-size: 26px;
  line-height: 1.2;
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #65717c;
  font-size: 26px;
  cursor: pointer;
}

.fake-form {
  display: grid;
  gap: 16px;
}

.fake-form label {
  display: grid;
  gap: 7px;
  color: #384552;
  font-size: 13px;
  font-weight: 600;
}

.fake-form input,
.fake-form select,
.fake-form textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: #fff;
  color: var(--text);
  padding: 10px 11px;
  outline: none;
}

.fake-form input:focus,
.fake-form select:focus,
.fake-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.fake-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #9a4e32;
  font-size: 13px;
}

.modal-link {
  margin-top: 17px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 850px) {
  .main-nav {
    display: none;
  }

  .header-inner {
    gap: 15px;
  }

  .account-actions {
    margin-left: auto;
  }

  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 45px;
    padding: 60px 0;
  }

  .split {
    gap: 45px;
  }

  .pricing-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    width: min(calc(100% - 24px), var(--content));
  }

  .brand-name {
    display: none;
  }

  .button {
    padding-left: 13px;
    padding-right: 13px;
  }

  .hero-inner,
  .section > *,
  .split,
  .footer-inner {
    width: min(calc(100% - 30px), var(--content));
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-row,
  .device-item,
  .support-index > div,
  .pricing-box {
    grid-template-columns: 1fr;
  }

  .service-value {
    text-align: left;
  }

  .pricing-annual {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pricing-features {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: 1;
  }
}
