@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap');

/* Shared foundations */
:root {
  --forest: #194f42;
  --deep: #103b31;
  --ink: #172d29;
  --muted: #596d65;
  --paper: #f3f6f4;
  --line: #d8e2dc;
  --lime: #d9eda5;
  --white: #ffffff;
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .brand { font-family: 'Syne', sans-serif; line-height: 1.08; letter-spacing: -.045em; }
h1, h2, h3, p, figure { margin-top: 0; }
a { color: inherit; text-underline-offset: 5px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a, summary, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #4b8977; outline-offset: 4px; }
img, video { display: block; max-width: 100%; }
[hidden], .hidden { display: none !important; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 13px 22px; border: 1px solid var(--forest); border-radius: 6px; background: var(--forest); color: white; font-size: 14px; font-weight: 600; text-align: center; text-decoration: none; line-height: 1.35; }
.btn.light { color: var(--ink); border-color: var(--line); background: transparent; }
.btn.lime { color: var(--deep); border-color: var(--lime); background: var(--lime); }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; font-size: 14px; font-weight: 600; }
.text-button { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; font-size: 13px; text-align: left; }
.btn:disabled { opacity: .5; cursor: default; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--forest); }
.micro { font-size: 12px; line-height: 1.65; color: var(--muted); }
.lede { max-width: 490px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; background: white; }
.skip:focus { top: 12px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 29px; font-weight: 800; }
.brand span { color: var(--forest); }
.brand small { font: inherit; font-weight: 500; }
.navlinks { display: flex; align-items: center; gap: 30px; }
.navlinks > a:not(.btn) { font-size: 13px; text-decoration: none; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer .brand { font-size: 23px; }

/* Landing: editorial composition, one concrete example */
.landing { background: #f6f8f6; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; padding: 58px 0 70px; }
.hero h1 { hyphens: none; margin: 25px 0; font-size: clamp(48px, 5.7vw, 78px); line-height: 1.04; }
.hero h1 em { color: var(--forest); font-style: normal; }
.hero .lede { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin: 30px 0 22px; }
.offer-line { margin: 0 0 7px; color: var(--muted); font-size: 13px; }
.offer-line strong { color: var(--ink); }
.hero-text > .micro { max-width: 450px; }
.showcase { min-width: 0; margin: 0; padding: 8px 0 0 12px; }
.showcase-heading { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 12px; color: var(--muted); font-size: 11px; }
.browser { border: 1px solid #cddbd1; border-radius: 10px; overflow: hidden; background: white; box-shadow: 0 24px 50px -30px #204d3c60; }
.browserbar { display: flex; align-items: center; gap: 5px; padding: 13px 15px; background: white; }
.browserbar i { width: 5px; height: 5px; border-radius: 50%; background: #b8c9be; }
.browserbar span { margin-inline: auto; color: #63756d; font-size: 10px; }
.example-photo { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; min-height: 420px; padding: 32px; background: linear-gradient(0deg, #112b27df, #112b2700 95%), url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1200&q=85') center/cover; color: white; }
.example-photo .eyebrow { font-size: 10px; }
.example-photo h2 { margin: 12px 0; font-size: clamp(36px, 4vw, 50px); }
.example-photo p:not(.eyebrow) { margin: 0 0 25px; color: #e1ebe5; font-size: 15px; }
.example-photo a { padding: 10px 14px; border: 1px solid #ffffff70; border-radius: 4px; font-size: 12px; text-decoration: none; }
.example-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px; font-size: 11px; }
.caption { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.trades { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; padding: 27px 0; border-block: 1px solid var(--line); }
.trades span { color: var(--muted); font-size: 12px; }
.trades strong { font-family: Syne, sans-serif; font-size: 20px; font-weight: 600; }
.section { padding: 90px 0; }
.section h2 { margin: 15px 0 28px; font-size: clamp(32px, 4vw, 48px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.section-head > p { max-width: 355px; margin-bottom: 27px; color: var(--muted); font-size: 15px; }
.featured-domains { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 20px; }
.featured-domains > a { display: grid; grid-template-columns: 24px 1fr 20px; align-items: start; gap: 17px; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; }
.domain-number { padding-top: 5px; color: var(--muted); font-size: 11px; }
.featured-domains h3 { margin: 2px 0 10px; font-size: 26px; }
.featured-domains p { max-width: 350px; margin: 0; color: var(--muted); font-size: 14px; }
.featured-domains > a > span:last-child { font-size: 22px; color: var(--forest); }
.more-domains { margin-top: 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more-domains summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 14px; cursor: pointer; }
.more-domains summary::marker, .public-menu summary::marker { content: ''; }
.more-domains summary::-webkit-details-marker, .public-menu summary::-webkit-details-marker { display: none; }
.profession-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-bottom: 22px; }
.profession-links a { display: block; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; text-decoration: none; }
.process-section { padding-top: 25px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 25px; }
.step { padding-top: 22px; border-top: 1px solid var(--line); }
.step > span { color: var(--forest); font-size: 10px; letter-spacing: .08em; }
.step h3 { margin: 22px 0 14px; font-size: 25px; }
.step p { color: var(--muted); font-size: 14px; }
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; padding: 60px; border-radius: var(--radius); background: var(--deep); color: white; }
.offer h2 { margin: 22px 0; font-size: clamp(36px, 4vw, 52px); }
.offer > div > p:not(.eyebrow) { max-width: 400px; color: #c1d6cc; font-size: 15px; }
.offer > div > .btn { margin-top: 15px; }
.offer-details { padding-top: 4px; }
.offer-detail { padding: 24px 0; border-top: 1px solid #ffffff32; }
.offer-tag { display: block; margin-bottom: 12px; color: #c6dfa2; font-size: 11px; }
.offer-detail h3 { margin: 0 0 10px; font-size: 25px; }
.offer-detail p, .offer-footnote { margin: 0; color: #c1d6cc; font-size: 14px; }
.offer-footnote { padding-top: 10px; font-size: 12px; }
.faq { max-width: 790px; margin-inline: auto; }
.faq details { padding: 23px 0; border-bottom: 1px solid var(--line); }
.faq summary { padding-right: 10px; font-size: 16px; font-weight: 500; cursor: pointer; }
.faq details p { max-width: 680px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.closing-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 0 65px; }
.closing-cta h2 { margin: 12px 0 0; font-size: 36px; }

/* Editor: light shell, focus on the current answer */
.wizard-wrap { width: min(1600px, calc(100% - 48px)); }
.builder-header { min-height: 88px; border-bottom: 1px solid var(--line); }
.builder-header-actions { display: flex; align-items: center; gap: 24px; }
.builder-header-actions > a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; text-decoration: none; }
.preview-trigger { min-height: 42px; padding: 10px 16px; font-size: 12px; }
.builder { display: grid; grid-template-columns: 195px minmax(0, 650px) minmax(280px, 1fr); gap: 30px; align-items: start; margin: 34px 0 70px; }
.wizard-side { position: sticky; top: 24px; padding-top: 14px; }
.wizard-side > .eyebrow { margin-bottom: 20px; font-size: 10px; }
.wizard-side ol { display: grid; gap: 3px; padding: 0; margin: 0; list-style: none; }
.wizard-side li { border-radius: 5px; color: var(--muted); }
.wizard-side li button { display: flex; align-items: center; gap: 15px; width: 100%; min-height: 45px; padding: 10px; border: 0; border-radius: inherit; background: transparent; color: inherit; font-size: 13px; text-align: left; }
.wizard-side li span { color: var(--muted); font-size: 10px; }
.wizard-side li.active { background: #e3ece5; color: var(--forest); font-weight: 700; }
.backup-tools { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.backup-tools summary { font-size: 12px; cursor: pointer; }
.backup-tools p { margin-top: 15px; }
.import-label { display: block; margin-top: 15px; font-size: 12px; color: var(--muted); }
.import-label input { margin-top: 8px; font-size: 12px; }
.form-panel { min-width: 0; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.step-label { margin: 0; color: var(--forest); font-size: 10px; letter-spacing: .1em; font-weight: 700; }
.draft-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.progress { height: 3px; margin-bottom: 30px; overflow: hidden; border-radius: 4px; background: #e6ece7; }
.progress > div { height: 100%; background: var(--forest); }
.form-panel h1 { margin: 0 0 12px; font-size: clamp(30px, 3vw, 38px); }
.form-panel .intro { max-width: 470px; margin-bottom: 26px; color: var(--muted); font-size: 15px; }
.fields { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { color: var(--ink); font-size: 13px; font-weight: 600; }
.field small { color: var(--muted); font-size: 12px; line-height: 1.5; }
input, textarea, select { width: 100%; min-width: 0; min-height: 49px; padding: 12px 14px; border: 1px solid #b9cbc0; border-radius: 6px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #6c7e75; opacity: 1; }
input:focus, textarea:focus, select:focus { border-color: var(--forest); }
input[aria-invalid=true], textarea[aria-invalid=true] { border: 2px solid #a32a22; }
textarea { min-height: 118px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; min-height: 76px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); text-align: left; }
.choice strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 600; }
.choice small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.choice > span:last-child { flex-shrink: 0; color: var(--forest); }
.choice[aria-pressed=true] { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: #f0f6ec; }
.search-note { margin: 0; color: var(--muted); font-size: 12px; }
.domain-selection { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px; border-left: 3px solid var(--forest); border-radius: 0 5px 5px 0; background: #eef4ef; }
.domain-selection small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.domain-selection strong { font-size: 14px; }
.domain-selection .text-button { flex-shrink: 0; }
.suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -8px; }
.suggestions button { min-height: 38px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 40px; background: #f3f7f1; color: var(--forest); font-size: 12px; }
.checkline { display: flex; align-items: center; gap: 11px; min-height: 44px; font-size: 14px; }
.checkline input { width: 20px; min-height: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--forest); }
.notice { margin: 0 0 18px; padding: 14px 16px; border-radius: 6px; background: #eef4e9; color: #284c37; font-size: 13px; line-height: 1.6; }
.fields > .notice { margin: 0; }
.notice ul { padding-left: 18px; }
.item-title { margin: 0; font-size: 23px; }
.repeat-row { display: grid; gap: 18px; margin-bottom: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fcfdfb; }
.remove { justify-self: end; min-height: 44px; padding: 8px 0; border: 0; background: none; color: #963d31; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.empty-state { padding: 24px 0; text-align: left; }
.empty-state h2 { margin-bottom: 12px; font-size: 25px; }
.empty-state p { color: var(--muted); font-size: 14px; }
.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--line); }
.form-nav > .btn:only-child { margin-left: auto; }
.status { margin: 17px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.error { margin-top: 20px; padding: 12px; border-left: 3px solid #a32a22; background: #fcf2ef; color: #8c3027; font-size: 13px; }
.error:empty { display: none; }
.error ul { margin: 0; padding-left: 18px; }
.recap { display: grid; gap: 18px; }
.recap > div { position: relative; padding: 0 70px 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.recap small { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.recap .text-button { position: absolute; top: 2px; right: 0; }
.hosting-note { padding: 22px; border-left: 3px solid var(--forest); background: var(--paper); }
.hosting-note h2 { margin-bottom: 12px; font-size: 24px; }
.hosting-note p { color: var(--muted); font-size: 13px; }
.palette-options { padding: 0; margin: 0; border: 0; }
.palette-options legend { margin-bottom: 13px; font-size: 13px; font-weight: 600; }
.palette-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.palette-choice { position: relative; display: block; padding: 14px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.palette-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.palette-choice:has(input:checked) { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.palette-choice:has(input:focus-visible) { outline: 3px solid #4b8977; outline-offset: 4px; }
.palette-choice strong { display: block; margin-top: 13px; font-size: 12px; }
.swatches { display: flex; height: 32px; border-radius: 3px; overflow: hidden; }
.swatches i { flex: 1; }
.builder-preview { position: sticky; top: 24px; min-width: 0; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 3px 0 15px; font-size: 12px; }
.preview-dot { width: 5px; height: 5px; background: var(--forest); border-radius: 50%; }
.mini-preview { height: min(690px, calc(100dvh - 120px)); overflow: auto; border: 1px solid #c5d4ca; border-radius: 10px; background: white; scrollbar-width: thin; }
.mini-preview .public-hero { min-height: 380px; }
.mini-preview .public-nav { display: none; }
.mini-preview .public-copy { width: 100%; padding: 90px 22px 40px; }
.mini-preview .public-copy h1 { font-size: 40px; }
.mini-preview .public-copy p { font-size: 15px; }
.mini-preview .public-main { width: calc(100% - 36px); }
.mini-preview .public-section { padding: 30px 0; }
.mini-preview .public-section h2 { font-size: 26px; }
.mini-preview .service-line { display: block; }
.mini-preview .service-line h3 { font-size: 20px; }
.mini-preview .gallery { grid-template-columns: 1fr; }
.mini-preview .btn { min-height: 40px; padding: 10px 12px; font-size: 12px; }
.mini-preview .public-site { font-size: 13px; }
.mini-preview footer { flex-wrap: wrap; }
dialog { width: min(1200px, 96vw); height: 92dvh; max-height: 92dvh; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
dialog::backdrop { background: #0b211dd9; }
.dialog-bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; background: white; border-bottom: 1px solid var(--line); }
.dialog-bar strong { font-size: 12px; }
.dialog-bar .btn { min-height: 42px; padding: 9px 14px; font-size: 12px; }
dialog .public-hero { min-height: 78dvh; }

/* Public mini-site, shared with live preview and HTML export */
.previewbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 24px; background: var(--paper); font-size: 12px; }
.previewbar > div { display: flex; gap: 8px; }
.previewbar .btn { min-height: 40px; padding: 8px 14px; font-size: 12px; }
.public-site { --forest: #194f42; --deep: #103b31; --lime: #d9eda5; background: #f6f8f5; }
.palette-slate { --forest: #294653; --deep: #192e39; --lime: #dce8ee; }
.palette-terracotta { --forest: #8b4030; --deep: #5f2c22; --lime: #f3d8be; }
.public-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 100svh; background: linear-gradient(130deg, var(--deep), var(--forest)); color: white; }
.public-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #071e1c75 0%, #071e1c15 27%, #071e1cbf 100%); }
.cover-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.public-nav { position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 100%; padding: 28px 40px; }
.public-nav > a { max-width: 40%; font-family: Syne, sans-serif; font-size: 22px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.public-nav a { color: white; text-decoration: none; }
.public-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: 12px; }
.public-menu { display: none; }
.public-copy { width: min(1100px, calc(100% - 80px)); margin-inline: auto; padding: 160px 0 85px; }
.public-copy .eyebrow { margin-bottom: 22px; color: #e0ece6; font-size: 11px; }
.public-copy h1 { max-width: 950px; margin: 0 0 25px; font-size: clamp(54px, 8vw, 108px); line-height: .98; overflow-wrap: anywhere; }
.public-copy > p { max-width: 620px; margin-bottom: 30px; color: #e3ece6; font-size: 23px; line-height: 1.5; }
.public-copy .btn { min-height: 52px; }
.public-main { display: flex; flex-direction: column; width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
.public-main > section { order: 2; }
.public-main > footer { order: 3; }
/* The model owns the exact section order, including portfolio presets. */
.public-section { padding: 75px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.public-section h2 { max-width: 800px; margin: 0 0 35px; font-size: clamp(30px, 4vw, 44px); }
.public-section > p, .about-detail { max-width: 730px; }
.public-section p { overflow-wrap: anywhere; }
.service-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 35px; padding: 25px 0; border-top: 1px solid var(--line); }
.service-line h3 { margin: 0 0 12px; font-size: 25px; }
.service-line p { max-width: 650px; margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.service-line small { color: var(--muted); font-size: 12px; }
.service-line > strong { padding-top: 3px; font-size: 15px; overflow-wrap: anywhere; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 35px 24px; }
.gallery figure { min-width: 0; margin: 0; }
.gallery img, .gallery video { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; background: #e3eae3; }
.gallery audio { width: 100%; }
.gallery h3 { margin: 17px 0 10px; font-size: 24px; }
.gallery figcaption p { margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.about-detail { margin: 35px 0; }
.about-detail h3 { font-size: 23px; margin-bottom: 15px; }
.about-detail p { color: var(--muted); }
.contactlinks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contactlinks .btn { max-width: 100%; overflow-wrap: anywhere; }
.public-site footer { flex-wrap: wrap; }
.public-section details summary { min-height: 44px; cursor: pointer; font-size: 13px; }
.public-section details p { color: var(--muted); font-size: 13px; }

@media (hover: hover) {
  .btn:hover { background: var(--deep); color: white; border-color: var(--deep); }
  .btn.light:hover { background: #e7eee6; color: var(--ink); border-color: #bbcdc0; }
  .btn.lime:hover { background: #e8f5ca; color: var(--deep); border-color: #e8f5ca; }
  .featured-domains > a:hover h3, .text-link:hover { color: var(--forest); }
  .profession-links a:hover, .choice:hover { background: #f0f5ef; border-color: #a9c2b2; }
}
@media (min-width: 1500px) { .builder { justify-content: center; } }
@media (max-width: 1250px) {
  .builder { grid-template-columns: 175px minmax(0, 1fr); max-width: 920px; margin-inline: auto; }
  .builder-preview { display: none; }
  .wizard-wrap { max-width: 1050px; }
}
@media (max-width: 1000px) {
  .navlinks > a:not(.btn) { display: none; }
  .hero { gap: 36px; }
  .hero h1 { font-size: 54px; }
  .hero .lede { font-size: 16px; }
  .actions { gap: 18px; }
  .example-photo { min-height: 380px; padding: 25px; }
  .trades > span:first-child { flex-basis: 100%; }
  .offer { padding: 40px; gap: 40px; }
  .section-head > p { max-width: 310px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 78px; gap: 12px; }
  .brand { font-size: 24px; }
  .navlinks { gap: 0; }
  .navlinks .btn { min-height: 43px; padding: 10px 13px; font-size: 12px; gap: 12px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 26px 0 34px; }
  .hero h1 { max-width: none; margin: 16px 0; font-size: clamp(24px, 6.4vw, 34px); line-height: 1.15; letter-spacing: -.03em; white-space: nowrap; }
  .hero .lede { max-width: 490px; font-size: 16px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .08em; }
  .actions { gap: 20px; margin: 24px 0 18px; }
  .actions > .btn { padding-inline: 20px; }
  .offer-line { font-size: 12px; }
  .showcase { width: 100%; max-width: 510px; padding: 0; }
  .showcase-heading { font-size: 10px; }
  .example-photo { min-height: 320px; padding: 25px; }
  .example-photo h2 { font-size: 40px; }
  .example-bottom { padding: 15px 20px; font-size: 10px; }
  .caption { font-size: 10px; }
  .trades { justify-content: flex-start; gap: 16px 23px; padding: 23px 0; }
  .trades strong { font-size: 18px; }
  .trades-more { flex-basis: 100%; }
  .section { padding: 46px 0; }
  .section h2 { margin-top: 13px; font-size: 32px; }
  .section-head { display: block; }
  .section-head > p { max-width: 470px; margin: -7px 0 27px; font-size: 14px; }
  .featured-domains { grid-template-columns: 1fr; gap: 0; margin-top: 15px; }
  .featured-domains > a { gap: 14px; padding: 23px 0; }
  .featured-domains h3 { font-size: 24px; }
  .featured-domains p { font-size: 13px; }
  .more-domains summary { align-items: center; font-size: 13px; }
  .profession-links { grid-template-columns: 1fr; }
  .process-section { padding-top: 5px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .step h3 { margin: 13px 0 10px; font-size: 25px; }
  .step p { margin-bottom: 8px; }
  .offer { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; border-radius: 9px; }
  .offer h2 { margin: 17px 0; font-size: 34px; }
  .offer .eyebrow { font-size: 10px; letter-spacing: .08em; }
  .offer-detail { padding: 19px 0; }
  .offer-detail h3 { font-size: 22px; }
  .offer-detail p { font-size: 13px; }
  .offer-footnote { font-size: 12px; }
  .faq summary { font-size: 15px; }
  .closing-cta { display: block; padding: 0 0 45px; }
  .closing-cta h2 { margin-bottom: 24px; font-size: 32px; }
  footer { flex-wrap: wrap; gap: 15px; padding: 25px 0; }
  footer .brand { flex-basis: 100%; }
  .builder-page { padding-bottom: calc(98px + env(safe-area-inset-bottom)); background: white; }
  .wizard-wrap { width: calc(100% - 36px); }
  .builder-header { min-height: 75px; }
  .builder-header .brand { font-size: 22px; }
  .builder-header-actions { gap: 13px; }
  .builder-header-actions > a { font-size: 12px; }
  .preview-trigger { min-height: 40px; padding: 8px 11px; font-size: 11px; gap: 7px; }
  .builder { display: block; margin: 25px 0 20px; }
  .wizard-side { display: none; }
  .form-panel { padding: 0; border: 0; border-radius: 0; background: transparent; }
  .form-heading { margin-bottom: 12px; }
  .progress { margin-bottom: 27px; }
  .form-panel h1 { font-size: 33px; }
  .form-panel .intro { max-width: 440px; margin-bottom: 25px; font-size: 14px; }
  .fields { gap: 22px; }
  .two { grid-template-columns: 1fr; gap: 22px; }
  .choices { grid-template-columns: 1fr 1fr; gap: 8px; }
  .choice { align-items: flex-start; min-height: 90px; padding: 13px 12px; gap: 7px; }
  .choice strong { font-size: 12px; }
  .choice small { font-size: 10px; }
  .domain-selection { padding: 13px; gap: 10px; }
  .domain-selection strong { font-size: 13px; }
  .repeat-row { padding: 18px 16px; gap: 18px; }
  .form-nav { position: fixed; inset: auto 0 0; z-index: 5; margin: 0; padding: 13px 18px calc(13px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffffff5; backdrop-filter: blur(12px); }
  .form-nav .btn { min-height: 49px; font-size: 14px; }
  .form-nav #prev { flex: 0 0 85px; padding-inline: 12px; }
  .form-nav #next { flex: 1; max-width: 300px; margin-left: auto; }
  .status { margin-top: 24px; padding-bottom: 14px; }
  .palette-grid { gap: 8px; }
  .palette-choice { padding: 12px 9px; }
  .palette-choice strong { font-size: 11px; }
  dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .dialog-bar { gap: 12px; padding: 10px 16px; }
  .dialog-bar strong { font-size: 11px; }
  .dialog-bar .btn { min-height: 42px; padding-inline: 10px; }
  dialog .public-hero { min-height: calc(100svh - 63px); }
  .previewbar { align-items: flex-start; flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .previewbar > span { flex-basis: 100%; font-size: 11px; }
  .previewbar > div { width: 100%; }
  .previewbar > div .btn:last-child { margin-left: auto; }
  .public-nav { align-items: flex-start; padding: 23px 20px; gap: 16px; }
  .public-nav > a { max-width: 70%; font-size: 21px; }
  .public-links { display: none; }
  .public-menu { position: relative; display: block; }
  .public-menu summary { min-height: 44px; padding: 9px 12px; border: 1px solid #ffffff65; border-radius: 4px; color: white; font-size: 12px; cursor: pointer; list-style: none; }
  .public-menu > div { position: absolute; right: 0; top: 54px; z-index: 4; min-width: 220px; max-width: calc(100vw - 40px); padding: 7px; border: 1px solid #ffffff30; border-radius: 7px; background: var(--deep); box-shadow: 0 20px 40px #0004; }
  .public-menu a { display: block; padding: 13px 12px; font-size: 13px; overflow-wrap: anywhere; }
  .public-copy { width: calc(100% - 40px); padding: 150px 0 55px; }
  .public-copy h1 { margin-bottom: 22px; font-size: clamp(42px, 12vw, 68px); }
  .public-copy > p { font-size: 19px; }
  .public-copy .eyebrow { margin-bottom: 18px; font-size: 10px; }
  .public-copy .btn { width: 100%; max-width: 350px; }
  .public-main { width: calc(100% - 40px); }
  .public-section { padding: 45px 0; }
  .public-section h2 { margin-bottom: 28px; font-size: 32px; }
  .service-line { grid-template-columns: 1fr; gap: 9px; padding: 22px 0; }
  .service-line h3 { font-size: 24px; }
  .service-line > strong { padding: 0; color: var(--forest); font-size: 14px; }
  .gallery { grid-template-columns: 1fr; gap: 28px; }
  .gallery h3 { font-size: 22px; }
  .contactlinks { display: grid; grid-template-columns: 1fr; }
  .contactlinks .btn { width: 100%; }
}
@media (max-width: 359px) {
  .brand { font-size: 21px; }
  .navlinks .btn { padding-inline: 11px; font-size: 11px; gap: 8px; }
  .builder-header .brand { font-size: 20px; }
  .builder-header-actions { gap: 9px; }
  .builder-header-actions .preview-trigger { padding-inline: 8px; font-size: 10px; }
  .builder-header-actions > a { font-size: 11px; }
  .actions { gap: 14px; }
  .actions .btn { padding-inline: 15px; }
  .actions .text-link { font-size: 12px; gap: 8px; }
  .choices { grid-template-columns: 1fr; }
  .choice { min-height: 66px; align-items: center; }
  .choice small { font-size: 11px; }
}
@media (max-width: 760px) and (max-height: 460px) {
  .form-nav { position: static; padding-inline: 0; margin-top: 24px; backdrop-filter: none; }
  .builder-page { padding-bottom: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .choice { transition: background-color .18s ease, border-color .18s ease; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.optional-fields { padding-top: 5px; border-top: 1px solid var(--line); }
.optional-fields > summary { display: list-item; padding: 16px 0; font-size: 13px; cursor: pointer; }
.optional-fields > .fields { padding: 8px 0; }

/* IKONOBOX.CH — boxed IK monogram and dedicated wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.045em;
}
.brand .brand-symbol { display: block; width: 36px; height: 36px; flex: 0 0 36px; }
.brand .brand-word { color: var(--ink); white-space: nowrap; }
.brand .brand-domain { margin-left: 2px; color: var(--forest); font-size: .54em; letter-spacing: -.015em; }
footer .brand { font-size: 21px; }
footer .brand-symbol { width: 30px; height: 30px; flex-basis: 30px; }
@media (max-width: 760px) {
  .brand { gap: 8px; font-size: 21px; }
  .brand .brand-symbol { width: 32px; height: 32px; flex-basis: 32px; }
  .builder-header .brand { gap: 7px; font-size: 18px; }
  .builder-header .brand-symbol { width: 28px; height: 28px; flex-basis: 28px; }
  footer .brand { font-size: 21px; }
}
@media (max-width: 359px) {
  .brand { gap: 7px; font-size: 18px; }
  .brand .brand-symbol { width: 29px; height: 29px; flex-basis: 29px; }
  .builder-header .brand { gap: 6px; font-size: 16px; }
  .builder-header .brand-symbol { width: 25px; height: 25px; flex-basis: 25px; }
}

/* Visual section editor — reuses public render engine */
.editor-wrap { padding-bottom: 48px; }
.editor-layout {
  display: grid;
  grid-template-columns: 260px minmax(280px, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: start;
}
.editor-title { font-size: 28px; margin: 8px 0 12px; }
.section-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.section-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  display: grid;
  gap: 8px;
}
.section-item.is-active { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.section-item.is-hidden { opacity: .62; }
.section-select {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 4px 2px;
}
.section-select strong { display: block; font-size: 14px; }
.section-select span { color: var(--muted); font-size: 12px; }
.section-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.section-actions .btn { min-height: 36px; padding: 6px 10px; font-size: 12px; }
.editor-toolbar { flex-wrap: wrap; }
.editor-preview-frame {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #e7eee9;
  padding: 14px;
  overflow: auto;
  max-height: 78vh;
}
.editor-preview-frame.is-phone { max-width: 390px; margin-inline: auto; }
.editor-preview-frame.is-desktop { max-width: none; }
.editor-preview-frame .mini-preview { transform-origin: top center; }
.viewport-toggle { display: flex; gap: 6px; }
.viewport-toggle .btn[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
@media (max-width: 1100px) {
  .editor-layout { grid-template-columns: 1fr; }
  .editor-preview-frame { max-height: none; }
}
@media (max-width: 760px) {
  .editor-toolbar .btn { min-height: 40px; padding: 8px 12px; font-size: 12px; }
}


/* Editor preview uses its own viewport; shared renderer remains unchanged. */
.editor-preview-frame { overflow: hidden; padding: 12px; }
.editor-preview-frame.is-phone { max-width: 416px; }
.editor-preview-canvas { position: relative; width: 100%; height: 680px; }
.editor-preview-document { position: absolute; inset: 0 auto auto 0; display: block; width: 100%; height: 680px; border: 0; background: white; }
.editor-preview-frame.is-desktop .editor-preview-canvas { height: calc(900px * var(--preview-scale, .32)); }
.editor-preview-frame.is-desktop .editor-preview-document { width: 1200px; height: 900px; transform: scale(var(--preview-scale, .32)); transform-origin: top left; }
.editor-mobile-tabs { display: none; }
@media(max-width:1100px) {
  .editor-page .builder-header { flex-wrap: wrap; align-items: flex-start; padding: 18px 0; }
  .editor-toolbar { width: 100%; gap: 8px; }
  .editor-mobile-tabs { display: flex; gap: 6px; margin: 20px 0; padding: 4px; background: #e3ebe5; border-radius: 6px; }
  .editor-mobile-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 4px; background: transparent; color: var(--forest); font-size: 13px; }
  .editor-mobile-tabs [aria-pressed=true] { background: white; font-weight: 700; }
  .editor-page .section-list { display: flex; gap: 9px; overflow-x: auto; padding: 3px 3px 12px; }
  .editor-page .section-item { flex: 0 0 170px; }
  .editor-page .editor-preview { display: none; }
  .editor-show-preview .editor-side, .editor-show-preview .editor-panel { display: none; }
  .editor-show-preview .editor-preview { display: block; }
  .editor-page .editor-layout { gap: 18px; }
  .editor-page .editor-side > .micro { margin-bottom: 12px; }
}
@media(max-width:760px) {
  .editor-page { padding-bottom: 24px; }
  .editor-page .editor-toolbar .btn { min-height: 44px; font-size: 12px; padding: 10px; }
  .editor-page .preview-heading { flex-wrap: wrap; }
  .editor-page .viewport-toggle { flex-wrap: wrap; }
  .editor-page .editor-preview-frame { max-height: none; }
  .editor-page .section-actions .btn { min-height: 44px; }
}

/* Professional identity and editor completion tools */
.public-nav > a { display: inline-flex; align-items: center; gap: 12px; }
.professional-logo { width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; border-radius: 4px; }
.editor-files-menu { position: relative; }
.editor-files-menu summary { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; cursor: pointer; list-style: none; }
.editor-files-menu > div { position: absolute; right: 0; top: 52px; z-index: 30; width: 265px; max-width: calc(100vw - 36px); padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: white; box-shadow: 0 14px 30px #123b311a; }
.editor-files-menu button, .editor-files-menu a { display: block; width: 100%; min-height: 44px; padding: 12px; border: 0; background: transparent; color: var(--ink); text-align: left; text-decoration: none; font-size: 12px; }
.editor-readiness { margin: 18px 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 7px; background: #f9fcf7; }
.editor-readiness > summary { min-height: 30px; font-size: 12px; cursor: pointer; }
.editor-readiness ul { margin: 8px 0; padding-left: 18px; }
.editor-readiness .text-button { min-height: 36px; padding: 5px; font-size: 12px; }
.editor-item-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.editor-item-controls .btn { min-height: 40px; padding: 8px 13px; }
.editor-panel input[type=range] { padding: 0; border: 0; accent-color: var(--forest); }
.editor-panel output { float: right; color: var(--muted); font-size: 12px; font-weight: 400; }
@media(max-width:760px) {
  .editor-toolbar #save { display: none; }
  .editor-files-menu > div { right: auto; left: 0; }
  .professional-logo { width: 34px; height: 34px; flex-basis: 34px; }
}

/* Desktop review: compact structure and a preview that fits the working area. */
.editor-side { min-width: 0; }
.editor-preview { position: sticky; top: 22px; min-width: 0; }
.section-list { gap: 7px; }
.section-item { padding: 8px 10px; border-radius: 7px; }
.section-select { min-height: 39px; align-items: center; }
.section-select strong { font-size: 13px; }
.section-select span { font-size: 10px; white-space: nowrap; }
.section-actions { padding-top: 7px; border-top: 1px solid var(--line); }
.editor-preview-frame { max-height: none; }
.editor-preview-frame.is-phone .editor-preview-canvas { height: clamp(360px, calc(100dvh - 330px), 660px); }
.editor-preview-frame.is-phone .editor-preview-document { height: 100%; }
.editor-preview-context { min-height: 32px; margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.editor-empty-state { padding: 12px 0 5px; }
.editor-empty-state h3 { margin: 0 0 16px; font-size: 26px; }
.editor-empty-state p { max-width: 400px; margin-bottom: 24px; color: var(--muted); font-size: 14px; }
@media(max-width:1100px) {
  .editor-preview { position: static; }
  .editor-page .section-list { align-items: flex-start; }
  .editor-preview-frame.is-phone .editor-preview-canvas { height: clamp(400px, calc(100dvh - 270px), 680px); }
}

/* Isolated examples help visitors assess a complete site without replacing their draft. */
.editor-example-bar { display: block; margin: 14px 0 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.editor-example-bar summary { min-height: 26px; font-size: 12px; cursor: pointer; }
.editor-example-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; }
.editor-example-bar p { margin: 4px 0 0; max-width: 470px; color: var(--muted); font-size: 12px; }
.editor-example-bar nav { display: flex; flex-wrap: wrap; gap: 7px; }
.editor-example-bar nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; text-decoration: none; }
.editor-example-bar nav a[aria-current=page] { border-color: var(--forest); background: #e7f0df; color: var(--forest); font-weight: 600; }
.editor-example-bar nav .example-return { border-color: var(--forest); }
@media(max-width:1100px){ .editor-example-content { align-items: flex-start; flex-direction: column; gap: 12px; } }
@media(min-width:1101px){ .editor-preview-frame.is-phone .editor-preview-canvas { height: clamp(360px, calc(100dvh - 410px), 600px); } }

/* ── Professional sites: four art directions over one content model ── */
.public-site { --site-title: 'Bodoni Moda', Georgia, serif; }
.public-site .site-kicker { display: block; margin-bottom: 19px; color: var(--forest); font: 600 10px/1.5 'DM Sans',sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.public-site .public-hero { min-height: 100svh; overflow: hidden; }
.public-site .public-copy { position: relative; z-index: 1; width: min(1250px,calc(100% - 100px)); padding: 180px 0 100px; }
.public-site .hero-overline { display: flex; align-items: center; gap: 25px; margin-bottom: 24px; }
.public-site .hero-overline .eyebrow { margin: 0; }
.public-site .hero-rule { width: 55px; height: 1px; background: currentColor; opacity: .55; }
.public-site .public-copy h1 { max-width: 980px; margin: 0 0 28px; font: 400 clamp(64px,7.4vw,112px)/1.02 var(--site-title); letter-spacing: -.045em; text-wrap: balance; }
.public-site .public-copy .hero-intro { max-width: 510px; margin: 0 0 30px; font: 400 17px/1.75 'DM Sans',sans-serif; }
.public-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.public-site .public-hero-actions .btn { min-height: 51px; padding-inline: 22px; border-radius: 2px; font-size: 12px; }
.hero-secondary { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; color: white; font-size: 12px; text-decoration: none; border-bottom: 1px solid #ffffff50; }
.hero-bottom { position: absolute; left: 50px; right: 50px; bottom: 25px; z-index: 1; display: flex; justify-content: space-between; gap: 25px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #dbe5df; }
.public-site .public-nav { padding: 32px 50px; z-index: 3; }
.public-site .public-nav > a { font: 500 23px/1.1 var(--site-title); letter-spacing: -.02em; }
.public-site .public-links { gap: 30px; font-size: 11px; }
.public-site .public-main { width: min(1180px,calc(100% - 100px)); }
.public-site .public-section { padding: 90px 0; }
.public-site .section-heading { max-width: 700px; margin-bottom: 45px; }
.public-site .section-heading h2 { margin: 0; font: 400 clamp(38px,4.2vw,60px)/1.1 var(--site-title); letter-spacing: -.035em; text-wrap: balance; }
.section-intro { margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.public-site .service-line { position: relative; grid-template-columns: 35px minmax(0,1fr) auto; gap: 22px; padding: 29px 0; }
.service-index { padding-top: 7px; color: var(--muted); font-size: 10px; }
.public-site .service-line h3 { margin: 0 0 12px; font: 500 26px/1.2 var(--site-title); letter-spacing: -.02em; }
.public-site .service-line p { font-size: 14px; line-height: 1.8; }
.service-format { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--muted); }
.public-site .service-line .service-price { font-size: 13px; font-weight: 500; }
.service-link { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 15px; padding-top: 8px; min-height: 34px; color: var(--forest); font-size: 11px; text-decoration: none; }
.public-site .gallery { gap: 50px 30px; }
.public-site .gallery img { aspect-ratio: 4/3; border-radius: 0; }
.public-site .gallery figcaption { display: flex; align-items: flex-start; gap: 25px; padding-top: 18px; }
.work-index { padding-top: 7px; font-size: 10px; color: var(--muted); }
.public-site .gallery figcaption h3 { margin: 0 0 10px; font: 500 27px/1.2 var(--site-title); letter-spacing: -.02em; }
.public-site .gallery figcaption p { max-width: 410px; font-size: 13px; line-height: 1.8; }
.audio-piece { display: grid; gap: 18px; padding: 30px; background: #e9efea; }
.about-lead { max-width: 850px; margin-bottom: 35px; font-size: clamp(19px,2vw,25px); line-height: 1.7; }
.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.public-site .about-detail { margin: 0; padding-top: 25px; border-top: 1px solid var(--line); }
.public-site .about-detail h3 { margin: 0 0 15px; font-size: 12px; font-family: 'DM Sans',sans-serif; letter-spacing: 0; }
.public-site .about-detail p { margin: 0; font-size: 14px; line-height: 1.85; }
.public-site [data-section=contact] { padding: 65px 50px; margin: 0 -50px; background: #e6ede4; border: 0; }
.public-site [data-section=contact] .section-heading { margin-bottom: 24px; }
.contact-invitation { font-size: 17px; margin-bottom: 22px; }
.public-site .contactlinks { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin: 25px 0 40px; }
.contact-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; padding-top: 30px; border-top: 1px solid #194f4225; }
.contact-details .site-kicker { margin-bottom: 12px; font-size: 9px; }
.contact-details p { margin: 0; font-size: 12px; line-height: 1.8; }
.public-site .demo-contact { opacity: .8; }
.demo-contact-note { margin: 0; font-size: 11px; color: var(--muted); }
.public-site .legal-section { padding: 30px 0; }
.public-site footer { padding-block: 30px; font-size: 11px; }
.professional-signature { font: 500 22px/1.2 var(--site-title); text-decoration: none; }
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; opacity: .2; }
.hero-art i { position: absolute; width: 55vw; height: 55vw; min-width: 400px; min-height: 400px; right: -8vw; top: -12vw; border: 1px solid currentColor; border-radius: 50%; }
.hero-art i + i { transform: translate(-50px,80px); }
.hero-art span { position: absolute; right: 8%; bottom: 5%; font: 400 28vw/1 Georgia,serif; opacity: .5; }

/* Atelier: tactile, photographic, editorial */
.template-atelier { background: #f5f7f2; }
.template-atelier .public-copy h1 { max-width: 930px; font-style: italic; }
.template-atelier .public-hero::after { background: linear-gradient(90deg,#071d19c9,#071d191a),linear-gradient(0deg,#071d1980,transparent 60%); }
.template-atelier [data-section=services] { display: grid; grid-template-columns: minmax(220px, .75fr) 1.4fr; gap: 70px; }
.template-atelier [data-section=services] .section-heading { position: sticky; top: 30px; align-self: start; }
.template-atelier [data-section=services] h2 { font-size: clamp(38px,3.6vw,52px); }

/* Studio: bright editorial teaching and professional services */
.template-studio { --site-title: 'Syne',sans-serif; background: #f0f5f4; }
.template-studio .public-hero { color: var(--ink); background: #e9f0ec; }
.template-studio .public-hero::after { background: linear-gradient(90deg,#edf3eeed 0%,#edf3eed9 38%,#edf3ee40 85%); }
.template-studio .public-nav a, .template-studio .hero-secondary { color: var(--ink); }
.template-studio .hero-secondary { border-color: #194f4240; }
.template-studio .public-copy { padding-block: 180px 110px; }
.template-studio .public-copy h1 { max-width: 720px; font-size: clamp(52px,6.4vw,92px); font-weight: 600; line-height: 1.06; }
.template-studio .public-copy .eyebrow, .template-studio .public-copy .hero-intro, .template-studio .hero-bottom { color: #29473e; }
.template-studio .public-hero .btn { background: var(--forest); border-color: var(--forest); color: white; }
.template-studio .public-menu summary { color: var(--ink); border-color: #194f4260; }
.template-studio .public-menu > div a { color: white; }
.template-studio .section-heading h2 { font-size: clamp(34px,3.6vw,50px); font-weight: 600; }
.template-studio [data-section=services] .section-content { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.template-studio .service-line { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 30px; border: 1px solid #d4e2d8; border-radius: 4px; background: #fff; }
.template-studio .service-line h3 { font-family: 'Syne',sans-serif; font-size: 25px; font-weight: 600; }
.template-studio .service-body { flex: 1; }
.template-studio .service-format { padding: 6px 10px; background: #ecf3ec; border-radius: 3px; color: var(--forest); }
.template-studio .service-price { padding-top: 16px; font-size: 15px; }
.template-studio .service-link { margin-top: auto; }
.template-studio .about-lead { max-width: 820px; font-size: 21px; }

/* Galerie: image-led, high contrast, generous full-screen photography */
.template-galerie { --ink: #f1f3ef; --muted: #b3c1bb; --line: #ffffff24; background: #101b1a; }
.template-galerie .public-copy { text-align: center; padding-bottom: 130px; }
.template-galerie .hero-overline, .template-galerie .public-hero-actions { justify-content: center; }
.template-galerie .public-copy h1 { max-width: 1000px; margin-inline: auto; font-size: clamp(66px,8.4vw,128px); }
.template-galerie .public-copy .hero-intro { margin-inline: auto; }
.template-galerie .public-hero::after { background: linear-gradient(0deg,#06110fcc,#06110f20 70%,#06110f80); }
.template-galerie .site-kicker { color: var(--lime); }
.template-galerie .gallery { grid-template-columns: 1.2fr .8fr; gap: 80px 45px; }
.template-galerie .work-item:nth-child(even) { padding-top: 100px; }
.template-galerie .work-item img { aspect-ratio: 4/5; }
.template-galerie .service-link { color: var(--lime); }
.template-galerie [data-section=contact] { background: #1b3029; }
.template-galerie .contact-details { border-color: #ffffff25; }

/* Signature: personal, calm and assertive, distinct from a flat generic hero */
.template-signature { --ink: #edf2ee; --muted: #bed0c9; --line: #ffffff23; background: var(--deep); }
.template-signature .public-copy h1 { max-width: 850px; font-size: clamp(65px,7.8vw,118px); }
.template-signature .public-hero::after { background: linear-gradient(90deg,#0b2025ed,#0b2025a0 45%,#0b202510),linear-gradient(0deg,#0b202570,transparent 40%); }
.template-signature .public-hero.no-cover::after { background: linear-gradient(90deg,#08211b90,transparent); }
.template-signature .site-kicker { color: var(--lime); }
.template-signature .section-heading h2 { max-width: 720px; }
.template-signature [data-section=services] .section-content { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.template-signature .service-line { display: flex; flex-direction: column; gap: 20px; padding: 35px; border: 1px solid #ffffff30; background: #ffffff05; }
.template-signature .service-line h3 { font-size: 34px; }
.template-signature .service-price, .template-signature .service-link { color: var(--lime); }
.template-signature [data-section=contact] { background: #ffffff08; border-block: 1px solid #ffffff25; }
.template-signature .contact-details { border-color: #ffffff25; }
.template-signature .contactlinks .btn { background: var(--lime); color: var(--deep); }

/* ── Canvas-first editing studio ── */
.canvas-editor { height: 100dvh; padding: 0; overflow: hidden; background: #eef2ef; }
.canvas-editor .editor-wrap { display: flex; flex-direction: column; width: calc(100% - 32px); max-width: 1880px; height: 100dvh; padding: 0; }
.canvas-editor .builder-header { flex: 0 0 auto; min-height: 74px; gap: 25px; padding: 8px 4px; border-color: #d4ded6; }
.editor-document { min-width: 0; margin-right: auto; }
.editor-document strong { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
.editor-document .status { margin: 3px 0 0; max-width: 330px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.canvas-editor .editor-toolbar { flex-wrap: nowrap; width: auto; gap: 7px; }
.canvas-editor .editor-toolbar > .btn { min-height: 40px; padding: 9px 13px; font-size: 11px; gap: 7px; }
.canvas-editor .editor-toolbar #save { display: none; }
.canvas-editor .editor-toolbar #undo, .canvas-editor .editor-toolbar #redo { border-color: transparent; background: transparent; }
.canvas-editor .editor-files-menu summary { min-height: 40px; padding: 9px 12px; font-size: 11px; }
.canvas-editor .mobile-label, .canvas-editor .mobile-history { display: none; }
.editor-workspace-tools { position: relative; z-index: 20; display: flex; align-items: center; gap: 24px; min-height: 43px; padding: 0 8px; border-bottom: 1px solid #d4ded6; }
.workspace-label { margin-right: auto; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.canvas-editor .editor-example-bar, .canvas-editor .editor-readiness { position: relative; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.canvas-editor .editor-example-bar > summary, .canvas-editor .editor-readiness > summary { display: block; max-width: 310px; min-height: 30px; padding: 7px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.canvas-editor .editor-example-content, .canvas-editor #readinessList { position: absolute; top: 35px; right: 0; z-index: 40; display: block; width: 380px; max-width: calc(100vw - 36px); padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: white; box-shadow: 0 15px 35px #123b3120; }
.canvas-editor .editor-example-content p { margin-bottom: 15px; }
.canvas-editor .editor-example-content nav { display: flex; gap: 7px; flex-wrap: wrap; }
.canvas-editor .editor-layout { display: grid; grid-template-columns: 190px minmax(0,1fr) 335px; grid-template-areas: 'structure canvas inspector'; gap: 0; flex: 1 1 auto; min-height: 0; width: 100%; margin: 0; align-items: stretch; }
.canvas-editor .editor-side { grid-area: structure; min-height: 0; padding: 25px 12px 20px 6px; overflow-y: auto; border-right: 1px solid #d4ded6; }
.canvas-editor .editor-title { margin: 10px 0 23px; font-size: 24px; }
.editor-design-button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 47px; padding: 12px; border: 1px solid var(--forest); border-radius: 5px; background: var(--forest); color: white; font-size: 11px; text-align: left; }
.editor-design-button[aria-pressed=true] { outline: 2px solid #92b59f; outline-offset: 3px; }
.editor-section-label { margin: 26px 0 12px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.canvas-editor .section-list { gap: 3px; }
.canvas-editor .section-item { padding: 0; border: 1px solid transparent; border-radius: 5px; background: transparent; }
.canvas-editor .section-item.is-active { border-color: #c6d6c8; box-shadow: none; background: white; }
.canvas-editor .section-select { min-height: 44px; padding: 11px 10px; gap: 6px; }
.canvas-editor .section-select strong { font-size: 11px; }
.canvas-editor .section-select span { font-size: 9px; }
.canvas-editor .section-actions { margin-inline: 9px; padding: 9px 0; gap: 4px; }
.canvas-editor .section-actions .btn { min-height: 32px; padding: 6px 8px; font-size: 9px; }
.editor-side-note { margin: 25px 7px; font-size: 10px; color: var(--muted); line-height: 1.7; }
.mobile-section-select, .mobile-section-label, .mobile-section-actions { display: none; }
.canvas-editor .editor-panel { grid-area: inspector; height: 100%; min-height: 0; padding: 25px 23px; overflow-y: auto; border: 0; border-left: 1px solid #d4ded6; border-radius: 0; background: white; }
.canvas-editor .editor-panel h2 { font-size: 26px; }
.canvas-editor .editor-panel .intro { margin-bottom: 22px; font-size: 12px; }
.canvas-editor .editor-panel .step-label { font-size: 9px; }
.canvas-editor .editor-panel .draft-label { font-size: 9px; }
.canvas-editor .editor-panel .fields { gap: 19px; }
.canvas-editor .editor-panel .field label { font-size: 12px; }
.canvas-editor .editor-panel input:not([type=range]):not([type=checkbox]), .canvas-editor .editor-panel select { min-height: 44px; padding: 10px 12px; font-size: 14px; }
.canvas-editor .editor-panel textarea { padding: 11px 12px; min-height: 110px; font-size: 14px; }
.canvas-editor .editor-panel .repeat-row { padding: 15px; background: #f9fbf8; gap: 15px; }
.canvas-editor .editor-panel .repeat-row .two { grid-template-columns: 1fr; gap: 15px; }
.canvas-editor .editor-panel .repeat-row h3 { font-size: 20px; }
.canvas-editor .editor-panel .btn { min-height: 42px; padding: 10px 13px; font-size: 12px; }
.canvas-editor .editor-panel .micro { font-size: 11px; }
.canvas-editor .editor-panel .form-heading { margin-bottom: 18px; }
.canvas-editor .editor-preview { position: relative; top: auto; grid-area: canvas; display: flex; flex-direction: column; align-items: center; min-width: 0; min-height: 0; padding: 12px 20px 20px; overflow: hidden; }
.canvas-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; min-height: 40px; margin-bottom: 8px; }
.canvas-live-label { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); }
.canvas-dimensions { color: var(--muted); font-size: 10px; }
.canvas-editor .viewport-toggle { gap: 2px; padding: 3px; border: 1px solid #cddbd0; border-radius: 5px; background: #e7eee8; }
.canvas-editor .viewport-toggle .btn { min-height: 30px; padding: 6px 12px; font-size: 10px; border: 0; background: transparent; }
.canvas-editor .viewport-toggle .btn[aria-pressed=true] { color: var(--ink); background: white; }
.canvas-editor .editor-preview-context { width: 100%; min-height: 24px; margin: 0 0 8px; font-size: 10px; color: var(--muted); }
.canvas-editor .editor-preview-frame { flex: 1 1 auto; min-height: 0; width: 100%; max-width: none; max-height: none; margin: 0 auto; padding: 0; overflow: hidden; border: 1px solid #c6d1c7; border-radius: 7px; background: white; box-shadow: 0 12px 28px #132d2012; }
.canvas-editor .editor-preview-frame.is-phone { max-width: 390px; }
.canvas-editor .editor-preview-frame .editor-preview-canvas { width: 100%; height: 100%; }
.canvas-editor .editor-preview-frame.is-desktop .editor-preview-document { width: 1200px; height: var(--desktop-height,900px); transform: scale(var(--preview-scale,.6)); }
.canvas-editor .editor-preview-frame.is-phone .editor-preview-document { width: 100%; height: 100%; transform: none; }
.design-intro { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.design-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.design-choice { display: block; min-width: 0; padding: 5px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); text-align: left; }
.design-choice[aria-pressed=true] { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.design-choice > span:last-child { display: block; padding: 9px 5px; }
.design-choice strong { display: block; font-size: 11px; }
.design-choice small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.design-miniature { position: relative; display: block; height: 105px; overflow: hidden; padding: 15px 10px; background: #164735; color: #edf4e8; }
.design-miniature > i { display: block; width: 23px; height: 2px; margin-bottom: 13px; background: currentColor; opacity: .5; }
.design-miniature b { display: block; font: italic 36px/1 Georgia,serif; }
.design-miniature em { display: block; width: 65%; height: 2px; margin-top: 8px; background: currentColor; opacity: .4; }
.design-miniature em + em { width: 40%; margin-top: 4px; }
.design-studio .design-miniature { background: #e6eee5; color: #24433e; }
.design-studio .design-miniature b { font: 600 30px/1 'Syne',sans-serif; }
.design-galerie .design-miniature { background: #15201c; text-align: center; padding-top: 23px; }
.design-galerie .design-miniature i, .design-galerie .design-miniature em { margin-inline: auto; }
.design-galerie .design-miniature b { font-style: normal; }
.design-signature .design-miniature { background: #233a45; color: #dbe6de; }
.design-signature .design-miniature::after { content: ''; position: absolute; right: -20px; top: 0; width: 100px; height: 100px; border: 1px solid #fff4; border-radius: 50%; }
.design-refinements { display: grid; gap: 20px; padding-top: 8px; }

@media(max-width:1400px) and (min-width:1101px) {
  .canvas-editor .editor-layout { grid-template-columns: 160px minmax(0,1fr) 300px; }
  .canvas-editor .editor-preview { padding-inline: 13px; }
  .canvas-live-label { display: none; }
  .editor-document { display: none; }
  .canvas-editor .editor-toolbar { margin-left: auto; }
}
@media(max-width:1100px) {
  .canvas-editor { height: auto; overflow: auto; }
  .canvas-editor .editor-wrap { width: 100%; height: auto; min-height: 100dvh; }
  .canvas-editor .builder-header { flex-wrap: wrap; gap: 7px 12px; min-height: 66px; padding: 12px 18px 9px; }
  .canvas-editor .builder-header .brand { font-size: 19px; }
  .canvas-editor .builder-header .brand-symbol { width: 29px; height: 29px; flex-basis: 29px; }
  .canvas-editor .editor-toolbar { margin-left: auto; }
  .editor-document { order: 3; width: 100%; margin: 0; }
  .editor-document strong { display: none; }
  .editor-document .status { max-width: none; font-size: 9px; }
  .canvas-editor .editor-toolbar #undo, .canvas-editor .editor-toolbar #redo { display: none; }
  .canvas-editor .mobile-history { display: block; }
  .canvas-editor .desktop-label { display: none; }
  .canvas-editor .mobile-label { display: inline; }
  .canvas-editor .editor-toolbar .btn { min-height: 38px; padding: 9px 11px; font-size: 10px; }
  .canvas-editor .editor-files-menu summary { min-height: 38px; font-size: 10px; padding-inline: 9px; }
  .canvas-editor .editor-files-menu > div { left: auto; right: 0; }
  .editor-workspace-tools { gap: 15px; padding-inline: 18px; min-height: 39px; justify-content: space-between; }
  .workspace-label { display: none; }
  .canvas-editor .editor-example-bar > summary, .canvas-editor .editor-readiness > summary { max-width: 160px; font-size: 9px; }
  .canvas-editor .editor-example-content { right: auto; left: 0; }
  .canvas-editor .editor-mobile-tabs { position: sticky; top: 0; z-index: 10; display: flex; margin: 0; padding: 5px 18px; gap: 5px; border-bottom: 1px solid var(--line); border-radius: 0; background: white; }
  .canvas-editor .editor-mobile-tabs button { min-height: 39px; border-radius: 4px; font-size: 12px; }
  .canvas-editor .editor-mobile-tabs [aria-pressed=true] { background: #194f42; color: white; }
  .canvas-editor .editor-layout { display: block; flex: none; height: auto; }
  .canvas-editor .editor-side { padding: 17px 18px 0; border: 0; overflow: visible; }
  .canvas-editor .editor-side > .eyebrow, .canvas-editor .editor-title, .canvas-editor .editor-section-label, .canvas-editor .editor-design-button, .canvas-editor .section-list, .canvas-editor .editor-side-note { display: none; }
  .mobile-section-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
  .mobile-section-select { display: block; min-height: 46px; font-size: 16px; }
  .mobile-section-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 0 0; }
  .mobile-section-actions:empty { padding: 0; }
  .mobile-section-actions .btn { min-height: 37px; padding: 7px 10px; font-size: 11px; }
  .canvas-editor .editor-panel { height: auto; max-height: none; padding: 25px 18px 40px; border: 0; overflow: visible; }
  .canvas-editor .editor-panel input:not([type=range]):not([type=checkbox]), .canvas-editor .editor-panel select, .canvas-editor .editor-panel textarea { font-size: 16px; }
  .canvas-editor .editor-panel h2 { font-size: 28px; }
  .canvas-editor .editor-panel .field label { font-size: 13px; }
  .canvas-editor .editor-panel .intro { font-size: 13px; }
  .design-picker { grid-template-columns: 1fr 1fr; gap: 13px; }
  .design-miniature { height: 130px; padding: 22px 16px; }
  .design-miniature b { font-size: 43px; }
  .design-choice strong { font-size: 13px; }
  .design-choice small { font-size: 11px; }
  .canvas-editor .editor-preview { display: none; height: calc(100dvh - 150px); min-height: 450px; padding: 12px 14px 16px; }
  .canvas-editor.editor-show-preview .editor-preview { display: flex; }
  .canvas-editor.editor-show-preview .editor-side, .canvas-editor.editor-show-preview .editor-panel { display: none; }
  .canvas-live-label { display: none; }
  .canvas-editor .editor-preview-context { margin-bottom: 7px; min-height: 18px; }
}
@media(max-width:760px) {
  .public-site .public-nav { padding: 23px 22px; }
  .public-site .public-nav > a { max-width: 67%; font-size: 22px; }
  .public-site .public-copy { width: calc(100% - 44px); padding: 150px 0 100px; }
  .public-site .public-copy h1 { margin-bottom: 23px; font-size: clamp(45px,12.5vw,69px); line-height: 1.04; }
  .public-site .hero-overline { margin-bottom: 23px; gap: 18px; }
  .public-site .hero-overline .eyebrow { font-size: 9px; line-height: 1.7; }
  .public-site .hero-rule { width: 24px; flex-shrink: 0; }
  .public-site .public-copy .hero-intro { font-size: 15px; line-height: 1.75; }
  .public-hero-actions { display: grid; justify-items: start; gap: 20px; }
  .public-site .public-hero-actions .btn { width: auto; max-width: 100%; min-height: 48px; padding-inline: 20px; font-size: 12px; }
  .hero-secondary { font-size: 11px; }
  .hero-bottom { left: 22px; right: 22px; bottom: 22px; font-size: 8px; letter-spacing: .08em; }
  .public-site .public-main { width: calc(100% - 44px); }
  .public-site .public-section { padding: 55px 0; }
  .public-site .section-heading { margin-bottom: 28px; }
  .public-site .section-heading h2 { font-size: 38px; }
  .public-site .site-kicker { margin-bottom: 16px; font-size: 9px; }
  .public-site .service-line { grid-template-columns: 24px minmax(0,1fr); gap: 14px; padding: 25px 0; }
  .public-site .service-line h3 { font-size: 26px; }
  .public-site .service-line p { font-size: 13px; }
  .public-site .service-price, .public-site .service-link { grid-column: 2; }
  .public-site .service-format { font-size: 10px; }
  .public-site .gallery { grid-template-columns: 1fr; gap: 35px; }
  .public-site .gallery figcaption { gap: 18px; }
  .public-site .gallery figcaption h3 { font-size: 26px; }
  .about-lead { font-size: 19px; }
  .about-details { grid-template-columns: 1fr; gap: 25px; }
  .public-site .about-detail p { font-size: 13px; }
  .public-site [data-section=contact] { margin-inline: -22px; padding: 45px 22px; }
  .public-site .contactlinks { gap: 15px; margin: 25px 0; }
  .contact-details { grid-template-columns: 1fr 1fr; gap: 22px; }
  .contact-invitation { font-size: 15px; }
  .professional-signature { font-size: 20px; }
  .template-atelier [data-section=services] { display: block; }
  .template-atelier [data-section=services] .section-heading { position: static; }
  .template-studio .public-hero::after { background: linear-gradient(90deg,#edf3eeeb,#edf3eeb8),linear-gradient(0deg,#edf3ee90,transparent); }
  .template-studio .public-copy h1 { font-size: clamp(39px,10.4vw,56px); font-weight: 600; line-height: 1.1; }
  .template-studio .section-heading h2 { font-size: 31px; }
  .template-studio [data-section=services] .section-content { grid-template-columns: 1fr; gap: 16px; }
  .template-studio .service-line { padding: 25px; gap: 18px; }
  .template-signature [data-section=services] .section-content { grid-template-columns: 1fr; gap: 18px; }
  .template-signature .service-line { padding: 27px; }
  .template-signature .public-copy h1 { font-size: clamp(49px,13vw,72px); }
  .template-galerie .public-copy h1 { font-size: clamp(52px,13vw,75px); }
  .template-galerie .gallery { grid-template-columns: 1fr; gap: 40px; }
  .template-galerie .work-item:nth-child(even) { padding-top: 0; }
  .template-galerie .work-item img { aspect-ratio: 4/5; }
}
@media(max-width:359px) {
  .canvas-editor .builder-header .brand { font-size: 16px; gap: 5px; }
  .canvas-editor .builder-header .brand-symbol { width: 25px; height: 25px; flex-basis: 25px; }
  .canvas-editor .editor-toolbar { gap: 4px; }
  .canvas-editor .editor-toolbar .btn { font-size: 9px; padding-inline: 9px; }
  .canvas-editor .editor-files-menu summary { font-size: 9px; padding-inline: 8px; }
  .canvas-editor .editor-example-bar > summary, .canvas-editor .editor-readiness > summary { max-width: 135px; }
  .contact-details { grid-template-columns: 1fr; }
}

/* Offer access from the guided creation without hiding the current form. */
.wizard-offers-menu{position:relative;font-size:12px}.wizard-offers-menu summary{display:flex;align-items:center;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.wizard-offers-menu>div{position:absolute;right:0;top:100%;z-index:40;display:grid;min-width:220px;padding:10px;background:white;border:1px solid var(--line);border-radius:6px;box-shadow:0 10px 25px #123b3120}.wizard-offers-menu a{display:flex;align-items:center;min-height:44px;padding:8px;font-size:12px;text-decoration:none}
@media(max-width:430px){.wizard-wrap .builder-header{flex-wrap:wrap}.wizard-wrap .builder-header-actions{width:100%;justify-content:space-between}.wizard-offers-menu>div{right:auto;left:0}}

/* Native imports stay keyboard accessible and work on phone cameras/file pickers. */
.media-import{padding:18px;border:1px dashed #9fb8a8;border-radius:8px;background:#edf3ee;min-width:0}.media-file-label{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;font-size:13px;font-weight:600}.media-file-label>span{font-size:12px;font-weight:400;color:var(--forest)}.media-import input[type=file]{display:block;width:100%;min-width:0;padding:10px;border:1px solid #b7cbbd;border-radius:5px;background:white;font-size:12px;color:var(--ink)}.media-import input::file-selector-button{min-height:38px;margin-right:10px;padding:8px 12px;border:0;border-radius:4px;background:var(--forest);color:#fff;font:500 12px 'DM Sans',sans-serif;cursor:pointer}.media-file-name{margin:12px 0 0;font-size:12px;overflow-wrap:anywhere}.media-link-option{margin-top:12px}.media-link-option>summary{font-size:12px;cursor:pointer;min-height:36px;align-content:center}.media-link-option .field{margin-top:10px}.media-import>.micro{font-size:11px;margin:12px 0 0}.gallery-import{margin-bottom:20px}.media-import .text-button{font-size:11px}.canvas-editor .editor-panel .media-import{padding:13px}.canvas-editor .editor-panel .media-import input[type=file]{font-size:11px;padding:8px}.canvas-editor .editor-panel .media-import input::file-selector-button{padding-inline:9px;font-size:11px}
@media(max-width:760px){.media-import{padding:16px}.media-import input[type=file]{font-size:14px}.canvas-editor .editor-panel .media-import input[type=file]{font-size:14px}.media-import input::file-selector-button{min-height:44px}.media-file-label{font-size:14px}}

/* —— Mobile polish: breathing room, readable type, no clipped brand —— */
@media (max-width: 760px) {
  html, body { overflow-x: clip; }
  .wrap {
    width: 100%;
    max-width: 1200px;
    padding-inline: max(20px, env(safe-area-inset-left, 0px) + 16px) max(20px, env(safe-area-inset-right, 0px) + 16px);
    box-sizing: border-box;
  }
  .wizard-wrap {
    width: 100%;
    padding-inline: max(18px, env(safe-area-inset-left, 0px) + 14px) max(18px, env(safe-area-inset-right, 0px) + 14px);
    box-sizing: border-box;
  }

  .nav {
    min-height: 64px;
    gap: 10px;
    padding-block: 8px;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    max-width: calc(100% - 128px);
    font-size: 17px;
    letter-spacing: -.03em;
  }
  .brand .brand-symbol {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }
  .brand .brand-word {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand .brand-domain { font-size: .58em; }
  .navlinks { gap: 0; flex-shrink: 0; }
  .navlinks .btn {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 12px;
    gap: 8px;
    white-space: nowrap;
  }

  .landing .hero,
  .hero {
    gap: 28px;
    padding: 18px 0 32px;
  }
  .landing .hero h1,
  .hero h1 {
    max-width: none;
    margin: 14px 0 16px;
    font-size: clamp(22px, 5.9vw, 32px);
    line-height: 1.15;
    letter-spacing: -.03em;
    white-space: nowrap;
  }
  .landing .hero .lede,
  .hero .lede {
    max-width: none;
    font-size: 15px;
    line-height: 1.65;
  }
  .landing .hero .eyebrow,
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: .1em;
    flex-wrap: wrap;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 22px 0 16px;
  }
  .actions > .btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 18px;
  }
  .actions > .text-link {
    justify-content: flex-start;
    min-height: 40px;
  }
  .offer-line { font-size: 12px; line-height: 1.55; }

  .showcase { max-width: none; margin-top: 4px; }
  .showcase-heading { margin-bottom: 10px; font-size: 10px; }
  .example-photo {
    min-height: 280px;
    padding: 22px 18px;
    background-image:
      linear-gradient(0deg, #0d221fe8 0%, #112b2799 42%, #112b2726 78%),
      url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1200&q=85');
    background-position: center;
    background-size: cover;
  }
  .example-photo h2 {
    margin: 10px 0 8px;
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.08;
  }
  .example-photo p:not(.eyebrow) {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.45;
    max-width: 28ch;
  }
  .example-photo a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .example-bottom {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 14px 16px;
    font-size: 11px;
  }

  .trades {
    gap: 10px 14px;
    padding: 20px 0;
  }
  .trades strong {
    font-size: 16px;
    letter-spacing: -.02em;
  }
  .trades > span:first-child {
    flex-basis: 100%;
    margin-bottom: 2px;
  }

  .section { padding: 40px 0; }
  .section h2 {
    margin: 10px 0 18px;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.12;
  }
  .section-head > p {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.6;
  }
  .featured-domains > a { padding: 18px 0; gap: 12px; }
  .featured-domains h3 { font-size: 22px; line-height: 1.15; }
  .featured-domains p { font-size: 13px; }

  .steps { gap: 16px; }
  .step h3 { font-size: 22px; line-height: 1.15; margin: 10px 0 8px; }
  .step p { font-size: 14px; }

  .offer { padding: 22px 18px; gap: 18px; }
  .offer h2 { font-size: clamp(26px, 7vw, 32px); line-height: 1.12; margin: 12px 0; }

  .faq summary {
    font-size: 15px;
    line-height: 1.35;
    padding-block: 14px;
  }
  .faq p { font-size: 14px; }

  .closing-cta { padding: 8px 0 36px; }
  .closing-cta h2 {
    margin-bottom: 18px;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.12;
  }
  .closing-cta .btn { width: 100%; min-height: 48px; }

  footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0 calc(18px + env(safe-area-inset-bottom, 0px));
    align-items: start;
  }
  footer .brand {
    flex-basis: auto;
    max-width: 100%;
    font-size: 18px;
    gap: 7px;
  }
  footer .brand .brand-symbol {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
  footer > span,
  footer > a {
    font-size: 12px;
    line-height: 1.5;
  }

  .form-panel h1 {
    font-size: clamp(28px, 7.5vw, 34px);
    line-height: 1.12;
  }
  .form-panel .intro { font-size: 14px; line-height: 1.6; }
}

@media (max-width: 430px) {
  .brand { font-size: 16px; max-width: calc(100% - 118px); }
  .navlinks .btn { padding-inline: 10px; font-size: 11px; }
  .landing .hero h1,
  .hero h1 { font-size: clamp(20px, 5.4vw, 28px); }
  .example-photo { min-height: 250px; padding: 18px 16px; }
  .example-photo h2 { font-size: 28px; }
}

@media (max-width: 359px) {
  .brand { font-size: 15px; }
  .navlinks .btn span[aria-hidden] { display: none; }
  .landing .hero h1,
  .hero h1 { font-size: 18px; letter-spacing: -.02em; }
}
