:root {
  color-scheme: light;
  --ink: #1c1c20;
  --muted: #62636c;
  --line: #dedee5;
  --silver: #f4f4f7;
  --focus: #3478ed;
}

* { box-sizing: border-box; letter-spacing: 0; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: #fafafa;
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
input, button { font: inherit; }
input, button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.signup-shell {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 calc(48px + env(safe-area-inset-bottom));
}
.signup-hero .eyebrow {
  margin: 0 0 28px;
  font-size: 26px;
  font-weight: 750;
  line-height: 1;
}
.signup-hero h1 {
  margin: 0 0 20px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 750;
  max-width: 650px;
  overflow-wrap: break-word;
}
.signup-hero p:not(.eyebrow) { color: var(--muted); margin: 0 0 16px; }
.signup-trial-banner {
  display: grid;
  gap: 6px;
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--ink);
  background: var(--silver);
}
.signup-trial-banner strong { font-size: 18px; line-height: 1.35; }
.signup-trial-banner span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.signup-card { display: grid; gap: 20px; margin-top: 28px; }
.signup-card > label:not(.checkbox-line), .signup-code > label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  row-gap: 8px;
  font-size: 14px;
  font-weight: 650;
}
.signup-card > label > span, .signup-code > label > span { font-weight: 400; color: var(--muted); }
.signup-card > label > input:not([type="checkbox"]), .signup-code input {
  flex-basis: 100%;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  box-shadow: 0 1px 2px #1c1c2003;
}
.signup-card > label > input:focus { border-color: var(--ink); }
.signup-code { border-block: 1px solid var(--line); padding: 12px 0; }
.signup-code summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.signup-code > label { margin-top: 14px; }
.checkbox-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
  padding: 4px 0;
}
input[type="checkbox"], input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.signup-legal-consent a { color: var(--ink); font-weight: 500; }
.signup-plan-trial-note {
  display: grid;
  gap: 6px;
  padding-top: 24px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.signup-plan-trial-note strong { font-size: 16px; }
.signup-plan-trial-note span { font-size: 14px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 14px;
  background: #fff;
  cursor: pointer;
  min-width: 0;
}
.plan-option strong { font-size: 15px; line-height: 1.4; }
.plan-option > span, .plan-option > small, .plan-option > em { grid-column: 2; }
.plan-option > span { font-size: 19px; line-height: 1.25; font-weight: 700; }
.plan-option small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.plan-trial-pill { font-size: 11px; font-style: normal; color: var(--muted); }
.plan-option:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  background: linear-gradient(135deg, #fff, #efeff4);
}
.plan-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.primary-btn {
  min-height: 54px;
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, #34343a, #17171a);
  border: 1px solid #34343a;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.primary-btn:hover { background: #34343a; }
.primary-btn:disabled { opacity: .6; cursor: wait; }
#signup-status { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
#signup-status:empty { display: none; }
.signup-support-line { margin: 0; text-align: center; color: var(--muted); font-size: 13px; }
.signup-support-line a { color: var(--ink); overflow-wrap: anywhere; }
.setup-preview-link { font-size: 14px; }
.install-help { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 600px) {
  .signup-shell { width: calc(100% - 40px); padding-top: 28px; }
  .signup-hero .eyebrow { font-size: 24px; margin-bottom: 24px; }
  .signup-hero h1 { font-size: 32px; line-height: 1.15; margin-bottom: 16px; }
  .signup-hero p:not(.eyebrow) { font-size: 15px; }
  .signup-trial-banner { margin: 24px 0; padding: 16px; }
  .plan-grid { grid-template-columns: 1fr; gap: 10px; }
  .plan-option { padding: 16px; gap: 8px 12px; }
  .plan-option small { font-size: 13px; }
}
