:root {
  color-scheme: light;
  --ink: #192127;
  --muted: #626c77;
  --blue: #215cf3;
  --line: #dde2e6;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    sans-serif;
  color: var(--ink);
  background: #f7f8fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #174dcf;
  text-underline-offset: 4px;
}
p {
  line-height: 1.8;
  text-wrap: pretty;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
em {
  color: var(--blue);
  font-style: normal;
}
header,
footer {
  display: flex;
  gap: 24px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 24px 28px;
}
header {
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.7px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  border-radius: 9px;
}
.brand-dot {
  color: var(--blue);
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 600;
}
header nav a {
  color: #4b5560;
  text-decoration: none;
}
header nav a:last-child {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: white;
}
header nav a:hover {
  color: var(--blue);
}
main {
  max-width: 1200px;
  padding: 34px 28px 70px;
  margin: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e9eef5;
  border: 1px solid #dce3ec;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 600;
  margin: 0 0 18px;
  color: #546783;
}
.badge:before {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #548957;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #657688;
  line-height: 1.6;
}
.plans .eyebrow {
  letter-spacing: 0.05em;
}
h1 {
  font-size: clamp(39px, 5.3vw, 64px);
  font-weight: 630;
  line-height: 1.09;
  letter-spacing: -0.055em;
  margin: 20px 0;
}
h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
h3 {
  font-weight: 600;
}
.intro {
  max-width: 650px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 0;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 37px 0 24px;
}
.plans article {
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.plans h2 {
  margin: 24px 0 18px;
  font-size: 24px;
}
.plans .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.06em;
  margin: 0 0 14px;
  line-height: 1.2;
}
.price small {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: #65728b;
}
.plans article > p:not(.price) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.plans article > p.fine {
  font-size: 11px;
  margin: 18px 0 0;
}
.plans .featured {
  background: #2157e1;
  border-color: #2157e1;
  box-shadow: 0 15px 30px #2157e11c;
  color: white;
}
.featured .eyebrow,
.plans .featured > p:not(.price),
.featured .price small {
  color: #e0e8ff;
}
.plans button {
  margin-top: auto;
}
.plans .featured button {
  background: white;
  color: #174ed2;
  border: 1px solid white;
}
.plans .featured button:hover {
  background: #eaf0ff;
}
button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  background: var(--blue);
  color: white;
  min-height: 47px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  transition:
    background 0.16s,
    box-shadow 0.16s;
}
button:hover {
  background: #174bcf;
  box-shadow: 0 5px 14px #215cf31c;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}
.secondary {
  background: white;
  color: #334257;
  border: 1px solid #ccd5e1;
}
.secondary:hover {
  background: #edf2fa;
  box-shadow: none;
}
.fine {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.85;
}
.notice {
  background: #eaf0fc;
  border: 1px solid #d8e2f3;
  padding: 20px 24px;
  border-radius: 15px;
  font-size: 13px;
}
.notice a {
  font-weight: 600;
}
.error {
  color: #a42727;
  background: #fff0ef;
  border: 1px solid #edc4c1;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 13px;
}
footer {
  font-size: 11px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 32px;
  gap: 24px;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid #3169ff;
  outline-offset: 4px;
}
#success,
#manage {
  max-width: 760px;
  margin: 12px 0 35px;
}
#success p,
#manage p {
  font-size: 14px;
  color: var(--muted);
}
#manage .fine,
#success .fine {
  font-size: 12px;
}
#account {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  margin: 44px 0 0;
  max-width: 760px;
  box-shadow: 0 8px 25px #283c5d05;
}
#account h2 {
  margin: 13px 0 18px;
  font-size: 27px;
}
#account-status:empty {
  display: none;
}
#account-status {
  font-size: 13px;
  color: #426549;
}
label {
  font-size: 12px;
  font-weight: 600;
  color: #4a5665;
}
input {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 14px;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid #cbd4e0;
  border-radius: 10px;
  margin: 9px 0 16px;
  background: #fafbfd;
  color: var(--ink);
}
input:focus {
  border-color: #6a95f6;
  outline: 3px solid #215cf31a;
}
#signin-form {
  max-width: 460px;
}
#signin-form button {
  width: 100%;
}
#signin-help {
  margin-bottom: 0;
}
#license-key {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 13px;
}
#license-ready {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  padding: 25px;
  margin: 25px 0;
}
#license-ready > p:first-child {
  margin-top: 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#account-licenses {
  list-style: none;
  margin: 0;
  padding: 0;
}
#account-licenses > li {
  padding: 23px 0;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
