/*
 * Create website: one-page trial sign-up (views/pages/domain/new.php) in the new Yclas look.
 * Uses the tokens in yclas-tokens.css (the design system, https://claude.ai/artifact/DNbatdacswrhbmBso9nygd).
 */
body { background: var(--yc-ground); }
.nav-container, footer, .back-to-top, .yc-bar, .yc-foot { display: none !important; }
.main-container > .alert { max-width: 1160px; margin: 16px auto 0; border-radius: var(--yc-radius-lg); font-family: var(--yc-font-body); }

.ycs { min-height: 100vh; display: flex; flex-direction: column; font: 400 16px/1.5 var(--yc-font-body); color: var(--yc-ink); -webkit-font-smoothing: antialiased; }
.ycs *, .ycs *::before, .ycs *::after { box-sizing: border-box; }
.ycs a { color: var(--yc-accent-hover); font-weight: 600; text-decoration: none; }
.ycs a:hover { text-decoration: underline; }
.ycs svg { flex: none; }

.ycs-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; max-width: 1240px; margin: 0 auto; padding: 24px 32px; }
.ycs-logo img { height: 30px; width: auto; display: block; margin: 0; }
.ycs-top__login { margin: 0; color: var(--yc-ink-muted); font-size: 15px; }

.ycs-grid { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 8px 32px 64px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }

.ycs-form { max-width: 440px; display: flex; flex-direction: column; gap: 20px; }
.ycs-eyebrow { margin: 0; font: 600 12px/1.3 var(--yc-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--yc-accent); }
.ycs-title { margin: -8px 0 0; font: 800 clamp(36px, 4vw, 50px)/1.02 var(--yc-font-display); letter-spacing: -.045em; color: var(--yc-ink); text-wrap: balance; }
.ycs-lead { margin: -6px 0 0; font-size: 17px; color: var(--yc-ink-muted); }

.ycs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 24px; border-radius: var(--yc-radius-pill); font: 600 16px/1 var(--yc-font-body); letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; margin: 0; }
.ycs-btn svg { width: 18px; height: 18px; }
.ycs .ycs-btn--google { background: var(--yc-surface); color: var(--yc-ink); border: 1px solid var(--yc-line-strong); }
.ycs .ycs-btn--google:hover { background: var(--yc-panel); text-decoration: none; }
.ycs-btn--google svg { width: 20px; height: 20px; }
.ycs-btn--primary { background: var(--yc-accent); color: var(--yc-on-accent); border: 0; box-shadow: var(--yc-shadow-accent); }
.ycs-btn--primary svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ycs-btn--primary:hover { background: var(--yc-accent-hover); transform: translateY(-1px); }
.ycs-btn:focus-visible { outline: none; box-shadow: var(--yc-ring-focus); }

.ycs-or { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--yc-ink-faint); font-size: 13px; }
.ycs-or::before, .ycs-or::after { content: ""; flex: 1; height: 1px; background: var(--yc-line); }

