:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --background: 40 33% 98%;
  --foreground: 28 18% 14%;
  --card: 0 0% 100%;
  --card-foreground: 28 18% 14%;
  --popover: 0 0% 100%;
  --popover-foreground: 28 18% 14%;
  --primary: 24 24% 28%;
  --primary-foreground: 36 38% 96%;
  --secondary: 35 30% 91%;
  --secondary-foreground: 28 18% 18%;
  --muted: 35 22% 92%;
  --muted-foreground: 26 10% 42%;
  --accent: 18 31% 86%;
  --accent-foreground: 24 24% 22%;
  --destructive: 0 72% 44%;
  --destructive-foreground: 0 0% 100%;
  --success: 145 45% 32%;
  --success-foreground: 0 0% 100%;
  --warning: 39 82% 42%;
  --warning-foreground: 30 22% 12%;
  --info: 210 55% 38%;
  --info-foreground: 0 0% 100%;
  --border: 34 18% 84%;
  --input: 34 18% 78%;
  --ring: 24 24% 28%;
  --radius: 0.625rem;
  --shadow-sm: 0 1px 2px hsl(var(--foreground) / 0.05);
  --shadow-md: 0 4px 12px hsl(var(--foreground) / 0.08);
  --shadow-lg: 0 12px 32px hsl(var(--foreground) / 0.12);
  --shadow-elegant: 0 18px 60px hsl(var(--foreground) / 0.14);
  --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1);
  --transition: 200ms cubic-bezier(0.4,0,0.2,1);
  --transition-smooth: 300ms cubic-bezier(0.4,0,0.2,1);
}
.dark {
  --background: 30 12% 9%;
  --foreground: 36 30% 92%;
  --card: 30 11% 13%;
  --card-foreground: 36 30% 92%;
  --popover: 30 11% 13%;
  --popover-foreground: 36 30% 92%;
  --primary: 36 38% 88%;
  --primary-foreground: 28 18% 14%;
  --secondary: 28 10% 20%;
  --secondary-foreground: 36 30% 92%;
  --muted: 28 10% 18%;
  --muted-foreground: 35 12% 68%;
  --accent: 24 18% 24%;
  --accent-foreground: 36 30% 92%;
  --destructive: 0 72% 55%;
  --destructive-foreground: 0 0% 100%;
  --success: 145 44% 42%;
  --success-foreground: 0 0% 100%;
  --warning: 39 82% 52%;
  --warning-foreground: 30 22% 12%;
  --info: 210 55% 58%;
  --info-foreground: 30 12% 9%;
  --border: 30 10% 24%;
  --input: 30 10% 30%;
  --ring: 36 38% 88%;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100%; font-family: var(--font-sans); font-size: 16px; line-height: 1.5; background: hsl(var(--background)); color: hsl(var(--foreground)); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
input, textarea, select { width: 100%; min-height: 44px; border: 1px solid hsl(var(--input)); border-radius: calc(var(--radius) - 2px); padding: 0.75rem 1rem; background: hsl(var(--card)); color: hsl(var(--foreground)); font-size: max(16px, 1rem); }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
label { display: grid; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: hsl(var(--foreground)); }
.shell { width: min(100% - 2rem, 80rem); margin-inline: auto; }
.section { padding-block: 3rem; }
.eyebrow { margin: 0; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: 0.08em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 8vw, 4rem); }
h2 { font-size: clamp(1.875rem, 5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 1px solid transparent; border-radius: calc(var(--radius) - 2px); padding: 0.75rem 1rem; font-weight: 500; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-secondary { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); border-color: hsl(var(--border)); }
.btn-danger { background: hsl(var(--destructive)); color: hsl(var(--destructive-foreground)); }
.btn.full { width: 100%; }
.btn.small { min-height: 44px; padding-inline: 1rem; }
.toast-region { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 50; display: grid; gap: 0.5rem; }
.toast { max-width: 22rem; padding: 1rem; border-radius: var(--radius); background: hsl(var(--popover)); color: hsl(var(--popover-foreground)); border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-md); }
.toast.success { border-color: hsl(var(--success) / 0.35); }
.toast.error { border-color: hsl(var(--destructive) / 0.45); }
.notice, .form-feedback { color: hsl(var(--muted-foreground)); font-size: 0.875rem; line-height: 1.25rem; }
.notice { padding: 1rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card)); }
@media (min-width: 640px) { .shell { width: min(100% - 3rem, 80rem); } .section { padding-block: 4rem; } }
@media (min-width: 1024px) { .section { padding-block: 6rem; } }