* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #141416; --muted: #737379; --line: #e3e3e7; --surface: #f7f7f9; }
body { margin: 0; height: 100dvh; display: flex; flex-direction: column; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
main { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 30px 24px 16px; }
.hero { width: 100%; flex-shrink: 0; text-align: center; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .1px; }
.eyebrow span { font-weight: 400; color: var(--muted); }
h1 { font-size: clamp(36px, 4.3vw, 64px); font-weight: 650; letter-spacing: -.055em; line-height: 1.06; margin: 20px 0 16px; }
h1 span { color: #8b8b91; }
.intro { font-size: 15px; line-height: 1.5; margin: 0; color: #45454b; }
.disclaimer { font-size: 10px; line-height: 1.5; color: var(--muted); margin: 5px 0 0; }
.workspace { width: 100%; max-width: 560px; min-height: 392px; display: flex; flex-direction: column; padding: 24px 30px 20px; border: 1px solid #ededf0; border-radius: 26px; background: var(--surface); }
.progress-top { display: flex; justify-content: space-between; font-size: 9px; font-weight: 500; letter-spacing: 1.4px; color: var(--muted); }
.progress { height: 2px; margin: 12px 0 22px; background: #e4e4e8; overflow: hidden; border-radius: 2px; }
.progress > div { height: 100%; background: var(--ink); transition: width .25s; }
form { display: flex; flex: 1; flex-direction: column; min-height: 0; }
#content { flex: 1; }
h2 { font-size: 25px; font-weight: 600; letter-spacing: -.8px; margin: 0 0 8px; line-height: 1.15; }
h2:focus { outline: none; }
.sub { font-size: 11px; line-height: 1.5; color: var(--muted); margin: 0 0 18px; }
.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.type { background: #fff; border: 1px solid var(--line); border-radius: 14px; min-height: 74px; padding: 12px 15px; text-align: left; color: #56565c; display: flex; flex-direction: column; gap: 8px; font-size: 12px; transition: border-color .15s, background .15s; }
.type .icon { font-size: 21px; line-height: 1; color: #737379; }
.type:hover { border-color: #aaaab0; }
.type.active { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 .5px var(--ink); }
.type.active .icon { color: var(--ink); }
.type small { font-size: 11px; float: right; }
.actions { display: flex; gap: 10px; margin-top: 12px; }
.primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); padding: 14px 21px; border-radius: 30px; flex: 1; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 500; }
.primary:hover { background: #343438; }
.primary:disabled { opacity: .5; cursor: wait; }
.secondary { border: 1px solid #d9d9df; background: transparent; border-radius: 30px; color: var(--ink); padding: 12px 16px; font-size: 11px; }
.privacy { text-align: center; font-size: 9px; color: var(--muted); margin: 14px 0 0; }
label.field { display: block; font-size: 11px; margin: 0 0 14px; }
input, select { display: block; width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid #dcdce2; border-radius: 12px; background: #fff; color: var(--ink); margin-top: 7px; outline: none; }
input:focus, select:focus { border-color: #5b5b63; box-shadow: 0 0 0 3px #1414160a; }
:focus-visible { outline: 2px solid #53535b; outline-offset: 3px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { color: var(--muted); font-size: 10px; line-height: 1.5; }
#error { color: #ad3e33; min-height: 13px; font-size: 10px; line-height: 1.4; margin: 8px 0 0; }
.dropzone { display: block; text-align: center; padding: 22px 12px; border: 1px dashed #c5c5ce; background: #fff; border-radius: 15px; font-size: 12px; cursor: pointer; }
.dropzone input { padding: 0; border: 0; font-size: 10px; max-width: 240px; margin: 14px auto 0; border-radius: 0; }
.photos { display: flex; gap: 8px; margin-top: 12px; }
.photo { position: relative; }
.photo img { width: 56px; height: 50px; object-fit: cover; border-radius: 8px; }
.remove { position: absolute; top: -6px; right: -5px; width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 50%; background: white; padding: 0; font-size: 12px; }
.badge { display: inline-block; font-size: 8px; letter-spacing: 1px; border-radius: 20px; background: #e9e9ed; padding: 6px 9px; margin-bottom: 10px; color: #5e5e65; }
.prices { margin: 0 0 12px; }
.price { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.price strong { font-size: 22px; font-weight: 550; letter-spacing: -.6px; white-space: nowrap; }
.check { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; font-size: 24px; margin: 10px 0 22px; }
.spinner { width: 42px; height: 42px; border: 2px solid #dedee3; border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; margin: 28px 0; }
@keyframes spin { to { transform: rotate(360deg); } }
footer { text-align: center; flex-shrink: 0; font-size: 9px; color: #8c8c93; padding: 10px 20px 18px; }
[hidden] { display: none !important; }
@media (max-height: 820px) and (min-width: 800px) {
  main { gap: 20px; padding-top: 20px; }
  h1 { font-size: 44px; margin: 12px 0; }
  .workspace { padding: 20px 28px 16px; min-height: 365px; }
  .progress { margin-bottom: 16px; }
}
@media (max-width: 799px) {
  main { gap: 24px; padding: 24px 18px 12px; }
  h1 { font-size: clamp(29px, 7.7vw, 45px); margin: 17px 0 12px; letter-spacing: -.05em; }
  .eyebrow { font-size: 10px; }
  .intro { font-size: 12px; }
  .disclaimer { font-size: 9px; }
  .workspace { max-width: 480px; padding: 23px 22px 19px; min-height: 390px; border-radius: 23px; }
  h2 { font-size: 24px; }
  .type { min-height: 77px; }
  input, select { font-size: 16px; }
  footer { font-size: 8px; padding-bottom: 14px; }
}
@media (max-height: 730px) and (max-width: 799px) {
  main { gap: 15px; padding: 15px 14px 12px; }
  h1 { font-size: 27px; margin: 10px 0 8px; }
  .intro { font-size: 10px; }
  .disclaimer { font-size: 8px; }
  .workspace { min-height: 0; padding: 18px 20px 15px; }
  .progress { margin: 10px 0 16px; }
  .type { min-height: 66px; }
  .sub { margin-bottom: 12px; }
  label.field { margin-bottom: 10px; }
  input, select { padding: 10px 12px; }
  .privacy { font-size: 8px; margin-top: 11px; }
  footer { display: none; }
}
@media (max-height: 650px) and (max-width: 799px) {
  main { gap: 13px; justify-content: flex-start; padding-top: 14px; }
  .hero .eyebrow { font-size: 9px; }
  h1 { font-size: 23px; margin: 9px 0 0; }
  .intro, .disclaimer { display: none; }
  .workspace { flex: 1; min-height: 0; width: 100%; padding: 15px 17px 13px; }
  h2 { font-size: 22px; }
  .sub { font-size: 10px; line-height: 1.4; margin-bottom: 10px; }
  .hint { font-size: 9px; line-height: 1.4; }
  .price { padding: 6px 0; }
  .price strong { font-size: 19px; }
  .prices { margin-bottom: 9px; }
  .badge { font-size: 7px; margin-bottom: 8px; padding: 4px 7px; }
  .privacy { font-size: 7px; margin-top: 8px; }
  .actions { margin-top: 7px; gap: 8px; }
  .primary, .secondary { font-size: 11px; padding: 11px 14px; }
  #error { margin-top: 5px; }
  .progress { margin: 8px 0 12px; }
  .check { margin: 5px 0 15px; }
  body[data-step="7"] .hero, body[data-step="8"] .hero { display: none; }
}
@media (max-height: 440px) {
  main { padding: 10px 18px; gap: 8px; }
  .hero { display: none; }
  .workspace { max-width: 650px; height: 100%; min-height: 0; padding: 14px 20px; }
  .progress-top, .progress, .privacy, footer { display: none; }
  .types { grid-template-columns: repeat(4, 1fr); }
  h2 { font-size: 22px; }
  .sub { margin-bottom: 10px; }
  .type { min-height: 65px; }
  .prices { display: flex; gap: 20px; }
  .price { display: block; flex: 1; }
  .price strong { display: block; margin-top: 4px; }
  .spinner { margin: 10px 0; }
  .dropzone { padding: 10px; }
  .photos { margin-top: 8px; }
  .photo img { width: 40px; height: 35px; }
  .check { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .spinner { animation-duration: 2s; }
}
/* Full-screen form below the persistent header. */
:root { --header-height: 76px; }
.site-header { height: var(--header-height); flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 4vw; border-bottom: 1px solid #f0f0f2; }
.brand { font-size: 13px; font-weight: 600; letter-spacing: -.2px; }
.brand span { display: block; font-size: 9px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.demo-label { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.demo-label i { height: 5px; width: 5px; border-radius: 50%; background: #94949c; }
main { justify-content: center; padding: 24px; }
.hero { display: block; transform: translateY(-15px); }
.hero .eyebrow { color: #626269; font-size: 12px; font-weight: 400; }
h1 { font-size: clamp(38px, 5.8vw, 84px); margin: 25px 0 23px; line-height: 1.04; }
.intro { font-size: 16px; }
.hero-cta { border: 0; border-radius: 30px; background: var(--ink); color: white; padding: 17px 26px; font-size: 13px; font-weight: 500; margin-top: 30px; display: inline-flex; gap: 37px; align-items: center; }
.hero-cta:hover { background: #343438; }
.hero-note { margin: 15px 0 0; font-size: 10px; color: var(--muted); }
.workspace:not([open]) { display: none; }
.workspace[open] { position: fixed; inset: calc(var(--header-height) + 14px) 16px 16px; margin: 0 auto; width: calc(100% - 32px); max-width: 1320px; max-height: none; height: calc(100dvh - var(--header-height) - 30px); min-height: 0; padding: 0 26px 24px; display: flex; flex-direction: column; border-radius: 24px; background: #fafafa; color: var(--ink); box-shadow: 0 8px 30px #14141606; overflow: auto; }
.workspace::backdrop { background: transparent; }
body:has(.workspace[open]) main > .hero { visibility: hidden; }
.panel-top { flex-shrink: 0; height: 65px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 500; color: #505057; }
.panel-top small { font-size: 10px; font-weight: 400; color: var(--muted); }
#close-form { border: 1px solid #e7e7eb; background: #f0f0f3; border-radius: 50%; width: 30px; height: 30px; color: #616169; font-size: 22px; line-height: 1; }
.form-shell { width: 100%; max-width: 500px; margin: auto; display: flex; flex-direction: column; padding: 18px 0; }
.form-shell form { flex: 0; }
.form-shell h2 { font-size: 30px; letter-spacing: -1px; }
.form-shell .sub { font-size: 12px; margin-bottom: 24px; }
.form-shell .type { min-height: 94px; padding: 18px; font-size: 13px; gap: 14px; }
.form-shell .actions { margin-top: 19px; }
.form-shell .primary { padding: 16px 21px; }
.form-shell .progress { margin-bottom: 26px; }
@media (max-width: 799px) {
  :root { --header-height: 64px; }
  .site-header { padding: 0 22px; }
  .hero { transform: translateY(-20px); }
  .hero .eyebrow { font-size: 10px; }
  h1 { font-size: clamp(29px, 8.3vw, 54px); margin: 22px 0 18px; }
  .intro { display: block; font-size: 12px; }
  .disclaimer { display: block; font-size: 9px; }
  .workspace[open] { inset: calc(var(--header-height) + 8px) 10px 10px; width: calc(100% - 20px); height: calc(100dvh - var(--header-height) - 18px); padding: 0 20px 16px; border-radius: 20px; }
  .panel-top { height: 52px; font-size: 10px; }
  .panel-top small { font-size: 9px; }
  .form-shell { padding: 12px 0; }
  .form-shell h2 { font-size: 27px; }
  .form-shell .type { min-height: 85px; padding: 15px; gap: 12px; }
  footer { display: block; }
}
@media (max-height: 730px) {
  :root { --header-height: 56px; }
  main { justify-content: center; }
  .hero { display: block; transform: none; }
  h1 { font-size: clamp(29px, 5.5vw, 55px); }
  .workspace[open] { padding-bottom: 10px; }
  .panel-top { height: 43px; }
  .form-shell { padding: 6px 0; }
  .form-shell h2 { font-size: 23px; }
  .form-shell .sub { font-size: 10px; margin-bottom: 12px; }
  .form-shell .type { min-height: 66px; padding: 11px; gap: 8px; font-size: 12px; }
  .form-shell .progress { margin: 8px 0 15px; }
  .form-shell .actions { margin-top: 10px; }
  .form-shell .primary, .form-shell .secondary { padding: 12px 15px; }
  body[data-step] .hero { display: block; }
  .privacy { margin-top: 10px; }
}
@media (max-height: 440px) {
  :root { --header-height: 46px; }
  .hero .eyebrow, .hero-note { display: none; }
  h1 { font-size: 33px; margin: 8px 0 10px; }
  .hero-cta { margin-top: 15px; padding: 12px 24px; }
  footer { display: none; }
  .workspace[open] { inset: calc(var(--header-height) + 6px) 10px 6px; height: calc(100dvh - var(--header-height) - 12px); padding: 0 20px 10px; border-radius: 16px; }
  .panel-top { height: 35px; }
  #close-form { width: 26px; height: 26px; font-size: 19px; }
  .form-shell { max-width: 550px; padding: 0; }
  .form-shell h2 { font-size: 21px; }
  .form-shell .sub { margin: 5px 0 9px; }
  .form-shell .type { min-height: 60px; padding: 10px; }
  .form-shell .actions { margin-top: 6px; }
  .form-shell .primary, .form-shell .secondary { padding: 10px 14px; }
  .form-shell .hint { margin: 6px 0; }
  .badge { margin-bottom: 5px; }
  label.field { margin-bottom: 6px; }
}
@media (max-height:730px) and (max-width:799px) {
  body[data-step="7"] .progress-top, body[data-step="7"] .progress { display: none; }
  body[data-step="7"] .prices { display: flex; gap: 10px; }
  body[data-step="7"] .price { flex: 1; display: block; font-size: 9px; }
  body[data-step="7"] .price strong { display: block; font-size: 16px; letter-spacing: -.5px; margin-top: 5px; }
  body[data-step="7"] .form-shell h2 { font-size: 21px; }
}
.form-shell { flex-shrink: 0; }
.form-shell form { flex: 0 0 auto; }
#error:empty { min-height: 0; margin: 0; }
@media (max-height:440px) {
  body[data-step="7"] #content { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
  body[data-step="7"] #content > .badge, body[data-step="7"] #content > .sub { display: none; }
  body[data-step="7"] #content h2 { grid-column: 1 / -1; margin: 0; }
  body[data-step="7"] #content .prices { grid-column: 1; grid-row: 2 / 4; display: block; margin: 0; }
  body[data-step="7"] #content .price { display: flex; padding: 5px 0; font-size: 10px; }
  body[data-step="7"] #content .price strong { margin: 0; font-size: 16px; }
  body[data-step="7"] #content label.field { grid-column: 2; grid-row: 2; margin: 0; }
  body[data-step="7"] #content .hint { grid-column: 2; grid-row: 3; margin: 0; font-size: 9px; }
}
/* Ocean, warm stone and soft apricot. The form remains opaque. */
:root { --ink: #143e46; --muted: #657878; --line: #dce5df; --surface: #faf8f1; }
body { background: #204f54; }
.background-scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: linear-gradient(140deg,#376d70,#143e46 60%,#8d9276); }
.background-still { position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 20%,#9aab91 0%,transparent 50%),linear-gradient(145deg,#426a65,#173f46 65%,#526a61); opacity: .68; transition: opacity .4s ease; }
.background-motion { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
/* Native stock video keeps its own aspect ratio and crops to the viewport.
   Fallback is a text-free CSS gradient, never a branded video thumbnail. */
.background-motion video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.video-playing .background-motion { opacity: 1; }
.video-playing .background-still { opacity: 0; }
.background-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(12,46,53,.37),rgba(12,46,53,.67) 48%,rgba(12,46,53,.78)); }
.site-header, main, footer { position: relative; z-index: 1; }
.site-header { background: rgba(252,249,241,.95); border-color: #e8e7db; }
.brand { color: #143e46; }
.brand span, .demo-label { color: #5e7474; }
.demo-label i { background: #4f8b81; }
.hero { transform: translateY(-40px); }
.hero .eyebrow { color: #d3e7dd; font-size: 12px; letter-spacing: .3px; }
h1 { font-size: clamp(44px,6.6vw,98px); color: #fffaf0; letter-spacing: -.055em; line-height: 1.04; margin: 27px 0 24px; text-shadow: 0 2px 24px #092f3c22; }
h1 span { color: #b6d9c9; }
.intro { color: #f5f3e9; }
.disclaimer { color: #d1ded6; }
.hero-cta { background: #f2c5a1; color: #173d43; box-shadow: 0 8px 30px #102e3e20; }
.hero-cta:hover { background: #ffdbba; }
.hero-note { color: #cfdfd6; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 4vw 18px; color: #d2e0d8; }
.video-controls { display: flex; align-items: center; gap: 15px; }
.video-controls a { color: #d2e0d8; font-size: 9px; text-decoration: none; }
#video-toggle { font-size: 9px; color: #f4f6ed; background: #ffffff0e; border: 1px solid #d2e0d844; border-radius: 20px; padding: 8px 12px; }
.workspace[open] { background: #faf8f1; border-color: #e0e5dc; box-shadow: 0 14px 45px #092f3e25; }
.panel-top { color: #456367; }
.panel-top small, .sub, .privacy, .hint { color: #617575; }
#close-form { background: #e9eee5; border-color: #dce4d9; color: #375b5e; }
.primary { background: #205e66; border-color: #205e66; }
.primary:hover { background: #164c54; }
.secondary { color: #31565a; border-color: #d2ded4; }
.type { background: #fffefa; border-color: #dce4da; color: #4c6464; }
.type.active { color: #153e44; background: #e8f0e6; border-color: #478379; box-shadow: inset 0 0 0 .5px #478379; }
.type.active .icon { color: #287065; }
input, select { background: #fffefa; border-color: #d6e1d6; }
input:focus, select:focus { border-color: #428578; box-shadow: 0 0 0 3px #42857814; }
.dropzone { border-color: #a9c3b4; background: #f1f5ec; }
.badge { color: #356d63; background: #e2ece0; }
.check { background: #2a7369; }
.progress > div { background: #3b8275; }
.progress { background: #dce5d7; }
:focus-visible { outline-color: #daae85; }
@media(max-width:799px) {
  .hero { transform: translateY(-30px); }
  h1 { font-size: clamp(31px,8.6vw,60px); margin: 22px 0; }
  .hero .eyebrow { font-size: 10px; }
  footer { font-size: 8px; flex-direction: column; gap: 8px; padding: 10px 18px 13px; }
  .video-controls { gap: 12px; }
  .video-controls a, #video-toggle { font-size: 8px; }
}
@media(max-height:730px) {
  .hero { transform: translateY(-12px); }
  h1 { font-size: clamp(31px,6.2vw,68px); }
  footer { padding-bottom: 10px; }
}
@media(max-height:440px) {
  .hero { transform: none; }
  h1 { font-size: 35px; margin: 7px 0; }
  footer { display: flex; padding: 3px 20px 6px; flex-direction: row; }
  footer > span, .video-controls a { display: none; }
  .video-controls { margin-left: auto; }
  #video-toggle { padding: 4px 8px; }
}
@media(prefers-reduced-motion:reduce) {
  .background-motion { display: none; }
}
@media(prefers-reduced-motion:reduce){body.video-user-enabled .background-motion{display:block}}
/* Floating glass header; reserve the same top edge for the form panel. */
:root { --header-top: 18px; }
.site-header {
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: var(--header-top) auto 0;
  padding: 0 26px;
  border: 1px solid rgba(255,250,237,.28);
  border-radius: 22px;
  background: rgba(239,247,236,.14);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 8px 32px rgba(7,36,43,.12), inset 0 1px 0 rgba(255,255,246,.12);
}
.site-header .brand { color: #fffaf0; }
.site-header .brand span, .site-header .demo-label { color: #deece3; }
.site-header .demo-label i { background: #b6d9c9; box-shadow: 0 0 9px #b6d9c933; }
.workspace[open] {
  top: calc(var(--header-height) + var(--header-top) + 14px);
  height: calc(100dvh - var(--header-height) - var(--header-top) - 30px);
}
@media (max-width:799px) {
  :root { --header-top: 10px; }
  .site-header { width: calc(100% - 24px); padding: 0 18px; border-radius: 18px; }
  .workspace[open] {
    top: calc(var(--header-height) + var(--header-top) + 8px);
    height: calc(100dvh - var(--header-height) - var(--header-top) - 18px);
  }
}
@media (max-height:440px) {
  :root { --header-top: 6px; }
  .site-header { border-radius: 15px; }
  .workspace[open] {
    top: calc(var(--header-height) + var(--header-top) + 6px);
    height: calc(100dvh - var(--header-height) - var(--header-top) - 12px);
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(31,74,80,.92); }
}

/* Header expands to the existing form width, with shared responsive edges. */
:root { --shell-width: calc(100% - 32px); --shell-max-width: 1320px; }
.site-header, .workspace[open] { width: var(--shell-width); max-width: var(--shell-max-width); }
@media (max-width:799px) { :root { --shell-width: calc(100% - 20px); } }
