/* "Start from scratch": the link under the address box and its dialog (start.js). */
.scratch-link { margin: .8rem 0 0; color: var(--muted); font-size: .98rem; }
.linkish { font: inherit; font-weight: 650; color: var(--brand); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.linkish:hover { color: var(--ink); }

.start-dialog { width: min(560px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--line);
  border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(22, 32, 43, .22); }
.start-dialog::backdrop { background: rgba(22, 32, 43, .45); backdrop-filter: blur(4px); }
.start-form { position: relative; display: grid; gap: .85rem; padding: clamp(1.2rem, 4vw, 2rem); }
.start-form h2 { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.start-form .eyebrow { margin: 0; }
.start-form > .muted { margin: 0 0 .3rem; font-size: .95rem; }
.start-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem; font-weight: 600; font-size: .93rem; }
.start-form label > input, .start-form label > textarea { flex: 1 0 100%; width: 100%; }
.start-form .opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.start-form input, .start-form textarea { font: inherit; font-weight: 400; padding: .65rem .85rem; border: 2px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); resize: vertical; }
.start-form input:focus, .start-form textarea:focus { outline: none; border-color: var(--brand); }
.start-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.start-more { border: 1px dashed var(--line); border-radius: 10px; padding: .2rem .9rem; }
.start-more summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: .93rem; padding: .55rem 0; }
.start-more[open] { display: grid; gap: .8rem; padding-bottom: .9rem; }
.start-form .error { margin: 0; }
.start-form [type=submit] { justify-self: start; margin-top: .2rem; }
.start-close { position: absolute; top: .7rem; right: .8rem; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.start-close:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 520px) { .start-row { grid-template-columns: 1fr; } }

/* its preview page: nothing to show as "your site today" */
.scratch .build-before, .scratch [data-pane="before"] { display: none; }
.scratch .build-card { grid-template-columns: 1fr; max-width: 640px; }