#account-licenses > li > p {
  font-size: 13px;
}
#account-licenses > li button {
  margin: 5px 8px 5px 0;
  font-size: 12px;
}
#account-licenses > li pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  padding: 14px;
  background: #f0f3f8;
  border-radius: 10px;
}
#signout {
  margin-top: 20px;
}
#checkout-next {
  max-width: 760px;
  margin: 24px 0;
}
#checkout-next h2 {
  font-size: 23px;
}
#checkout-next > p {
  font-size: 13px;
}
#download-note {
  font-size: 12px;
  padding: 15px 20px;
  margin-top: 22px;
}
#error:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
dialog {
  width: min(470px, calc(100% - 32px));
  max-height: 90vh;
  overflow: auto;
  border: 1px solid #dce3ef;
  border-radius: 23px;
  padding: 30px;
  color: var(--ink);
  box-shadow: 0 24px 80px #17213b33;
  background: #fff;
}
dialog::backdrop {
  background: #101b326b;
  backdrop-filter: blur(5px);
}
dialog h2 {
  margin-top: 0;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
dialog p {
  font-size: 13px;
  color: var(--muted);
}
dialog button {
  width: 100%;
  margin-bottom: 12px;
}
dialog #plan-signin-close {
  margin-top: 8px;
  margin-bottom: 0;
  border-color: transparent;
  background: #f1f4f8;
}
dialog #plan-signin-close:hover {
  background: #e7edf5;
}
.email-sent {
  max-width: 540px;
  padding: 25px;
  border: 1px solid #c2dcb9;
  background: #f2f8ee;
  border-radius: 17px;
  margin: 18px 0;
}
.email-sent-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dceccc;
  color: #467235;
  font-size: 24px;
  font-weight: 600;
}
.email-sent h3 {
  font-size: 26px;
  margin: 15px 0 12px;
  letter-spacing: -0.035em;
}
.email-sent strong {
  overflow-wrap: anywhere;
  color: #334b32;
}
.email-sent p {
  font-size: 13px;
  color: #596a52;
}
.email-sent .fine {
  font-size: 11px;
}
.email-sent .actions button {
  flex: 1 1 180px;
  margin: 0;
  font-size: 12px;
}
.email-sent [role="status"]:empty {
  display: none;
}
dialog .email-sent {
  padding: 22px;
}
#signin-sent-status,
#plan-signin-sent-status {
  font-size: 12px;
}
@media (max-width: 950px) {
  .plans article {
    padding: 24px;
  }
  .plans .price {
    font-size: 38px;
  }
  .plans h2 {
    font-size: 22px;
  }
  .plans article > p:not(.price) {
    font-size: 12px;
  }
  .plans article > p.fine {
    font-size: 10px;
  }
  .plans button {
    font-size: 12px;
    padding: 12px;
  }
}
@media (max-width: 760px) {
  header,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  header {
    min-height: 70px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  header nav {
    gap: 18px;
    font-size: 11px;
  }
  header nav a:last-child {
    padding: 9px 13px;
  }
  main {
    padding-top: 28px;
  }
  h1 {
    font-size: 45px;
  }
  .intro {
    font-size: 15px;
  }
  .plans {
    grid-template-columns: 1fr;
    margin-top: 30px;
    gap: 17px;
  }
  .plans article {
    padding: 27px;
  }
  .plans h2 {
    font-size: 25px;
    margin: 20px 0;
  }
  .plans .price {
    font-size: 45px;
  }
  .plans article > p:not(.price) {
    font-size: 13px;
  }
  .plans article > p.fine {
    font-size: 11px;
  }
  .plans button {
    font-size: 13px;
    padding: 14px;
    margin-top: 10px;
  }
  #account {
    padding: 25px;
    margin-top: 30px;
    border-radius: 19px;
  }
  #account h2 {
    font-size: 25px;
  }
  #account .eyebrow {
    font-size: 9px;
  }
  #license-ready {
    padding: 20px;
  }
  #license-key {
    font-size: 11px;
  }
  .actions > button {
    flex: 1;
  }
  dialog {
    padding: 25px;
  }
  dialog h2 {
    font-size: 26px;
  }
  .email-sent {
    padding: 21px;
  }
  footer {
    gap: 15px 20px;
  }
  .fine {
    font-size: 11px;
  }
  header nav a:first-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media (forced-colors: active) {
  button,
  .plans article,
  .email-sent {
    border: 1px solid ButtonText;
  }
  .plans .featured {
    background: Canvas;
    color: CanvasText;
  }
}
