:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #142231;
  --muted: #596674;
  --navy: #1c2c3c;
  --green: #2f7656;
  --clay: #8a6652;
  --line: #e4ded4;
  --soft: #eef4ef;
  --shadow: 0 18px 45px rgba(20, 34, 49, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); overflow-x: hidden; }
body { line-height: 1.58; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.skip { position: absolute; left: -999px; top: 10px; background: #fff; padding: 10px 12px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 10px; }
.site { min-height: 74px; position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { color: var(--navy); font-weight: 900; font-size: 20px; }
.primary { display: flex; gap: 17px; align-items: center; }
.primary a { font-weight: 850; font-size: 14px; color: #263545; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); padding: 9px 12px; font-weight: 900; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wide-container { max-width: 1720px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.hero { background: linear-gradient(180deg, #fff 0%, #f7f6f3 100%); padding: clamp(48px, 7vw, 86px) 0 38px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 34px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: 12px; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { color: var(--navy); font-size: clamp(38px, 6vw, 66px); line-height: 1.02; letter-spacing: 0; margin-bottom: 16px; text-wrap: balance; overflow-wrap: anywhere; }
h2 { color: var(--navy); font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: 0; margin-bottom: 14px; text-wrap: balance; }
h3 { color: var(--navy); line-height: 1.2; margin-bottom: 8px; }
.lead { color: #3d4854; font-size: clamp(17px, 2vw, 21px); max-width: 780px; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 0; border-radius: 12px; padding: 0 18px; background: var(--navy); color: #fff; font-weight: 900; cursor: pointer; box-shadow: 0 12px 24px rgba(28,44,60,.14); }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: none; }
.hero-media { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.hero-card span { display: grid; gap: 2px; background: #fff; padding: 14px; color: var(--muted); font-size: 12px; font-weight: 750; }
.hero-card strong { color: var(--navy); font-size: 15px; }
.section { padding: 70px 0; }
.band { background: #fff; border-block: 1px solid var(--line); }
.section-sub { max-width: 840px; color: var(--muted); font-size: 16px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .panel, .faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 12px 30px rgba(20,34,49,.05); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.card p, .panel p, .faq-item p { color: var(--muted); margin-bottom: 0; }
.spec-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #f0ece5; padding-bottom: 9px; color: var(--muted); }
.spec-list strong { color: var(--navy); }
.designer-shell { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); gap: 18px; align-items: stretch; margin-top: 24px; }
.designer-shell.advanced-designer { grid-template-columns: minmax(330px, .58fr) minmax(0, 1.42fr); }
.designer-controls, .designer-stage, .summary-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.designer-controls { padding: 20px; display: grid; gap: 13px; align-content: start; }
.mini-note { margin: -4px 0 2px; color: var(--muted); font-size: 13px; }
label { display: grid; gap: 6px; color: var(--navy); font-weight: 850; font-size: 13px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); padding: 12px; outline: none; }
select { min-width: 0; padding-right: 34px; text-overflow: ellipsis; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(47,118,86,.1); }
input[type="range"] { accent-color: var(--green); padding: 6px 0; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.swatch { min-height: 42px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.swatch.is-active { border-color: var(--navy); }
.designer-stage { overflow: hidden; min-height: 680px; display: grid; grid-template-rows: minmax(520px, 1fr) auto; }
.pod-canvas { width: 100%; min-height: 560px; display: block; background: radial-gradient(circle at 50% 35%, #ffffff 0%, #edf1ef 52%, #d8ded9 100%); cursor: grab; }
.pod-canvas:active { cursor: grabbing; }
.pod-fallback { min-height: 420px; display: grid; place-content: center; gap: 8px; text-align: center; padding: 28px; background: radial-gradient(circle at 50% 35%, #ffffff 0%, #edf1ef 52%, #d8ded9 100%); color: var(--muted); }
.pod-fallback strong { color: var(--navy); font-size: 20px; }
.summary-card { border-radius: 0; border-inline: 0; border-bottom: 0; box-shadow: none; padding: 16px 18px; }
.summary-card strong { color: var(--navy); }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.summary-grid span { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; color: var(--muted); font-size: 12px; }
.summary-grid b { color: var(--navy); font-size: 14px; }
.render-studio { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); gap: 0; overflow: hidden; margin-top: 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.render-preview { position: relative; min-height: 680px; background: #101820; overflow: hidden; }
.render-preview img[data-render-preview] { width: 100%; height: 100%; min-height: 680px; object-fit: cover; transition: opacity .18s ease, transform .28s ease; }
.render-overlay { position: absolute; left: 28px; top: 28px; width: min(520px, calc(100% - 56px)); color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.32); }
.render-overlay h3 { color: #fff; font-size: clamp(32px, 4vw, 58px); line-height: 1; margin-bottom: 12px; }
.render-overlay p:not(.eyebrow) { color: rgba(255,255,255,.9); max-width: 480px; }
.render-thumbs { position: absolute; left: 28px; right: 28px; bottom: 28px; display: flex; gap: 12px; overflow-x: auto; border: 1px solid rgba(255,255,255,.58); border-radius: 18px; background: rgba(255,255,255,.9); padding: 12px; box-shadow: 0 18px 36px rgba(20,34,49,.2); backdrop-filter: blur(16px); scrollbar-width: none; }
.render-thumbs::-webkit-scrollbar { display: none; }
.render-thumbs button { flex: 0 0 160px; border: 2px solid transparent; border-radius: 12px; background: #fff; padding: 0; overflow: hidden; cursor: pointer; }
.render-thumbs button.is-active { border-color: var(--green); }
.render-thumbs img { width: 100%; height: 92px; object-fit: cover; }
.render-thumbs span { display: block; padding: 8px; color: var(--navy); font-size: 12px; font-weight: 900; }
.render-controls { display: grid; align-content: start; gap: 13px; max-height: 680px; overflow: auto; padding: 24px; border-left: 1px solid var(--line); background: #fff; }
.range-grid { display: grid; gap: 13px; }
.render-summary { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fbfaf7; color: var(--muted); padding: 14px; font-size: 13px; }
.render-summary strong { color: var(--navy); }
.pod-studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 500px); overflow: hidden; margin-top: 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.studio-band { padding-top: 0; }
.studio-band .wide-container { padding-inline: 0; }
.studio-band .pod-studio { margin-top: 0; border-radius: 0; border-inline: 0; box-shadow: none; min-height: calc(100vh - 74px); }
.studio-view { position: relative; display: grid; grid-template-rows: minmax(620px, 1fr) auto; min-width: 0; background: #f2f4f0; }
.studio-copy { position: absolute; left: 0; top: 0; z-index: 4; max-width: 650px; padding: clamp(26px, 3.6vw, 54px) clamp(24px, 4vw, 52px) 0; }
.studio-copy h1 { max-width: 650px; color: #060b10; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.02; letter-spacing: 0; margin-bottom: 16px; }
.studio-copy p { color: #3f4a54; font-size: 16px; }
.studio-specs { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; }
.studio-specs span { display: grid; gap: 2px; min-width: 94px; color: var(--navy); }
.studio-specs b { font-size: 15px; }
.studio-specs small { color: var(--muted); font-size: 11px; }
.studio-media { position: relative; min-height: 620px; overflow: hidden; }
.studio-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,248,246,.96) 0%, rgba(247,248,246,.86) 25%, rgba(247,248,246,.18) 50%, rgba(10,16,24,.05) 100%); pointer-events: none; }
.studio-media img[data-studio-main], .studio-media img[data-render-preview] { width: 100%; height: 100%; min-height: 620px; object-fit: cover; object-position: center bottom; transition: opacity .18s ease, transform .28s ease; }
.studio-tools { position: absolute; left: 28px; bottom: 154px; z-index: 3; display: flex; gap: 8px; border: 1px solid rgba(255,255,255,.52); border-radius: 14px; background: rgba(255,255,255,.86); padding: 8px; box-shadow: 0 14px 30px rgba(20,34,49,.12); backdrop-filter: blur(12px); }
.studio-tools button { min-width: 38px; min-height: 34px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font-weight: 900; cursor: pointer; }
.studio-thumbs { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 3; display: flex; gap: 12px; overflow-x: auto; border: 1px solid rgba(255,255,255,.56); border-radius: 18px; background: rgba(255,255,255,.9); padding: 12px; box-shadow: 0 18px 36px rgba(20,34,49,.12); backdrop-filter: blur(16px); scrollbar-width: none; }
.studio-thumbs::-webkit-scrollbar { display: none; }
.studio-thumbs button { flex: 0 0 200px; border: 2px solid transparent; border-radius: 12px; background: #fff; padding: 0; overflow: hidden; cursor: pointer; }
.studio-thumbs button.is-active { border-color: var(--green); }
.studio-thumbs img { width: 100%; height: 104px; object-fit: cover; }
.studio-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 18px 28px 22px; list-style: none; background: #fff; border-top: 1px solid var(--line); }
.studio-steps li { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--muted); }
.studio-steps b { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); }
.studio-steps .is-active b { background: var(--green); border-color: var(--green); color: #fff; }
.studio-steps span { display: grid; min-width: 0; color: var(--navy); font-weight: 850; font-size: 13px; }
.studio-steps small { color: var(--muted); font-size: 11px; font-weight: 650; }
.studio-panel { display: grid; align-content: start; max-height: calc(100vh - 74px); overflow: hidden; border-left: 1px solid var(--line); background: #fff; }
.studio-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.studio-tabs button { min-height: 38px; border: 0; border-bottom: 3px solid transparent; background: #fff; color: var(--muted); font-size: 13px; font-weight: 800; cursor: pointer; }
.studio-tabs button.is-active { border-color: var(--green); color: var(--navy); }
.studio-options { padding: 10px 18px 6px; border-bottom: 1px solid var(--line); }
.studio-options h4 { margin: 0 0 6px; color: var(--navy); font-size: 13px; }
.studio-options h4:not(:first-child) { margin-top: 10px; }
.option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.option-grid button { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); padding: 7px; font-size: 11px; line-height: 1.15; font-weight: 800; cursor: pointer; }
.option-grid button.is-active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(47,118,86,.14); }
.image-options { grid-template-columns: repeat(3, 1fr); }
.image-options button { overflow: hidden; padding: 0; }
.image-options img { width: 100%; height: 42px; object-fit: cover; }
.image-options span { display: block; padding: 5px; }
.color-row { display: flex; flex-wrap: wrap; gap: 10px; }
.color-row button { width: 32px; height: 32px; border: 1px solid rgba(20,34,49,.22); border-radius: 50%; cursor: pointer; }
.color-row button.is-active { outline: 3px solid rgba(47,118,86,.2); border-color: var(--green); }
.visually-soft { font-size: 13px; color: var(--muted); }
.selected-card { display: grid; gap: 8px; margin: 8px 18px 10px; border: 1px solid var(--line); border-radius: 14px; background: #fbfaf7; padding: 10px; box-shadow: 0 -12px 30px rgba(20,34,49,.06); }
.selected-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.selected-head button { border: 0; background: transparent; color: var(--green); font-weight: 850; text-decoration: underline; cursor: pointer; }
.selected-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.selected-grid span { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 7px; min-width: 0; }
.selected-grid small, .no-pressure { color: var(--muted); font-size: 10px; }
.selected-grid b { color: var(--navy); font-size: 12px; line-height: 1.2; overflow-wrap: anywhere; }
.selected-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.25; }
.selected-card .btn { min-height: 36px; border-radius: 10px; }
.no-pressure { display: block; text-align: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.panel ul { margin: 0; padding-left: 18px; color: var(--muted); }
.prose p { color: #3f4a54; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.chip { border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); padding: 9px 12px; font-weight: 850; font-size: 13px; }
.cta { background: var(--navy); color: #fff; }
.cta h2, .cta p { color: #fff; }
.cta p { opacity: .86; }
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: flex-start; justify-content: center; background: rgba(10,16,24,.58); overflow: auto; padding: 24px 12px; }
.modal.is-open { display: flex; }
.sheet { position: relative; width: min(760px,100%); background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.24); }
.close { position: absolute; right: 14px; top: 12px; border: 0; background: #fff; color: var(--navy); font-size: 30px; line-height: 1; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.field.full { grid-column: 1 / -1; }
textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; color: var(--muted); font-weight: 700; }
.consent input { width: auto; margin-top: 4px; }
.form-status { border-radius: 12px; margin-top: 12px; padding: 12px; font-weight: 800; }
.form-status.success { background: #edf7f0; color: #245f42; }
.form-status.error { background: #fff0ec; color: #8a3527; }
footer { background: #101d2b; color: rgba(255,255,255,.78); padding: 34px 24px; }
footer a { color: #fff; font-weight: 800; }
@media (max-width: 900px) {
  .site { align-items: flex-start; }
  .menu-toggle { display: block; }
  .primary { display: none; position: absolute; left: 0; right: 0; top: 74px; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px; }
  .primary.active { display: grid; }
  .container, .narrow, .wide-container { width: 100%; padding-inline: 24px; }
  .hero-grid, .designer-shell, .designer-shell.advanced-designer, .split, .grid, .grid.two { grid-template-columns: minmax(0, 1fr); }
  .hero-grid > *, .split > *, .grid > *, .pod-studio > * { min-width: 0; }
  .pod-studio { grid-template-columns: 1fr; border-radius: 18px; }
  .render-studio { grid-template-columns: 1fr; border-radius: 18px; }
  .render-controls { max-height: none; border-left: 0; border-top: 1px solid var(--line); }
  .render-preview, .render-preview img[data-render-preview] { min-height: 520px; }
  .studio-panel { max-height: none; overflow: visible; border-left: 0; border-top: 1px solid var(--line); }
  .studio-view { grid-template-rows: minmax(520px, auto) auto; }
  .studio-copy { position: relative; }
  .studio-media { min-height: 420px; margin-top: 0; }
  .studio-media img[data-studio-main], .studio-media img[data-render-preview] { min-height: 420px; }
  .studio-steps { display: flex; overflow-x: auto; padding: 14px 16px; scrollbar-width: none; }
  .studio-steps::-webkit-scrollbar { display: none; }
  .studio-steps li { flex: 0 0 150px; }
  .studio-tabs { overflow-x: auto; grid-template-columns: repeat(5, minmax(92px, 1fr)); }
  .option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card, .summary-grid { grid-template-columns: 1fr; }
  .designer-stage { min-height: 540px; }
  .pod-canvas { min-height: 440px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .section { padding: 54px 0; }
}

@media (max-width: 560px) {
  .site { padding-inline: 18px; }
  .hero { padding-top: 34px; }
  .hero-grid > div:first-child,
  .center,
  .section-sub {
    width: 342px;
    max-width: calc(100vw - 48px);
    overflow: hidden;
  }
  h1, h2, .lead { max-width: 342px; }
  h1 { font-size: 34px; line-height: 1.08; }
  h2 { font-size: 29px; }
  .lead, .section-sub { font-size: 16px; }
  .container, .narrow, .wide-container { padding-inline: 24px; }
  .actions .btn { flex: 1 1 100%; }
  .hero-media { border-radius: 14px; }
  .pod-studio { margin-inline: -12px; border-inline: 0; border-radius: 0; }
  .render-studio { margin-inline: -12px; border-inline: 0; border-radius: 0; }
  .render-preview, .render-preview img[data-render-preview] { min-height: 460px; }
  .render-overlay { left: 18px; top: 18px; width: calc(100% - 36px); }
  .render-overlay h3 { font-size: 32px; }
  .render-thumbs { left: 14px; right: 14px; bottom: 14px; }
  .render-thumbs button { flex-basis: 128px; }
  .render-thumbs img { height: 76px; }
  .studio-copy { padding: 22px; }
  .studio-copy h3 { font-size: 32px; }
  .studio-specs { gap: 10px; }
  .studio-specs span { min-width: calc(50% - 8px); }
  .studio-tools { left: 14px; bottom: 132px; }
  .studio-thumbs { left: 14px; right: 14px; bottom: 18px; }
  .studio-thumbs button { flex-basis: 128px; }
  .studio-thumbs img { height: 76px; }
  .selected-grid { grid-template-columns: 1fr; }
}
