/* ============================================================================
   Login-free checkout /checkout/start (checkouts/start.html.erb), in the look
   of the website sternehero.de: logo, night summary card with both prices,
   light form card, trust notes. Everything is scoped under .ck-page and does
   not depend on the v4 design switch or on Tailwind utilities.
   ========================================================================= */

.ck-page {
  --ck-night: #0c1b1e;
  --ck-night-2: #12292d;
  --ck-ink: #10292b;
  --ck-muted: #536a6c;
  --ck-faint: #7b8e8f;
  --ck-line: #cde0df;
  --ck-accent: #0f766e;
  --ck-mint: #2dd4bf;
  --ck-mint-ink: #a7f3e4;
  --ck-bad: #b42318;
  --ck-warn: #8a5a00;
  min-height: 100vh;
  padding: 24px 20px 40px;
  background:
    radial-gradient(1200px 520px at 50% -180px, rgba(45, 212, 191, .16), transparent 70%),
    #f3f7f6;
  color: var(--ck-ink);
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.ck-page *, .ck-page *::before, .ck-page *::after { box-sizing: border-box; }
.ck-page svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ck-page a { color: var(--ck-accent); text-decoration: underline; text-underline-offset: 2px; }
.ck-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
.ck-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1040px; margin: 0 auto 28px; }
.ck-logo { display: inline-flex; text-decoration: none; }
/* logo.png is a square with the word mark in the middle band: cover crops it to the band */
.ck-logo__img { display: block; width: 190px; height: 34px; object-fit: cover; object-position: center; }
.ck-top__secure { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ck-accent); }

/* Grid: summary right on desktop, first on the phone */
.ck-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); grid-template-areas: "card summary"; align-items: start; gap: 20px 28px; max-width: 1040px; margin: 0 auto; }
.ck-summary { grid-area: summary; }
.ck-card { grid-area: card; }

