/* Get started (get-started.html) and create account (create-account.html).
   Built on the Contour skin in ash.css: charcoal panels, bone text, amber
   accent, Barlow Condensed display type. The price slots reuse the pricing
   grid's .plan-price* rules from styles.css / ash.css, because the same
   renderer (renderPlanPrice in script.js) fills them. */

/* ---------- Get started ---------- */

.gs {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 112px);
  background:
    radial-gradient(ellipse 58% 36% at 50% 0%, #ffb35c12, transparent 72%),
    radial-gradient(ellipse 40% 30% at 12% 18%, #ffb35c08, transparent 70%);
}
.gs-head {
  margin-bottom: clamp(32px, 5vw, 48px);
}
.gs-head h1 {
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  margin: 14px 0 18px;
}
.gs-head p {
  max-width: 600px;
  margin-inline: auto;
}

.gs-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  max-width: 1080px;
  margin: 0 auto;
  background: #171615;
  border: 1px solid #b099722b;
  border-radius: 20px;
  overflow: hidden;
}
/* A thin amber rule along the top edge, the featured plan's accent. */
.gs-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffb35c99 30%, #ffb35c99 70%, transparent);
  pointer-events: none;
}

.gs-plan {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, #211d18, #1b1815 70%);
  border-right: 1px solid var(--hairline);
}
.gs-plan-id {
  display: flex;
  align-items: center;
  gap: 16px;
}
.gs-plan-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  background: #15130f;
  border: 1px solid #ffb35c33;
  border-radius: 14px;
}
.gs-plan-name {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
}
.gs-plan-tagline {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--text-3);
}

.gs-periods {
  margin: 28px 0 22px;
}
.gs-periods .period-toggle-btn {
  min-height: 36px;
  padding-inline: 16px;
}

.gs-price .plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.gs-price .plan-price-amount {
  font-size: 56px;
  line-height: 1;
}
.gs-price .plan-price-period {
  font-size: 14px;
}
.gs-price .plan-price-billed {
  margin: 10px 0 0;
  font-size: 13.5px;
}
.gs-price .plan-price-tax {
  margin: 4px 0 0;
}
.gs-renew {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
}

.gs-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.gs-cta {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-size: 14px;
}
.gs-cta[hidden] {
  display: none;
}
.gs-free-note {
  margin: 2px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
}
.gs-offer {
  margin: 22px 0 0;
  text-align: left;
}

.gs-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--text-3);
}
.gs-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.gs-assurances svg {
  color: var(--accent);
}

.gs-included {
  padding: clamp(28px, 4vw, 44px);
}
.gs-included-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}
.gs-included-sub {
  margin: 6px 0 22px;
  font-size: 13.5px;
  color: var(--text-3);
}
.gs-features {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.gs-features li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border-soft);
}
.gs-features li:last-child {
  border-bottom: 0;
}
.gs-features .check {
  color: var(--accent);
}

.gs-foot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  background: #131211;
  border-top: 1px solid var(--hairline);
}
.gs-foot-cell {
  padding: 26px clamp(28px, 4vw, 44px) 30px;
}
.gs-foot-cell + .gs-foot-cell {
  border-left: 1px solid var(--hairline);
}
.gs-foot h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.gs-foot p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
}
.gs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.gs-chips li {
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--text-2);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}
.gs-os {
  display: grid;
  gap: 8px;
  margin: 0;
}
.gs-os div {
  display: flex;
  gap: 10px;
  font-size: 13px;
}
.gs-os dt {
  min-width: 70px;
  color: var(--text-2);
  font-weight: 600;
}
.gs-os dd {
  margin: 0;
  color: var(--text-3);
}

.gs-more {
  margin: 28px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-3);
}
.gs-more a,
.ca-signin a,
.ca-back a,
.ca-agree a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: #ffb35c80;
  text-underline-offset: 3px;
}
.gs-more a:hover,
.ca-signin a:hover,
.ca-back a:hover,
.ca-agree a:hover {
  color: var(--accent);
}

/* Shown only while the operator hides pricing (prelaunch.js stamps
   <html data-pricing="hidden">): the plan card is hidden then. */
