:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  color: #1d1d1f;
  background: #f5f5f7;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
header,
footer {
  max-width: 1120px;
  margin: auto;
  padding: 28px 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.8px;
}
.brand span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #86868b;
  margin-left: 5px;
}
.brand img {
  border-radius: 8px;
  filter: drop-shadow(0 3px 8px #1d1d1f33);
}
.app-icon {
  display: block;
  margin-bottom: 26px;
  filter: drop-shadow(0 10px 24px #1d1d1f2e);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
#language {
  border: 1px solid #d9d9de;
  border-radius: 8px;
  background: none;
  padding: 9px 13px;
  font-size: 12px;
}
main {
  width: min(650px, calc(100% - 40px));
  margin: 65px auto 80px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #6e6e73;
}
h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 550;
  letter-spacing: -1.8px;
  line-height: 1.15;
  margin: 20px 0;
  text-wrap: balance;
}
.intro {
  font-size: 16px;
  color: #6e6e73;
  line-height: 1.9;
  margin-bottom: 30px;
}
h2 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}
.license {
  padding: 30px;
  background: #ffffff;
  border: 1px solid #dcdce1;
  border-radius: 22px;
  box-shadow: 0 18px 60px #1d1d1f08;
}
.license-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.license-heading h2 {
  margin: 0;
}
.license-heading span {
  background: #e8f0fd;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  white-space: nowrap;
}
#code-label {
  font-size: 12px;
  color: #6e6e73;
  margin: 25px 0 12px;
}
code {
  display: block;
  padding: 18px;
  background: #ececf0;
  border-radius: 12px;
  overflow-wrap: anywhere;
  font:
    500 19px/1.6 ui-monospace,
    SFMono-Regular,
    monospace;
  user-select: all;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.actions button,
.button,
#retry {
  border-radius: 9px;
  padding: 13px 18px;
  font-size: 13px;
  line-height: 1.5;
  min-height: 46px;
  border: 1px solid #0a7aff;
  background: #0a7aff;
  color: white;
}
.actions .secondary,
.secondary#retry {
  background: transparent;
  color: #1d1d1f;
  border-color: #d2d2d7;
}
.save-note {
  font-size: 12px;
  line-height: 1.8;
  color: #6e6e73;
  margin: 20px 0;
}
dl {
  margin: 20px 0 0;
  border-top: 1px solid #e3e3e8;
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.8;
}
dl > div {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin: 7px 0;
}
dt {
  color: #6e6e73;
  flex-shrink: 0;
}
dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
#activation {
  margin: 38px 0;
}
ol {
  padding-left: 22px;
  color: #636366;
  font-size: 14px;
  line-height: 2.1;
  margin-bottom: 22px;
}
.button {
  display: inline-block;
}
.help {
  font-size: 12px;
  line-height: 1.8;
  color: #6e6e73;
  margin-top: 28px;
}
.back {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  color: #0a66d8;
}
footer {
  font-size: 11px;
  color: #86868b;
  border-top: 1px solid #e8e8ed;
}
a:focus-visible,
input:focus-visible,
button:focus-visible,
code:focus-visible {
  outline: 2px solid #0a66d8;
  outline-offset: 5px;
}
#email-form {
  border-top: 1px solid #e3e3e8;
  margin-top: 22px;
  padding-top: 24px;
}
#delivery {
  background: #ececf0;
  border-radius: 12px;
  padding: 18px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
#delivery p {
  margin: 6px 0 0;
  color: #6e6e73;
  font-size: 13px;
}
#delivery[data-state="review"],
#delivery[data-state="failed"] {
  background: #fdf1e2;
}
#email-label {
  font-size: 15px;
  font-weight: 600;
}
#email-note {
  margin: 10px 0 14px;
}
.email-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.email-fields input {
  min-width: 0;
  flex: 1 1 190px;
  border: 1px solid #d2d2d7;
  border-radius: 9px;
  padding: 13px 12px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  background: #ffffff;
  color: #1d1d1f;
}
#email-status {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 480px) {
  header {
    padding: 22px 20px;
  }
  main {
    margin-top: 42px;
  }
  .license {
    padding: 22px 18px;
  }
  h1 {
    letter-spacing: -1px;
  }
  .intro {
    font-size: 14px;
  }
  code {
    font-size: 16px;
    padding: 15px;
  }
  .actions button {
    flex: 1;
  }
  .brand span {
    display: none;
  }
  dl > div {
    display: block;
  }
  dd {
    text-align: left;
    margin-top: 3px;
  }
}

/* Localized labels may wrap; codes and addresses never stretch the page. */
select { font: inherit; max-width: 100%; color: inherit; }
header { gap: 16px; flex-wrap: wrap; }
header form { display: flex; align-items: center; gap: 8px; }
button, .button { white-space: normal; overflow-wrap: anywhere; }
code, dd, #delivery-message { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
