* { box-sizing: border-box }
:root {
  color-scheme: light;
  --canvas: #f8f8fa;
  --surface: #fff;
  --text: #1b1b22;
  --muted: #62626e;
  --line: #e3e3ea;
  --violet: #5449a4;
  --focus: #4e46ac;
  --hero-wash: #eeebfa;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--canvas);
  color: var(--text);
}
body { margin: 0; background: radial-gradient(ellipse at 88% 18%,var(--hero-wash),transparent 52%) }
header,main,footer { width: min(1230px,92%); margin: auto }
header,footer,.actions,.brand { display: flex; align-items: center; gap: 14px }
header,footer { justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--line) }
a { color: var(--violet); text-underline-offset: .25em }
.brand { font-size: 24px; font-weight: 740; text-decoration: none; color: inherit; letter-spacing: -.05em }
.experiment { text-align: right; font-size: .76rem; font-weight: 500; letter-spacing: .02em; line-height: 1.3; color: var(--violet) }
footer { flex-wrap: wrap }
footer details { position: relative; margin-left: auto } summary { cursor: pointer; padding: 6px 14px }
nav { position: absolute; z-index: 2; right: 0; bottom: 100%; padding: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 24px #19192d14; border-radius: 10px; min-width: 135px }
nav a { display: block; padding: 6px 12px }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 4%; padding: clamp(48px,7vw,110px) 0 45px }
.eyebrow { font-size: .84rem; letter-spacing: .035em; color: var(--violet) }
h1,h2 { line-height: 1.06; text-wrap: balance; letter-spacing: -.055em }
h1 { font-size: clamp(3.2rem,6vw,6rem); margin: 18px 0 22px }
h2 { font-size: clamp(1.45rem,3vw,2.4rem); margin: 0 }
p { color: var(--muted); max-width: 66ch } .lead { font-size: 1.15rem }
.actions { flex-wrap: wrap; margin-top: 24px } .actions span { font-size: .85rem; color: var(--muted) }
.cta { background: var(--violet); color: var(--surface); font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 9px }
figure { margin: 0 } figure img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 18px 50px #19192d12 }
footer { border-bottom: 0; border-top: 1px solid var(--line); font-size: .9rem }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px }
@media(max-width: 760px) { .hero { grid-template-columns: 1fr; gap: 32px } .hero { padding-top: 36px } }

.features { padding: 32px 0 16px; border-top: 1px solid var(--line) }
.features h2 { margin-bottom: 22px }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px,3vw,44px) }
.feature-grid article { min-width: 0 }
.features h3 { font-size: clamp(1.2rem,2.2vw,1.65rem); letter-spacing: -.035em; line-height: 1.18; margin: 16px 0 6px }
.timeline-preview { margin-block: 28px 16px }
.timeline-preview img { background: #171719 }
.feature-grid p { margin: 0 0 20px; max-width: 48ch }
.art { display: grid; place-items: center; overflow: hidden; height: clamp(150px,18vw,225px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(125deg,#f4f4f7,#eeebfa) }
.projects img { width: min(78%,385px); border-radius: 12px; box-shadow: 0 6px 20px #24203812 }
.activity img { width: 88%; border-radius: 9px }
.devices { position: relative; background: linear-gradient(145deg,#eeebfa,#e2ddf5) }
.devices .tv-screen { width: min(64%,330px); aspect-ratio: 16/9; object-fit: cover; object-position: top; border: 5px solid #292833; border-radius: 6px; transform: translateX(-6%); box-shadow: 0 6px 18px #201e381c }
.devices .phone-screen { position: absolute; right: 12%; bottom: 8%; width: min(15%,65px); border: 3px solid #292833; border-radius: 9px; box-shadow: 0 4px 10px #201e3820 }
.alerts { background: linear-gradient(145deg,#eeeafa,#e5e1f3) }
.notification { width: min(83%,350px); padding: 16px; display: flex; align-items: center; gap: 12px; background: #fffffff5; border: 1px solid #dedbe7; border-radius: 17px; box-shadow: 0 8px 20px #27243c12; line-height: 1.35 }
.notification small,.notification strong,.notification span { display: block }
.notification small { color: var(--muted); font-size: .75rem }
.notification span { font-size: .85rem }
@media(max-width:620px) { .feature-grid { grid-template-columns: 1fr; gap: 6px } .art { height: 168px } }

.preview .dark-preview, .preview:has(.dark-choice:checked) img:first-child { display: none }
.preview:has(.dark-choice:checked) .dark-preview { display: block }
.appearance { display: flex; width: fit-content; gap: 12px; margin: 10px 0 0 auto; padding: 0; border: 0; color: var(--muted); font-size: .84rem }
.appearance legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.appearance label { display: flex; align-items: center; gap: 4px; padding-block: 4px; cursor: pointer }
.appearance input { accent-color: var(--violet); margin: 0 }


main.legal { max-width: 48rem; padding: 3rem 0 }
.legal h1 { font-size: clamp(2rem, 6vw, 3.6rem); max-width: none }
.legal h2 { font-size: 1.4rem; margin-top: 2rem }

.local-info { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; padding: clamp(28px,5vw,60px); margin-block: 18px 42px; background: var(--hero-wash); border-radius: 18px }
.local-info p { margin-bottom: 0 }
.specs details + details { border-top: 1px solid #d5d0e6 }
.specs summary,.sharing-details summary { color: var(--violet); padding: 10px 0; font-weight: 600 }
.specs details[open] { padding-bottom: 14px }
.sharing-details p { margin: 0 0 12px }
.site-footer { display: block }
.contribute,.footer-links,.contribute-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px }
.contribute { justify-content: space-between; padding: 4px 0 24px; border-bottom: 1px solid var(--line) }
.contribute h2 { font-size: 1.25rem; letter-spacing: -.025em }
.footer-links { padding-top: 18px }
@media(max-width:760px) { .local-info { grid-template-columns: 1fr; gap: 14px } }

.skip-link {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 4%;
  padding: 10px 16px;
  background: var(--surface);
}
.skip-link:not(:focus) { clip-path: inset(50%); }
.hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 60px); }
.hero .local { margin: 10px 0 0; font-size: .9rem; }
.hero .local a,.local-info a,.footer-links a,.contribute-links a { display: inline-flex; align-items: center; min-height: 44px; }
.preview > a { display: block; border-radius: 12px; }
.feature-grid article { display: grid; grid-template-rows: auto auto 1fr; align-content: start; }
.feature-grid h3 { margin-top: 0; }
.feature-grid p { margin-bottom: 16px; }
.art { align-self: start; }
.pro-features .feature-grid { align-items: start; }
.pro-features h2 { margin-bottom: 6px; }
.pro-features > p { margin-top: 0; }
.local-info a { margin-top: 4px; }
.appearance label { min-height: 44px; }

@media (min-width: 1024px) {
  .hero { min-height: min(740px, calc(100svh - 86px)); }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .feature-grid { gap: 26px; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: hero-enter .45s ease-out both; }
  .cta,.preview > a { transition: transform .16s ease, box-shadow .16s ease; }
  .cta:hover,.preview > a:hover { transform: translateY(-2px); }
  .cta:active { transform: translateY(1px); }
}
@keyframes hero-enter {
  from { opacity: .6; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 621px) {
  .feature-grid { row-gap: 0; }
  .feature-grid article {
    grid-row: span 4;
    grid-template-rows: subgrid;
  }
}