.gs-pricing-notice {
  display: none;
}
html[data-pricing="hidden"] .gs-pricing-notice {
  display: block;
}

@media (max-width: 860px) {
  .gs-card,
  .gs-foot {
    grid-template-columns: minmax(0, 1fr);
  }
  .gs-plan {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .gs-foot-cell + .gs-foot-cell {
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }
}
@media (max-width: 420px) {
  .gs-price .plan-price-amount {
    font-size: 46px;
  }
  .gs-plan-name {
    font-size: 30px;
  }
}

/* ---------- Create account ---------- */

.page-create-account {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 60% 34% at 50% 0%, #ffb35c10, transparent 72%),
    var(--bg);
}
.ca-top {
  display: flex;
  justify-content: center;
  padding: 36px 16px 8px;
}
.ca {
  flex: 1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.ca .download-prelaunch {
  margin-top: 24px;
}

.ca-card {
  position: relative;
  padding: clamp(26px, 6vw, 38px);
  background: #171615;
  border: 1px solid #b099722b;
  border-radius: 20px;
}
.ca-card::before {
  content: "";
  position: absolute;
  inset: 0 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffb35c99 30%, #ffb35c99 70%, transparent);
  pointer-events: none;
}
.ca-card h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(38px, 8vw, 46px);
  line-height: 1.02;
}
.ca-sub {
  margin: 10px auto 0;
  max-width: 320px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-3);
}

.ca-plan {
  margin: 26px 0 22px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.ca-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ca-plan-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.ca-plan-brand {
  color: var(--text-2);
}
.ca-change {
  padding: 2px 0;
  font: inherit;
  font-size: 12.5px;
  color: var(--accent);
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ca-change:hover {
  color: var(--accent-2);
}
.ca-change:focus-visible,
.ca-idp:focus-visible,
.ca-option:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ca-billing {
  margin: 14px 0 4px;
  padding: 0;
  border: 0;
}
.ca-options {
  display: grid;
  gap: 8px;
}
.ca-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #1d1a16;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.ca-option:hover {
  border-color: #b0997260;
}
.ca-option:has(input:checked) {
  background: #241f19;
  border-color: #ffb35c88;
}
.ca-option input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}
.ca-option-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ca-option-title {
  font-size: 14px;
  font-weight: 600;
}
.ca-option-detail {
  font-size: 12.5px;
  color: var(--text-3);
}
.ca-option-save {
  flex: none;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: #ffb35c0c;
  border: 1px solid #ffb35c38;
  border-radius: 999px;
}

.ca-price {
  margin-top: 16px;
}
.ca-price .plan-price-amount {
  font-size: 44px;
}
.ca-renew {
  margin-top: 10px;
}
.ca-offer {
  margin: 16px 0 0;
  text-align: left;
}
.ca-byo {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-3);
}

.ca-form {
  display: grid;
  gap: 12px;
}
.ca-notice {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #f3c9a5;
  background: #2a1d12;
  border: 1px solid #ffb35c55;
  border-radius: 12px;
}
.ca-notice[hidden] {
  display: none;
}
.ca-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
  cursor: pointer;
}
.ca-agree input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.ca-agree input[aria-invalid="true"] {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ca-idp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid #ffffff28;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.ca-idp:hover {
  background: var(--accent-soft);
  border-color: #ffb35c66;
}
.ca-idp svg {
  flex: none;
}
.ca-idp:disabled,
.ca-idp[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.ca-idp:disabled:hover,
.ca-idp[aria-disabled="true"]:hover {
  background: transparent;
  border-color: #ffffff28;
}
.ca-form.is-busy .ca-idp {
  pointer-events: none;
}

.ca-fine {
  margin: 20px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-3);
}
.ca-fine[hidden] {
  display: none;
}
.ca-signin {
  margin: 26px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
}
.ca-back {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
}
.ca-back a {
  color: var(--text-3);
  text-decoration: none;
}

.ca-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  padding: 22px 16px 28px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-soft);
}
.ca-footer nav {
  display: flex;
  gap: 16px;
}
.ca-footer a {
  color: var(--text-3);
}
.ca-footer a:hover {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .ca-option,
  .ca-idp {
    transition: none;
  }
}