#ycs-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.ycs-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ycs-field { display: flex; flex-direction: column; gap: 8px; }
.ycs-field label { margin: 0; font: 600 14px/1.3 var(--yc-font-body); color: var(--yc-ink); text-transform: none; letter-spacing: 0; }
.ycs .ycs-input, .ycs .ycs-input input { font: 400 16px var(--yc-font-body); color: var(--yc-ink); }
.ycs input.ycs-input, .ycs .ycs-input--suffix { width: 100%; height: 54px; margin: 0; padding: 0 16px; border: 1px solid var(--yc-line-strong); border-radius: var(--yc-radius-lg); background: var(--yc-surface); box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.ycs .ycs-input--suffix { display: flex; align-items: center; }
.ycs .ycs-input--suffix input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; outline: 0; }
.ycs input.ycs-input:focus, .ycs .ycs-input--suffix:focus-within { outline: none; border-color: var(--yc-accent); box-shadow: var(--yc-ring-focus); }
.ycs input::placeholder { color: var(--yc-ink-faint); opacity: 1; }
.ycs-hint { margin: 0; font-size: 13px; color: var(--yc-ink-muted); }
.ycs-hint b { color: var(--yc-ink); font-weight: 600; }
.ycs-avail { display: none; }
.ycs-avail--later { display: inline; }
.ycs-hint.is-ok .ycs-avail--ok { display: inline; color: var(--yc-success); font-weight: 600; }
.ycs-hint.is-taken .ycs-avail--taken { display: inline; color: var(--yc-warning); font-weight: 600; }
.ycs-hint.is-ok .ycs-avail--later, .ycs-hint.is-taken .ycs-avail--later { display: none; }
.ycs-signed { margin: 0; padding: 12px 16px; border-radius: var(--yc-radius-md); background: var(--yc-panel); font-size: 15px; color: var(--yc-ink-muted); }
.ycs-signed b { color: var(--yc-ink); }
.ycs-fine { margin: -4px 0 0; font-size: 13px; color: var(--yc-ink-muted); text-align: center; }
.ycs-fine a { font-weight: 500; }

.ycs-checks, .ycs-ready { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ycs-checks li, .ycs-ready li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--yc-ink-muted); }
.ycs-checks svg, .ycs-ready svg { width: 16px; height: 16px; fill: none; stroke: var(--yc-success); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* errors from Form::errors() */
.ycs .alert { margin: 0; padding: 14px 16px; border: 0; border-radius: var(--yc-radius-md); background: var(--yc-danger-soft); color: var(--yc-danger); font-size: 15px; }
.ycs .alert h2 { margin: 0 0 4px; font: 600 15px var(--yc-font-body); color: var(--yc-danger); }
.ycs .alert ul { margin: 0; padding-left: 18px; }

.ycs-preview { background: var(--yc-panel); border-radius: var(--yc-radius-xl); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.ycs-preview__label { display: flex; justify-content: space-between; gap: 12px; margin: 0; font: 500 13px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--yc-ink-muted); }
.ycs-preview__label span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--yc-ink); }
.ycs-preview__label span:first-child::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yc-success); box-shadow: 0 0 0 4px var(--yc-success-soft); }
.ycs-frame { background: var(--yc-surface); border: 1px solid var(--yc-line); border-radius: 14px; overflow: hidden; box-shadow: var(--yc-shadow-md); }
.ycs-frame__bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: var(--yc-panel); border-bottom: 1px solid var(--yc-line); }
.ycs-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--yc-line-strong); opacity: .45; }
.ycs-frame__bar span { margin-left: 10px; padding: 0 10px; height: 22px; line-height: 22px; border-radius: 999px; background: var(--yc-surface); color: var(--yc-ink-muted); font: 500 12px/22px ui-monospace, Menlo, Consolas, monospace; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 60%; }
.ycs-frame__shot { position: relative; container-type: inline-size; }
.ycs-frame__shot img { display: block; width: 100%; height: auto; margin: 0; }
.ycs-frame__brand { position: absolute; left: 5.2%; top: .9%; height: 4.4%; display: flex; align-items: center; gap: .9cqw; padding-right: 1.4cqw; background: #fff; font: 700 1.55cqw/1 var(--yc-font-body); color: #14161A; letter-spacing: -.02em; white-space: nowrap; max-width: 30%; overflow: hidden; }
.ycs-frame__brand i { flex: none; width: 2.2cqw; height: 2.2cqw; border-radius: .5cqw; background: #0B7A5C; }

@media (max-width: 980px) {
    .ycs-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 0; }
    .ycs-form { max-width: none; }
    .ycs-preview { padding: 20px; }
}
@media (max-width: 560px) {
    .ycs-top, .ycs-grid { padding-left: 16px; padding-right: 16px; }
    .ycs-top__login { font-size: 14px; }
    .ycs-preview { display: none; }
}

/* the old theme styles every input and heading: keep them out of this page's layout */
.ycs input[type="hidden"] { display: none !important; }
.ycs h1.ycs-title { margin: -8px 0 0 !important; }
.ycs p { margin-bottom: 0; }

/* more reasons to start: trial contents, style picker, proof */
.ycs-checks { margin-top: -4px; justify-content: center; }
.ycs-trial { border-top: 1px solid var(--yc-line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.ycs-trial__title { margin: 0; font: 600 12px/1.3 var(--yc-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--yc-ink-faint); }
.ycs-trial ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ycs-trial li { position: relative; padding-left: 18px; font-size: 15px; color: var(--yc-ink-muted); }
.ycs-trial li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--yc-accent); }
.ycs-trial b { color: var(--yc-ink); font-weight: 600; }

.ycs-styles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ycs-styles > span { font-size: 13px; color: var(--yc-ink-muted); margin-right: 4px; }
.ycs .ycs-styles button { display: inline-flex; align-items: center; gap: 6px; height: 34px; margin: 0; padding: 0 12px 0 6px; border: 1px solid var(--yc-line); border-radius: var(--yc-radius-pill); background: var(--yc-surface); color: var(--yc-ink); font: 600 13px/1 var(--yc-font-body); letter-spacing: 0; text-transform: none; cursor: pointer; }
.ycs-styles button i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); }
.ycs .ycs-styles button[aria-pressed="true"] { border-color: var(--yc-ink); box-shadow: inset 0 0 0 1px var(--yc-ink); }
.ycs .ycs-styles button:focus-visible { outline: none; box-shadow: var(--yc-ring-focus); }
.ycs-frame__shot img { transition: opacity .2s; }
.ycs-preview__note { margin: -4px 0 0; font-size: 13px; color: var(--yc-ink-muted); }

