/* Hallmark · shape: app screen · genre: playful · theme: WeYouAds (live reference 2026-11-14) · surface: absolute · redesign: restyle · signature: navy, orange geometric shapes and two tactile creation choices · states: existing native controls preserved */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4 · weakest: E, restrained motion keeps forms readable and reduced-motion remains instant */
/* Hallmark · waive 7b · verified WeYouAds white surfaces · the user's reference pairs white forms and header with pale-blue and peach choice cards; retaining white preserves that brand balance and field contrast */
:root {
  --color-paper: #f6f8fc;
  --color-paper-3: #edf4ff;
  --color-ink: #0f2c5c;
  --color-ink-2: #314d73;
  --color-muted: #576b84;
  --color-rule: #dbe4ef;
  --color-field-rule: #7489a3;
  --color-orange: #ff8a3d;
  --color-orange-hover: #ff9d5c;
  --color-orange-tint: #fff2e8;
  --color-blue-tint: #e8f1ff;
  --color-navy-tint: #d9e6f6;
  --color-grid: #0f2c5c08;
  --color-shadow: #0f2c5c12;
  --color-shadow-raised: #0f2c5c20;
  --color-shape-line: #0f2c5c24;
  --radius-card: 20px;
  --radius-control: 12px;
  --dur-long: 420ms;
  --ease-out: cubic-bezier(.23,1,.32,1);
}
body { background: var(--color-paper); }
.site-header { border-bottom-color: var(--color-rule); }
.wordmark { color: var(--color-ink); letter-spacing: -.045em; }
.wordmark::after { content: ""; width: 10px; height: 10px; margin-inline-start: var(--space-2xs); background: var(--color-orange); border-radius: 3px; transform: rotate(-12deg); }
.mobile-navigation > summary { border: 1px solid var(--color-rule); border-radius: var(--radius-control); background: var(--color-paper-2); }
.simulation-strip { background: var(--color-orange-tint); }
.home-intro { display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: center; gap: var(--space-xl); min-height: 220px; margin-bottom: var(--space-lg); position: relative; }
.home-intro .home-heading { margin: 0; position: relative; z-index: var(--z-base); }
.home-heading h1 { max-width: 18ch; font-size: clamp(2.2rem,3.5vw,3.4rem); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.home-heading p { max-width: 48ch; }
.home-art { position: relative; width: 280px; height: 200px; pointer-events: none; }
.home-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--color-grid) 1px,var(--color-transparent) 1px),linear-gradient(90deg,var(--color-grid) 1px,var(--color-transparent) 1px); background-size: 24px 24px; border-radius: var(--radius-card); }
.home-art > span { position: absolute; display: grid; place-items: center; }
.shape-disc { width: 138px; height: 138px; top: 30px; left: 10px; border: 28px solid var(--color-brand); border-radius: var(--radius-pill); }
.shape-frame { width: 108px; height: 108px; top: 4px; right: 12px; border: 2px solid var(--color-shape-line); border-radius: var(--radius-card); transform: rotate(12deg); }
.shape-tile { width: 112px; height: 112px; bottom: 8px; right: 36px; color: var(--color-ink); background: var(--color-orange); border-radius: 28px 28px 28px 8px; transform: rotate(-9deg); box-shadow: 0 12px 32px var(--color-shadow-raised); }
.shape-disc > svg { width: 36px; height: 36px; color: var(--color-ink); }
.shape-tile > svg { width: 44px; height: 44px; }
.creation-choice { position: relative; overflow: clip; border: 1px solid var(--color-rule); isolation: isolate; background: var(--color-blue-tint); box-shadow: 0 4px 0 var(--color-navy-tint); }
.creation-choices form:nth-child(2) .creation-choice { background: var(--color-orange-tint); box-shadow: 0 4px 0 color-mix(in srgb,var(--color-orange) 32%,var(--color-paper-2)); }
.creation-choice::after { content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; inset-inline-end: -70px; bottom: -90px; border: 24px solid color-mix(in srgb,var(--color-brand) 10%,var(--color-transparent)); border-radius: var(--radius-pill); pointer-events: none; }
.creation-choices form:nth-child(2) .creation-choice::after { border-color: color-mix(in srgb,var(--color-orange) 25%,var(--color-transparent)); border-radius: var(--radius-card); transform: rotate(20deg); }
.choice-top > svg:first-child { width: 64px; height: 64px; padding: var(--space-sm); color: var(--color-paper-2); background: var(--color-accent); border-radius: var(--radius-card); }
.creation-choices form:nth-child(2) .choice-top > svg:first-child { color: var(--color-ink); background: var(--color-orange); border-radius: 20px 20px 20px 6px; }
.choice-top > svg:last-child { color: var(--color-ink); }
.choice-title { font-size: var(--text-2xl); color: var(--color-ink); }
.choice-description { color: var(--color-ink-2); }
.choice-bottom { font-weight: 600; }
.button.primary { color: var(--color-ink); background: var(--color-orange); border-color: var(--color-orange); box-shadow: 0 3px 0 color-mix(in srgb,var(--color-orange) 70%,var(--color-ink)); }
.button.primary:hover { color: var(--color-ink); background: var(--color-orange-hover); border-color: var(--color-orange-hover); }
.button:disabled, .button.primary:disabled { color: var(--color-muted); background: var(--color-paper); border-color: var(--color-rule); box-shadow: none; }
.button.quiet { box-shadow: none; }
.panel, .work-surface, .draft-list, .connection-list { box-shadow: 0 6px 24px var(--color-shadow); }
.channel-option { border-color: var(--color-rule); }
.channel-icon { border-radius: var(--radius-control); background: var(--color-paper); padding: var(--space-sm); }
.channel-option:has(input:checked) { background: var(--color-blue-tint); border-color: var(--color-accent); box-shadow: inset 3px 0 0 var(--color-accent); }
.channel-option:has(input:checked) .channel-icon { background: var(--color-paper-2); }
.step-indicator li[aria-current] .step-number { color: var(--color-ink); background: var(--color-orange); border-color: var(--color-orange); box-shadow: 0 3px 0 var(--color-shadow-raised); }
.summary-disclosure { background: var(--color-blue-tint); }
.summary-disclosure > summary { color: var(--color-ink); }
.projection { border-radius: var(--radius-control); }
.image-thumb { background: var(--color-blue-tint); }
.ui-dialog:not(.menu-drawer) { box-shadow: 0 20px 64px var(--color-shadow-raised); }
.menu-drawer { border-inline-start: 1px solid var(--color-rule); }
.menu-drawer .dialog-heading { padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.menu-drawer nav a[aria-current] { color: var(--color-ink); background: var(--color-orange-tint); }
.analytics-kpi:nth-child(1) { border-top: 4px solid var(--color-brand); }
.analytics-kpi:nth-child(2) { border-top: 4px solid var(--color-orange); }
.analytics-kpi:nth-child(3) { border-top: 4px solid var(--color-ink); }
.analytics-kpi:nth-child(4) { border-top: 4px solid var(--color-rule); }
.analytics-kpi > div > svg { box-sizing: content-box; width: 20px; height: 20px; padding: var(--space-xs); border-radius: var(--radius-control); background: var(--color-blue-tint); }
.analytics-kpi:nth-child(2) > div > svg { color: var(--color-ink); background: var(--color-orange-tint); }
.analytics-forecast { border-top: 4px solid var(--color-orange); }
.analytics-period-tag { color: var(--color-ink); background: var(--color-blue-tint); }
.analytics-forecast .analytics-period-tag { background: var(--color-orange-tint); }
@media (prefers-reduced-motion: no-preference) {
  .creation-choice, .button, .channel-option, .mobile-navigation > summary, .menu-drawer nav a { transition: transform var(--dur-short) var(--ease-out); }
  .choice-top > svg { transition: transform var(--dur-short) var(--ease-out); }
  .home-heading { animation: brand-arrive var(--dur-long) var(--ease-out); }
  .home-art > span { animation: shape-arrive var(--dur-long) var(--ease-out); }
  .home-art .shape-tile { animation-name: tile-arrive; }
  .home-art .shape-frame { animation-name: frame-arrive; }
  .work-surface { animation: brand-arrive var(--dur-short) var(--ease-out); }
  .creation-choice:focus-visible { transform: translateY(-3px); }
  .creation-choice:active, .button:active { transform: translateY(2px); }
  @media (hover:hover) {
    .creation-choice:hover { transform: translateY(-4px); background: var(--color-blue-tint); }
    .creation-choices form:nth-child(2) .creation-choice:hover { background: var(--color-orange-tint); }
    .creation-choice:hover .choice-top > svg:first-child { transform: rotate(-5deg); }
    .creation-choice:hover .choice-top > svg:last-child { transform: translateX(4px); }
    .button:hover { transform: translateY(-2px); }
    .button:disabled:hover { transform: none; }
    .menu-drawer nav a:hover { transform: translateX(3px); background: var(--color-blue-tint); }
  }
}
@keyframes brand-arrive { from { opacity: .7; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes shape-arrive { from { opacity: .4; transform: translateY(12px) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes tile-arrive { from { opacity: .4; transform: translateY(14px) rotate(-17deg); } to { opacity: 1; transform: rotate(-9deg); } }
@keyframes frame-arrive { from { opacity: .4; transform: translateY(-10px) rotate(20deg); } to { opacity: 1; transform: rotate(12deg); } }
@media (prefers-reduced-motion: reduce) { .creation-choice, .button, .channel-option, .mobile-navigation > summary, .menu-drawer nav a, .choice-top > svg { transition: none; } .home-heading, .home-art > span, .work-surface { animation: none; } }
@media (max-width: 52rem) {
  .home-intro { grid-template-columns: minmax(0,1fr) 150px; min-height: 180px; gap: var(--space-md); }
  .home-art { width: 150px; height: 150px; }
  .shape-disc { width: 100px; height: 100px; border-width: 20px; top: 20px; left: 0; }
  .shape-frame { width: 78px; height: 78px; top: 0; right: 0; }
  .shape-tile { width: 80px; height: 80px; right: 6px; bottom: 0; border-radius: 20px 20px 20px 6px; }
  .shape-tile > svg { width: 30px; height: 30px; }
  .shape-disc > svg { width: 28px; height: 28px; }
  .choice-top > svg:first-child { width: 52px; height: 52px; }
  .analytics-kpi > div > svg { width: 18px; height: 18px; padding: var(--space-2xs); }
}
@media (max-width: 36rem) {
  .home-intro { display: block; min-height: 0; padding-top: var(--space-xs); margin-bottom: var(--space-lg); }
  .home-heading h1 { max-width: calc(100% - 84px); font-size: 2rem; line-height: 1.08; }
  .home-heading p { font-size: var(--text-sm); }
  .home-art { position: absolute; inset-inline-end: 0; top: var(--space-xs); width: 74px; height: 74px; }
  .home-art::before, .home-art .shape-frame { display: none; }
  .shape-disc { width: 60px; height: 60px; border-width: 12px; top: 0; left: 0; }
  .shape-disc > svg { display: none; }
  .shape-tile { width: 44px; height: 44px; right: 0; bottom: 0; border-radius: 12px 12px 12px 4px; }
  .shape-tile > svg { width: 20px; height: 20px; }
  .creation-choice { padding: var(--space-lg); }
  .choice-top { margin-bottom: var(--space-md); }
  .choice-title { font-size: var(--text-xl); }
}
