:root {
  --color-primary: #3060D0;
  --color-on-primary: #FFFFFF;
  --color-accent: #B050D0;
  --color-on-accent: #FFFFFF;
  --color-surface: #101010;
  --color-surface-raised: #181818;
  --color-surface-sunken: #0C0C10;
  --color-text: #F5F6FA;
  --color-muted: #B5B7C5;
  --color-border: #30303A;
  --color-success: #16a34a;
  --color-warning: #d97706;
  --color-danger: #dc2626;
  --font-body: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --font-heading: var(--font-body);
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 20px;
  --text-2xl: 26px;
  --text-3xl: 34px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 28px;
  --space-7: 40px;
  --space-8: 56px;
  --shadow-sm: 0 1px 2px rgba(23, 35, 29, 0.08);
  --shadow-md: 0 4px 12px rgba(23, 35, 29, 0.12);
  --shadow-lg: 0 12px 28px rgba(23, 35, 29, 0.16);
}
*,:before,:after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; }
body { background: var(--color-surface); color: var(--color-text); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.2; margin: 0; }
a { color: var(--color-primary); text-decoration: none; }
.preview-root { min-height: 100vh; }
.preview-header { position: sticky; top: 0; z-index: 5; display:flex; align-items:center; justify-content:space-between; gap:var(--space-4); padding:var(--space-3) var(--space-6); background:var(--color-surface-raised); border-bottom:1px solid var(--color-border); box-shadow:var(--shadow-sm); }
.preview-header__brand { display:flex; align-items:center; gap:var(--space-3); font-weight:700; }
.preview-header__logo { width:36px; height:36px; border-radius:var(--radius-sm); background:var(--color-primary); color:var(--color-on-primary); display:grid; place-items:center; }
.preview-header__logo--image { width:40px; height:40px; object-fit:contain; background:#101010; border:1px solid var(--color-border); }
.preview-header__actions { display:flex; align-items:center; gap:var(--space-3); }
.preview-nav { display:flex; align-items:center; gap:var(--space-1); }
.preview-nav__link { color:var(--color-muted); font-size:var(--text-sm); font-weight:600; padding:var(--space-2) var(--space-3); border-radius:var(--radius-sm); }
.preview-nav__link--active { color:var(--color-primary); background:color-mix(in srgb,var(--color-primary) 10%,transparent); }
.preview-main { max-width:1120px; margin:0 auto; padding:var(--space-7) var(--space-6); display:flex; flex-direction:column; gap:var(--space-7); }
.preview-hero { padding:var(--space-7); border-radius:var(--radius-md); background:linear-gradient(135deg,var(--color-primary),var(--color-accent)); color:white; display:grid; grid-template-columns:1.35fr .65fr; gap:var(--space-6); align-items:center; box-shadow:var(--shadow-md); }
.preview-hero--landscape { min-height:min(620px,78vh); grid-template-columns:1fr; position:relative; overflow:hidden; isolation:isolate; background:linear-gradient(135deg,#101010 0%,#101010 58%,#3060D0 58%,#3060D0 76%,#B050D0 76%,#B050D0 100%); }
.preview-hero--landscape > div:first-child { max-width:680px; position:relative; z-index:2; }
.preview-hero--landscape .preview-hero__visual { position:absolute; inset:0 0 0 auto; width:58%; min-height:100%; height:100%; border:0; border-radius:0; background:transparent; z-index:1; }
.preview-hero--landscape .preview-hero__logo { width:min(820px,100%); height:100%; max-height:620px; object-fit:contain; filter:drop-shadow(0 24px 42px rgba(0,0,0,.38)); }
.preview-hero--landscape .preview-hero__title { max-width:12ch; font-size:clamp(42px,6vw,72px); }
.preview-hero--landscape .preview-hero__subtitle { max-width:48ch; font-size:18px; }
.preview-hero--landscape::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(16,16,16,.96) 0%,rgba(16,16,16,.78) 34%,transparent 72%); pointer-events:none; }
.preview-hero__eyebrow { text-transform:uppercase; letter-spacing:.08em; font-size:var(--text-xs); font-weight:700; opacity:.85; }
.preview-hero__title { font-size:var(--text-3xl); max-width:16ch; }
.preview-hero__subtitle { max-width:52ch; opacity:.92; }
.preview-hero__actions { display:flex; gap:var(--space-3); margin-top:var(--space-3); flex-wrap:wrap; }
.preview-hero__visual { min-height:220px; border:1px solid rgba(255,255,255,.24); border-radius:var(--radius-md); background:#101010; display:grid; place-items:center; overflow:hidden; }
.preview-hero__logo { width:100%; height:220px; object-fit:contain; }
.preview-section-title { display:flex; align-items:baseline; justify-content:space-between; gap:var(--space-3); }
.preview-section-title__h { font-size:var(--text-xl); }
.preview-section-title__hint { color:var(--color-muted); font-size:var(--text-xs); }
.preview-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--space-4); }
.preview-card { background:var(--color-surface-raised); border:1px solid var(--color-border); border-radius:var(--radius-md); padding:var(--space-5); box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:var(--space-3); transition:transform 160ms ease,box-shadow 160ms ease,border-color 160ms ease; }
.preview-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:color-mix(in srgb,var(--color-primary) 30%,var(--color-border)); }
.preview-card__title { font-size:var(--text-lg); font-weight:700; }
.preview-card__body { color:var(--color-muted); margin:0; }
.preview-card__icon { width:38px; height:38px; border-radius:var(--radius-sm); background:color-mix(in srgb,var(--color-primary) 12%,transparent); color:var(--color-primary); display:grid; place-items:center; }
.preview-card__meta { display:flex; gap:var(--space-2); align-items:center; color:var(--color-muted); font-size:var(--text-xs); }
.preview-badge { display:inline-flex; align-items:center; gap:var(--space-1); padding:2px var(--space-2); border-radius:var(--radius-pill); font-size:var(--text-xs); font-weight:700; background:color-mix(in srgb,var(--color-primary) 12%,transparent); color:var(--color-primary); }
.preview-badge__dot { width:6px; height:6px; border-radius:50%; background:currentColor; }
.preview-btn { padding:var(--space-2) var(--space-4); border-radius:var(--radius-sm); border:1px solid transparent; font:inherit; font-weight:700; font-size:var(--text-sm); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:var(--space-2); line-height:1.2; transition:transform 120ms ease,box-shadow 120ms ease; }
.preview-btn:hover { transform:translateY(-1px); }
.preview-btn:focus-visible { outline:none; box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary) 30%,transparent); }
.preview-btn--primary { background:var(--color-primary); color:var(--color-on-primary); box-shadow:var(--shadow-sm); }
.preview-btn--secondary { background:var(--color-surface-raised); color:var(--color-text); border-color:var(--color-border); }
.preview-btn--ghost { background:transparent; color:white; border-color:rgba(255,255,255,.38); }
.preview-two-column { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-5); }
.preview-card-list { display:flex; flex-direction:column; gap:var(--space-3); }
.preview-list-row { display:flex; align-items:flex-start; gap:var(--space-3); background:var(--color-surface-raised); border:1px solid var(--color-border); border-radius:var(--radius-md); padding:var(--space-4); }
.preview-list-row__icon { width:28px; height:28px; flex:none; color:var(--color-primary); }
.preview-form { display:flex; flex-direction:column; gap:var(--space-4); background:var(--color-surface-raised); border:1px solid var(--color-border); border-radius:var(--radius-md); padding:var(--space-5); box-shadow:var(--shadow-sm); }
.preview-form__field { display:flex; flex-direction:column; gap:var(--space-1); }
.preview-form__label { font-size:var(--text-sm); font-weight:700; }
.preview-form__input,.preview-form__textarea,.preview-form__select { width:100%; padding:var(--space-2) var(--space-3); border:1px solid var(--color-border); border-radius:var(--radius-sm); font:inherit; background:var(--color-surface); color:var(--color-text); }
.preview-form__textarea { min-height:84px; resize:vertical; }
.preview-form__actions { display:flex; justify-content:flex-end; }
.preview-action-bar { display:flex; justify-content:flex-end; gap:var(--space-2); border-top:1px solid var(--color-border); padding-top:var(--space-3); }
.preview-footer { border-top:1px solid var(--color-border); padding:var(--space-5) var(--space-6); display:flex; justify-content:space-between; color:var(--color-muted); font-size:var(--text-xs); }
.preview-icon { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
@media(max-width:760px){.preview-header{padding:var(--space-3) var(--space-4)}.preview-nav{display:none}.preview-main{padding:var(--space-5) var(--space-4);gap:var(--space-6)}.preview-hero{grid-template-columns:1fr;padding:var(--space-5)}.preview-hero__visual{min-height:160px}.preview-card-grid,.preview-two-column{grid-template-columns:1fr}.preview-footer{gap:var(--space-3);flex-direction:column}}
.scroll-reveal { animation:section-reveal linear both; animation-timeline:view(); animation-range:entry 8% cover 28%; }
.preview-card { animation:card-reveal linear both; animation-timeline:view(); animation-range:entry 8% cover 24%; }
.preview-card:nth-child(2){animation-delay:.08s}.preview-card:nth-child(3){animation-delay:.16s}
.preview-hero--landscape .preview-hero__logo { animation:logo-drift linear both; animation-timeline:view(); animation-range:exit 0% exit 55%; }
@keyframes section-reveal { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes card-reveal { from{opacity:0;transform:translateY(18px) scale(.98)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes logo-drift { from{transform:scale(1) translateX(0)} to{transform:scale(.92) translateX(24px)} }
@media(max-width:760px){.preview-hero--landscape{min-height:680px;padding:var(--space-5);align-items:start}.preview-hero--landscape>div:first-child{margin-top:auto}.preview-hero--landscape .preview-hero__visual{position:absolute;inset:0 0 auto;width:100%;height:310px}.preview-hero--landscape .preview-hero__logo{height:310px}.preview-hero--landscape .preview-hero__title{font-size:38px}.preview-hero--landscape::after{background:linear-gradient(180deg,transparent 20%,rgba(16,16,16,.96) 72%,#101010 100%)}}
@media(prefers-reduced-motion:reduce){.scroll-reveal,.preview-card,.preview-hero--landscape .preview-hero__logo{animation:none}}
@media(prefers-reduced-motion:reduce){.preview-card,.preview-btn{transition:none}.preview-card:hover,.preview-btn:hover{transform:none}}
