:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --quiet: #86868b;
  --line: #d2d2d7;
  --page: #f5f5f7;
  --blue: #0066cc;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, Pretendard, sans-serif;
  color: var(--ink);
  background: var(--page);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(0, 125, 250, 0.45);
  outline-offset: 3px;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.site-nav {
  width: min(calc(100% - 40px), 760px);
  min-height: 98px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.home-page .site-nav {
  width: min(calc(100% - 96px), 664px);
}

.document-page .site-nav {
  width: min(calc(100% - 96px), 724px);
}

.checkout-page .site-nav {
  width: min(calc(100% - 168px), 692px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.18182;
  text-decoration: none;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand img {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Homepage */
.home-shell {
  max-width: 760px;
  margin: 24px auto 0;
}

.home-card,
body > main:not(.home-shell):not(.checkout-shell):not(.support-shell) {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.home-card {
  padding: 34px 48px 44px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.product-title {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.2;
}

.operator-note {
  color: var(--muted);
  font-size: 14px;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.home-brand h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.2;
}

.tagline {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.33337;
}

.tagline sup {
  position: relative;
  top: -0.15em;
  font-size: 0.58em;
  line-height: 0;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.17648;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  background: #0071e3;
  color: #ffffff;
}

.button.secondary {
  background: #e8e8ed;
  color: var(--ink);
}

.button:active {
  opacity: 0.72;
}

.product-notes {
  max-width: 620px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.45;
  list-style: none;
}

.product-notes li {
  position: relative;
  margin: 2px 0;
  padding-left: 11px;
}

.product-notes li::before {
  position: absolute;
  left: 0;
  content: "*";
}

.home-section {
  margin-top: 34px;
}

.home-section h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.16667;
}

.home-section h3 {
  margin: 0 0 2px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.23536;
}

.home-section p,
.home-section ul,
.home-section ol {
  margin: 8px 0;
}

.home-section ul {
  padding-left: 22px;
}

.home-section li {
  margin: 5px 0;
}

.demo-section {
  margin-top: 22px;
}

.install-section {
  margin-top: 32px;
  padding-top: 0;
}

.install-section .button {
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
}

.demo-media {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page);
}

.demo-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.plan-option {
  min-width: 0;
  padding: 22px;
}

.plan-option + .plan-option {
  border-left: 1px solid var(--line);
}

.plan-option h3 {
  font-size: 17px;
}

.plan-option h3 span {
  margin-left: 3px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 400;
}

.plan-price {
  margin: 14px 0 18px !important;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.14286;
}

.plan-price span {
  display: inline;
  margin-left: 3px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 400;
}

.plan-option ul {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.plan-note {
  margin: 18px 0 0 !important;
  color: var(--quiet) !important;
  font-size: 12px !important;
  line-height: 1.5;
}

.renewal-disclosure {
  margin: 16px 0 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.5;
}

.checkout-panel > .renewal-disclosure {
  margin-top: 10px !important;
}

.home-footer {
  width: min(calc(100% - 40px), 820px);
  margin: 24px auto 0;
  padding: 17px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  text-align: left;
}

.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  line-height: 1.33337;
}

.home-footer a {
  color: var(--quiet);
}

.home-footer p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.33337;
}

/* Privacy and terms */
body > main:not(.home-shell):not(.checkout-shell):not(.support-shell) {
  max-width: 820px;
  margin: 24px auto 0;
  padding: 0;
}

.document-hero {
  padding: 42px 48px 0;
}

.document-hero .page-width,
.document-layout {
  width: auto;
  max-width: none;
  margin: 0;
}

.eyebrow,
.document-aside {
  display: none;
}

.document-hero h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.33337;
}

.updated {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.33337;
}

.document-layout {
  display: block;
  padding: 26px 48px 48px;
}

.document-content {
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.46667;
}

.document-content h2 {
  margin: 32px 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.33337;
}

.document-content h2:first-child {
  margin-top: 0;
}

.document-content p,
.document-content ul {
  margin: 8px 0;
}

.document-content ul {
  padding-left: 22px;
}

.document-content li + li {
  margin-top: 8px;
}

.document-content code {
  padding: 1px 4px;
  border-radius: 3px;
  background: #f2f4f6;
  font-size: 0.92em;
}

/* Checkout */
.checkout-page {
  min-height: 100vh;
}

.checkout-shell {
  width: min(calc(100% - 40px), 820px);
  margin: 24px auto 0;
  padding: 52px 64px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.checkout-copy h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
}

.checkout-copy > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.checkout-panel {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.checkout-price {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.checkout-price span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.checkout-status {
  margin: 22px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.checkout-links {
  color: var(--muted);
  font-size: 13px;
}

/* Support */
.support-page .site-nav {
  width: min(calc(100% - 96px), 724px);
}

.support-shell {
  width: min(calc(100% - 40px), 820px);
  margin: 24px auto 0;
  padding: 42px 48px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.support-heading h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.support-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.support-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 30px;
}

.support-form > label:not(.technical-option) {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

.support-form input[type="text"],
.support-form input[type="email"],
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid #b8b8bd;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.support-form input[type="text"],
.support-form input[type="email"],
.support-form select {
  min-height: 42px;
  padding: 8px 11px;
}

.support-form textarea {
  min-height: 92px;
  padding: 10px 11px;
  line-height: 1.45;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: #0071e3;
  outline: 3px solid rgba(0, 113, 227, 0.16);
}

.optional {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 400;
}

.technical-option {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 14px;
}

.technical-option input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.form-note,
.support-fallback,
.form-status {
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.5;
}

.form-note {
  margin: 0 0 0 25px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.form-actions .button {
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 18px;
  margin: 2px 0 0;
}

.support-fallback {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 600px) {
  body {
    background: #ffffff;
  }

  .site-nav {
    width: 100%;
    min-height: 0;
    padding: 14px 20px;
    align-items: center;
  }

  .home-page .site-nav,
  .document-page .site-nav,
  .support-page .site-nav,
  .checkout-page .site-nav {
    width: 100%;
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-brand {
    font-size: 17px;
  }

  .site-brand img {
    width: 36px;
    height: 36px;
  }

  .home-shell,
  body > main:not(.home-shell):not(.checkout-shell):not(.support-shell),
  .checkout-shell,
  .support-shell {
    margin-top: 0;
  }

  .home-card,
  body > main:not(.home-shell):not(.checkout-shell):not(.support-shell),
  .checkout-shell,
  .support-shell {
    width: 100%;
    padding-right: 24px;
    padding-left: 24px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .home-card,
  .checkout-shell,
  .support-shell {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .home-brand {
    align-items: flex-start;
  }

  .home-brand h1 {
    font-size: 27px;
  }

  .tagline {
    font-size: 16px;
  }

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

  .plan-option + .plan-option {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .home-footer {
    width: 100%;
    margin-top: 16px;
    padding: 17px 24px 28px;
    background: var(--page);
  }

  .document-hero {
    padding: 32px 24px 0;
  }

  .document-hero h1 {
    font-size: 20px;
    line-height: 1.33337;
  }

  .document-layout {
    padding: 22px 24px 44px;
  }

  .checkout-copy h1 {
    font-size: 30px;
    line-height: 1.125;
  }

  .support-heading h1 {
    font-size: 26px;
  }
}
