/* WebsDocs Hosted Profile Intake v2.1.0 */
:root {
  color-scheme: light;
  --ink: #0a1930; --muted: #53657e; --blue: #245be6; --accent: #7148ef;
  --line: #d6e0ee; --surface: #fff; --bg: #edf3fb;
  --pad: 1.25rem; --radius: 1.25rem;
  font: 100%/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, a, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #3274ff; outline-offset: 4px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: .6rem; font-size: clamp(2rem, 3vw, 5rem); line-height: 1.1; letter-spacing: -.035em; }
h2 { font-size: clamp(1.25rem, 1.4vw, 2rem); line-height: 1.25; letter-spacing: -.02em; }
small { font-size: .875rem; line-height: 1.5; }
.skip-link { position: absolute; top: .75rem; left: 1rem; z-index: 50; padding: .7rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.topbar { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem var(--pad); background: #071426; color: #fff; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; }
.brand img { object-fit: contain; flex: 0 0 auto; }
.brand span { display: grid; }
.brand strong { font-size: 1.1rem; }
.brand small { color: #b4c6e0; }
.topbar nav { display: flex; gap: clamp(1rem, 2vw, 3rem); flex-wrap: wrap; }
.topbar nav a { color: #e5efff; font-size: .9375rem; text-decoration: none; }



.eyebrow { display: block; margin-bottom: .65rem; color: var(--blue); font-size: .875rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.text-link { font-size: .9375rem; font-weight: 650; }







.form-heading { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.form-heading h2 { margin-bottom: .5rem; }
.form-heading p, .section-note { color: var(--muted); font-size: .9375rem; }
.form-heading p { margin-bottom: 0; }
fieldset { padding: 1.5rem 0; margin: 1rem 0 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
legend { padding: .5rem 0 0; font-size: 1.125rem; font-weight: 750; }
legend span { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .5rem; background: #edf2ff; border-radius: .6rem; color: var(--blue); font-size: .875rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
label { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.15rem; color: var(--ink); font-size: .9375rem; font-weight: 650; min-width: 0; }
input, select, textarea { width: 100%; min-width: 0; min-height: 3rem; padding: .7rem .85rem; border: 1px solid #b9c9df; border-radius: .65rem; background: #fff; color: var(--ink); font-size: 1rem; font-weight: 400; }
input::placeholder, textarea::placeholder { color: #697a90; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #748bae; }
textarea { resize: vertical; min-height: 7rem; }
.social-fields summary { cursor: pointer; font-weight: 650; color: var(--blue); padding: .5rem 0; }
.social-fields[open] summary { margin-bottom: .8rem; }
.consent { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .85rem; margin-top: 1.5rem; font-size: .9375rem; font-weight: 400; }
.consent input { width: 1.2rem; min-height: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--blue); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-actions { display: grid; gap: .8rem; margin-top: 1.5rem; }
.form-actions small { text-align: center; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.2rem; padding: .85rem 1.4rem; border: 0; border-radius: .75rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary { color: #fff; background: #245be6; box-shadow: 0 6px 15px #245be62a; }
.primary:hover { background: #1748c6; }
.primary:disabled { opacity: .65; cursor: wait; }

.preview-label { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .85rem; font-weight: 650; font-size: .9375rem; }
.chip { padding: .3rem .65rem; background: #e0e9f5; border-radius: 2rem; color: #41536c; font-size: .875rem; font-weight: 600; }

.preview-cover { height: clamp(6rem, 10vw, 18rem); padding: 1rem 1.4rem; display: flex; align-items: start; justify-content: end; background: linear-gradient(120deg, #091b35, var(--profile-primary) 65%, var(--profile-accent)); color: #dce9ff; font-size: .875rem; }
.preview-body { padding: 0 clamp(1.3rem, 2vw, 3rem) 1.7rem; overflow-wrap: anywhere; }
.initials { width: 5rem; height: 5rem; margin-top: -2.5rem; margin-bottom: 1.1rem; border: 5px solid #fff; border-radius: 1.2rem; background: #edf2ff; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; color: var(--blue); position: relative; }
.preview-body h2 { font-size: clamp(1.6rem, 2.2vw, 3.5rem); margin-bottom: .5rem; }
.preview-location { color: var(--muted); font-size: .9375rem; }
.preview-body > p:last-of-type { white-space: pre-line; }
.preview-contacts { display: flex; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--line); padding-top: 1rem; color: #465c7b; font-size: .9375rem; }
.preview-contacts span { padding: .45rem .65rem; background: #f0f4fa; border-radius: .5rem; overflow-wrap: anywhere; }
.preview-footnote { padding: 1rem 1.4rem; background: #f6f8fc; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.next-panel { padding: 1.6rem .2rem 1rem; }
.next-panel h2, .identity-note h2 { font-size: 1.0625rem; }
.next-panel ol { margin: .8rem 0; padding-left: 1.3rem; }
.next-panel li { margin-bottom: .6rem; }
.next-panel p, .identity-note p { color: var(--muted); font-size: .9375rem; }
.identity-note { padding-top: 1.3rem; border-top: 1px solid var(--line); }
dl { margin-bottom: 0; }
dt { font-size: .875rem; color: var(--muted); }
dd { margin: .25rem 0 1rem; font-size: .9375rem; overflow-wrap: anywhere; }
.message { border: 1px solid #adc6f0; border-radius: .7rem; padding: 1rem; background: #edf4ff; color: #173d76; overflow-wrap: anywhere; }
.message[data-tone="error"] { border-color: #e9bbbb; background: #fff1f1; color: #832525; }
.success-panel { overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 5rem); max-width: 65rem; margin: 2rem auto; }
.success-panel h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
.private-note { border-left: 3px solid var(--blue); padding-left: 1rem; color: var(--muted); }
.result-details { display: grid; grid-template-columns: minmax(8rem, 1fr) minmax(0, 2fr); gap: .5rem 1.5rem; margin: 1.5rem 0; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.result-details dd { margin: 0 0 .6rem; }
.success-panel > .text-link { display: inline-block; margin: 1rem; }

.secondary { background: #edf2ff; color: #1748c6; border: 1px solid #bfd0f3; }
.secondary:hover { background: #dfe9ff; }

.media-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0 1.5rem; }
.media-uploader, .media-gallery-uploader { border: 1px solid var(--line); border-radius: 1rem; background: #f8faff; padding: 1rem; }
.media-uploader-copy h3, .media-gallery-uploader h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.media-uploader-copy p { margin: 0 0 1rem; color: var(--muted); font-size: .88rem; }
.media-preview { min-height: 10rem; display: grid; place-items: center; overflow: hidden; border: 1px dashed #aabbd3; border-radius: .8rem; background: #fff; color: var(--muted); text-align: center; }
.media-preview-logo { min-height: 9rem; }
.media-preview-cover { aspect-ratio: 16 / 7; min-height: 9rem; }
.media-preview img { width: 100%; height: 100%; max-height: 18rem; object-fit: contain; }
.media-preview-cover img { object-fit: cover; }
.media-upload-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: .8rem; }
.media-file-button { position: relative; overflow: hidden; }
.media-file-button input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; opacity: 0; cursor: pointer; }
.media-file-button:focus-within { outline: 3px solid #3274ff; outline-offset: 4px; }
.media-status { display: block; margin-top: .65rem; color: var(--muted); }
.media-status[data-tone="error"] { color: #8b2525; }
.media-status[data-tone="busy"] { color: #1748c6; }
.media-gallery-uploader { margin: 0 0 1.5rem; }
.media-gallery-uploader .item-heading { align-items: start; }
.media-gallery-button { margin-bottom: 1rem; }
.media-upload-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.media-upload-item { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: .75rem; background: #fff; overflow: hidden; }
.media-upload-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.media-upload-item footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem; }
.media-upload-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-upload-item .remove-item { min-height: 2.2rem; padding: .35rem .55rem; flex: 0 0 auto; }
.external-media-links { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.external-media-links > summary { cursor: pointer; color: var(--blue); font-weight: 700; padding: .5rem 0; }
.external-media-links[open] > summary { margin-bottom: .8rem; }
.collection { margin-block: 1.5rem; }
.collection h3 { margin-bottom: .4rem; }
.collection-item { padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; margin-bottom: 1rem; background: #f8faff; }
.item-heading, .dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.item-heading h4, .dialog-heading h2 { margin: 0; }
.remove-item { min-height: 2.75rem; border: 1px solid #d3dcea; border-radius: .5rem; background: white; color: #8b2525; padding: .5rem .8rem; cursor: pointer; }
dialog { width: min(48rem, calc(100% - 2rem)); max-height: 85vh; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); overflow-y: auto; }
dialog::backdrop { background: #071426b8; }
dialog p { line-height: 1.7; }
input[type="color"] { padding: .3rem; }
.live-section { border-top: 1px solid var(--line); padding: 1.3rem clamp(1.3rem, 2vw, 3rem); overflow-wrap: anywhere; }
.live-section h3 { margin: 0 0 1rem; font-size: 1.15rem; }
.live-section h4 { margin: 0 0 .5rem; font-size: 1.05rem; }
.live-section p { white-space: pre-line; margin-bottom: .8rem; }
.live-item { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.live-item:last-child { border-bottom: 0; }
.live-price, .live-tagline { font-weight: 750; }
.live-image { margin: 0 0 1rem; }
.live-image img { width: 100%; max-height: 22rem; object-fit: contain; border-radius: .65rem; background: #f0f4fa; }
.live-image figcaption { padding: .8rem; background: #f0f4fa; color: var(--muted); font-size: .9rem; }
#preview-brand img[alt="Business logo"] { max-height: 7rem; }
#preview-links > a, #preview-links > span { display: block; margin-bottom: .75rem; }
.live-hours { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.live-hours span { text-align: right; }

/* Workspace layout */
body { margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh; }
.workspace {
  height: 100dvh;
  min-height: 52rem;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-block: 1px solid var(--line);
  scroll-margin-top: 1rem;
}
.studio-toolbar { scroll-margin-top: 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding: .7rem 1.25rem; background: #fff; border-bottom: 1px solid var(--line); }
.studio-status { margin-left: auto; font-size: .8rem; color: var(--muted); }
.panel-controls { display: flex; gap: .3rem; }
.panel-controls button, .editor-navigation button, .preview-tools button, .close-editor { background: #f2f5fa; color: #24466f; border: 1px solid var(--line); border-radius: .5rem; padding: .5rem .8rem; cursor: pointer; font-weight: 600; }
.panel-controls [aria-pressed="true"] { background: #245be6; color: #fff; border-color: #245be6; }
.setup-grid { --editor-share: 55%; display: grid; grid-template-columns: minmax(0,var(--editor-share)) 10px minmax(0,1fr); flex: 1; min-height: 0; gap: 0; }
.setup-grid[data-view="edit"], .setup-grid[data-view="preview"] { grid-template-columns: minmax(0,1fr); }
.form-panel { display: flex; flex-direction: column; background: white; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; }
.studio-tabs { display: flex; flex-wrap: wrap; gap: .3rem; padding: .7rem; background: #f7f9fd; border-bottom: 1px solid var(--line); }
.studio-tabs button { padding: .65rem .8rem; border: 1px solid transparent; border-radius: .5rem; color: #53657e; background: transparent; font-size: .85rem; font-weight: 650; cursor: pointer; }
.studio-tabs span { margin-right: .5rem; font-size: .75rem; opacity: .75; }
.studio-tabs [aria-selected="true"] { color: #1748c6; background: white; border-color: #c6d6f3; box-shadow: 0 2px 7px #1748c610; }
.editor-content { overflow-y: auto; flex: 1; min-height: 0; padding: 1.25rem clamp(1rem,2vw,3rem); scrollbar-gutter: stable; }
.close-editor { float: right; margin: 0 0 .5rem .5rem; font-size: .8rem; }
.editor-navigation { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .7rem 1.25rem; border-top: 1px solid var(--line); background: #fff; }
.editor-navigation span { font-size: .85rem; color: var(--muted); }
.editor-navigation button:disabled { opacity: .4; cursor: default; }
#studioDivider { cursor: col-resize; background: #e0e7f1; touch-action: none; position: relative; }
#studioDivider::after { content: ''; width: 3px; height: 42px; border-radius: 4px; position: absolute; top: 45%; left: 3px; background: #90a7cc; }
#studioDivider:hover, #studioDivider:focus-visible { background: #b6cdf4; }
.resizing { user-select: none; cursor: col-resize; }
.preview-column { min-width: 0; min-height: 0; overflow-y: auto; padding: 0 1.25rem 1.5rem; background: #eaf0f8; }
.preview-tools { display: flex; align-items: center; justify-content: space-between; gap: .7rem; position: sticky; top: 0; z-index: 2; background: #eaf0f8; padding: 1rem 0; }
.preview-tools button { font-size: .8rem; }
.profile-preview { --profile-primary: #1f5eff; --profile-accent: #7047eb; border: 1px solid #c9d8ed; border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 20px 50px #15325b0f; }


@media (min-width: 2400px) { :root { font-size: clamp(16px,.7vw,32px); } }
@media (max-width: 1100px) { .field-grid, .media-upload-grid { grid-template-columns: 1fr; } .studio-status { display: none; } }
@media (max-width: 760px) { .media-upload-list { grid-template-columns: repeat(2,minmax(0,1fr)); } .topbar { padding: .6rem 1rem; min-height: 4rem; gap: .7rem; } .brand small { display: none; } .brand strong { font-size: .95rem; } .topbar nav { gap: .5rem; } .topbar nav a { font-size: .8rem; } .studio-toolbar { gap: .5rem; padding: .5rem; } .panel-controls button { font-size: .8rem; } .panel-controls [data-view="split"] { display: none; } .studio-tabs { flex-wrap: nowrap; overflow-x: auto; flex-shrink: 0; } .studio-tabs button { white-space: nowrap; } .result-details { grid-template-columns: 1fr; } .editor-navigation { padding: .6rem; } .editor-navigation span { font-size: .75rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Brand and supporting sections */
.studio-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(2rem,6vw,8rem); padding: clamp(3rem,6vw,7rem) clamp(1.25rem,5vw,7rem); background: radial-gradient(ellipse at 95% 5%,#263b70 0,transparent 65%),#081728; color: #fff; overflow: hidden; }
.hero-copy { align-self: center; }
.hero-kicker { display: block; font-size: .75rem; font-weight: 750; letter-spacing: .18em; color: #a3c4ff; }
.studio-hero h1 { margin: 1.3rem 0 1.5rem; font-size: clamp(2.6rem,4.5vw,6.8rem); line-height: 1.02; letter-spacing: -.055em; }
.studio-hero h1 em { font-style: normal; color: #99baff; }
.hero-copy > p { max-width: 55ch; color: #bbcee6; font-size: 1.1rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin: 2rem 0 1rem; }
.hero-owner-link { color: #dbe7ff; font-size: .9rem; }
.hero-small { color: #a9bdd8; font-size: .8rem; }
.hero-story { align-self: center; padding: clamp(1.5rem,2.7vw,3rem); border: 1px solid #5e78a366; border-radius: 1.5rem; background: linear-gradient(145deg,#21406888,#132441cc); box-shadow: 0 28px 65px #020b182b; }
.story-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #a8c5ec; font-size: .65rem; font-weight: 650; letter-spacing: .12em; }
.story-dot { width: .55rem; height: .55rem; background: #53d1bb; border-radius: 50%; flex-shrink: 0; }
.hero-story h2 { margin: 1.8rem 0 1rem; font-size: clamp(1.7rem,2.5vw,3rem); letter-spacing: -.04em; }
.hero-story > p { color: #bbcee6; font-size: .95rem; }
.story-topics { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; }
.story-topics span { padding: .5rem .75rem; font-size: .8rem; border: 1px solid #58769e66; border-radius: .5rem; background: #d5e5ff0a; }
.story-steps { list-style: none; padding: 1.25rem 0; margin: 0; border-block: 1px solid #59709155; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.story-steps li > span { display: block; font-size: .8rem; color: #8aaae0; margin-bottom: .6rem; }
.story-steps strong { display: block; font-size: .9rem; }
.story-steps small { display: block; color: #b2c5df; font-size: .75rem; margin-top: .4rem; }
.hero-story .story-foot { margin: 1.25rem 0 0; font-size: .75rem; }

.studio-after { background: #f8faff; }
.studio-closing { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(2rem,6vw,7rem); padding: clamp(3rem,5vw,6rem) clamp(1.25rem,5vw,7rem); border-bottom: 1px solid var(--line); }
.section-eyebrow { display: block; color: #245be6; font-size: .75rem; font-weight: 750; letter-spacing: .14em; margin-bottom: 1.25rem; }
.studio-closing h2, .faq-intro h2 { font-size: clamp(2rem,3.4vw,4.5rem); line-height: 1.1; letter-spacing: -.045em; margin: 0; }
.closing-copy > p { font-size: 1.05rem; color: var(--muted); line-height: 1.8; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin: 1.5rem 0 1rem; }
.closing-copy small { font-size: .8rem; color: var(--muted); }
.studio-faq { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(2rem,6vw,7rem); padding: clamp(3rem,5vw,6rem) clamp(1.25rem,5vw,7rem); scroll-margin-top: 1rem; }
.faq-intro > p { margin: 1.5rem 0; color: var(--muted); font-size: 1.05rem; max-width: 34ch; }
.faq-scroll-note { display: block; color: var(--muted); font-size: .8rem; margin-top: 2rem; }
.faq-scroll { max-height: 30rem; overflow-y: auto; overscroll-behavior-y: auto; scrollbar-gutter: stable; padding: .5rem 1.5rem; background: white; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 15px 40px #15325b08; }
.faq-scroll details { border-bottom: 1px solid var(--line); }
.faq-scroll details:last-child { border: 0; }
.faq-scroll summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-weight: 650; cursor: pointer; list-style: none; }
.faq-scroll summary::-webkit-details-marker { display: none; }
.faq-scroll summary span { color: #245be6; font-size: 1.3rem; flex-shrink: 0; }
.faq-scroll details[open] summary span { transform: rotate(45deg); }
.faq-scroll p { padding: 0 1.5rem .8rem 0; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.studio-footer { display: block; padding: 3rem clamp(1.25rem,5vw,7rem) 1.5rem; background: #081728; color: #b9cbe3; }
.footer-main { display: flex; justify-content: space-between; align-items: start; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand { display: flex; gap: 1rem; align-items: center; color: white; text-decoration: none; font-size: 1.25rem; font-weight: 700; }
.footer-brand img { object-fit: contain; }
.footer-brand small { display: block; color: #aabfdc; font-size: .8rem; font-weight: 400; margin-top: .35rem; }
.studio-footer nav { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.studio-footer a { color: inherit; }
.studio-footer nav a { font-size: .9rem; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid #59709155; padding-top: 1.5rem; font-size: .75rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 1.5rem; }
@media (max-width: 850px) { .studio-hero, .studio-closing, .studio-faq { grid-template-columns: minmax(0,1fr); } .footer-main { flex-direction: column; } .studio-hero h1 { font-size: clamp(2.6rem,8vw,4.5rem); } .topbar { flex-wrap: wrap; } .faq-scroll { max-height: 26rem; } }