.ycs-quote { margin: 4px 0 0; padding: 20px 22px; border-radius: var(--yc-radius-lg); background: var(--yc-hero); color: var(--yc-on-hero); display: flex; flex-direction: column; gap: 10px; }
.ycs-quote blockquote { margin: 0; padding: 0; border: 0; font: 600 17px/1.4 var(--yc-font-display); letter-spacing: -.01em; color: var(--yc-on-hero); }
.ycs-quote figcaption { font-size: 13px; color: var(--yc-on-hero-muted); }
.ycs-quote figcaption b { color: var(--yc-on-hero); font-weight: 600; }
.ycs-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ycs-stats li { padding: 12px 14px; border-radius: var(--yc-radius-md); background: var(--yc-surface); font-size: 12px; line-height: 1.35; color: var(--yc-ink-muted); }
.ycs-stats b { display: block; font: 800 22px/1.1 var(--yc-font-display); letter-spacing: -.03em; color: var(--yc-ink); margin-bottom: 2px; }
@media (max-width: 560px) { .ycs-trial { display: none; } }
.ycs-grid { align-items: start; padding-top: 32px; }
.ycs-preview { margin-top: 8px; }
.ycs-quote figcaption, .ycs-quote blockquote { font-style: normal; }
.ycs-trial li { line-height: 1.45; }
.ycs-checks li { line-height: 1.3; }
.ycs section.ycs-form { padding: 0; }

/* a plan chosen on the pricing page: the order summary (views/pages/domain/new.php), shown on phones too */
.ycs-order { border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.ycs-order p { margin: 0; }
.ycs-order__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; color: var(--yc-ink); }
.ycs-order__line span { color: var(--yc-ink-muted); font-size: 14px; }
.ycs-order__line span b { font: 800 22px/1 var(--yc-font-display); letter-spacing: -.03em; color: var(--yc-ink); }
.ycs-order__note { font-size: 14px; color: var(--yc-ink-muted); }
.ycs-order__fine { font-size: 13px; color: var(--yc-ink-faint); }
.ycs-order__fine a { color: var(--yc-accent); font-weight: 600; }