/* Summary card (night, like the website hero) */
.ck-summary { position: relative; overflow: hidden; padding: 26px; border-radius: 22px; background: linear-gradient(160deg, var(--ck-night-2), var(--ck-night) 60%); color: #e6f1f0; box-shadow: 0 30px 60px -30px rgba(12, 27, 30, .55); }
.ck-summary::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 320px; height: 320px; background: radial-gradient(closest-side, rgba(45, 212, 191, .22), transparent); pointer-events: none; }
.ck-eyebrow { margin: 0; font-family: "DM Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ck-mint-ink); opacity: .8; }
.ck-plan { margin: 10px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.ck-price { margin: 6px 0 0; font-size: 40px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
.ck-price span { font-size: 15px; font-weight: 500; letter-spacing: 0; color: #b9cfcd; }
.ck-sub { margin: 4px 0 0; font-size: 14px; color: #b9cfcd; }
.ck-code { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(167, 243, 228, .08); border: 1px solid rgba(167, 243, 228, .3); }
.ck-code__badge { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 13px; font-weight: 700; color: var(--ck-mint-ink); }
.ck-code__badge svg { width: 16px; height: 16px; stroke-width: 2.4; }
.ck-rows { margin: 10px 0 0; }
.ck-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0; }
.ck-rows > div + div { border-top: 1px dashed rgba(167, 243, 228, .2); }
.ck-rows dt { font-size: 14px; color: #b9cfcd; }
.ck-rows dd { margin: 0; font-size: 14px; color: #cfe1df; text-align: right; font-variant-numeric: tabular-nums; }
.ck-rows dd b { font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.ck-rows dd s { margin-right: 6px; color: #8fa9a7; }
.ck-due { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ck-due span { font-size: 14px; font-weight: 600; color: #e6f1f0; }
.ck-due b { font-size: 22px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.ck-due small { grid-column: 2; justify-self: end; font-size: 12px; color: #9db7b5; }
.ck-points { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ck-points li { position: relative; padding-left: 26px; font-size: 14px; color: #dbe9e7; }
.ck-points li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 14px; height: 8px; border-left: 2px solid var(--ck-mint); border-bottom: 2px solid var(--ck-mint); transform: rotate(-45deg); }
.ck-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: #9db7b5; }
.ck-note + .ck-note { margin-top: 3px; }
.ck-place { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.ck-place p { margin: 0; }
.ck-place__label { font-size: 12px; color: #9db7b5; }
.ck-place__name { font-weight: 700; color: #fff; }
.ck-place__addr { font-size: 13px; color: #cfe1df; }

/* Form card */
.ck-card { padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--ck-line); box-shadow: 0 24px 50px -32px rgba(12, 27, 30, .35); }
.ck-h1 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; color: var(--ck-ink); }
.ck-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ck-faint); }
.ck-steps li { display: inline-flex; align-items: center; gap: 7px; }
.ck-steps span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ck-line); font-family: "DM Mono", ui-monospace, monospace; font-size: 12px; }
.ck-steps .is-now { color: var(--ck-ink); font-weight: 700; }
.ck-steps .is-now span { background: var(--ck-accent); border-color: var(--ck-accent); color: #fff; }
.ck-alert { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #fef3f2; border: 1px solid #fecdca; color: var(--ck-bad); font-size: 14px; }
.ck-alert--warn { background: #fffaeb; border-color: #fedf89; color: var(--ck-warn); }
.ck-alert p { margin: 0; }
.ck-alert__link { margin-top: 8px !important; font-weight: 700; }
.ck-form { display: grid; gap: 18px; margin-top: 22px; }
.ck-field { display: grid; gap: 6px; }
.ck-label { font-size: 14px; font-weight: 700; color: var(--ck-ink); }
.ck-input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #b9cfcd; background: #fff; color: var(--ck-ink); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.ck-input::placeholder { color: #98aaab; }
.ck-input:focus { outline: none; border-color: var(--ck-accent); box-shadow: 0 0 0 3px rgba(15, 118, 110, .18); }
.ck-input--code { text-transform: uppercase; font-family: "DM Mono", ui-monospace, monospace; letter-spacing: .04em; }
.ck-help { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ck-muted); }
.ck-help a { color: var(--ck-accent); }
.ck-signed-in { margin: 0; font-size: 14px; color: var(--ck-muted); }
.ck-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ck-ink); }
.ck-check label { cursor: pointer; }
.ck-box { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ck-accent); }
.ck-privacy { margin: -8px 0 0; font-size: 12px; line-height: 1.5; color: var(--ck-faint); }
.ck-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 54px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #5eead4, var(--ck-mint)); color: var(--ck-night); font: inherit; font-size: 16px; font-weight: 800; letter-spacing: -.01em; cursor: pointer; box-shadow: 0 12px 24px -12px rgba(15, 118, 110, .7); transition: transform .15s, box-shadow .15s; }
.ck-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgba(15, 118, 110, .75); }
.ck-btn:disabled { opacity: .7; cursor: progress; transform: none; }
.ck-pay { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: -6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ck-muted); text-align: left; }
.ck-pay svg { margin-top: 1px; color: var(--ck-accent); }
.ck-callback { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #e3eeed; font-size: 14px; text-align: center; color: var(--ck-muted); }
.ck-callback a { font-weight: 700; }
.ck-decides { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--ck-faint); }

.ck-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; max-width: 1040px; margin: 28px auto 0; font-size: 12.5px; }
.ck-foot a { color: var(--ck-muted); }

@media (max-width: 860px) {
  .ck-page { padding: 16px 14px 32px; }
  .ck-top { margin-bottom: 16px; }
  .ck-logo__img { width: 150px; height: 27px; }
  .ck-top__secure { font-size: 12px; }
  .ck-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "summary" "card"; gap: 14px; }
  .ck-summary { padding: 20px; border-radius: 18px; }
  .ck-price { font-size: 34px; }
  .ck-card { padding: 22px 18px; border-radius: 18px; }
  .ck-h1 { font-size: 22px; }
}
