/* Allora Terra site. One family (DM Sans), one blue, one pearl for memory markers.
   The header's rules live in header.css and read the tokens below; keep those values stable. */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/dm-sans-400.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/dm-sans-500.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0c1822; --surface: rgba(24,43,57,.8); --surface-solid: #192d3b;
  --text: #edf7ff; --muted: #aec2d0; --accent: #70b8ff; --accent-soft: #183d5c;
  --border: rgba(173,210,233,.17); --shadow: 0 24px 70px rgba(0,0,0,.22); --stage: #16374d; --nav: rgba(22,42,56,.84);
  --space-top: #0c1822; --space-bottom: #050a10;
  --ink-soft: #c5d6e3; --pearl: #9fe9da; --pearl-glow: rgba(159,233,218,.45);
  --line: rgba(173,210,233,.14); --panel: rgba(16,30,42,.55);
  --btn: #0a6fe0; --btn-hover: #1d82f4; --btn-text: #fff;
  --device: #0b0f14; --device-edge: rgba(255,255,255,.14);
  --sel: rgba(112,184,255,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh;
  background: linear-gradient(180deg, var(--space-top), var(--space-bottom)) fixed;
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sel); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); background: var(--surface-solid); color: var(--text); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.06em; font-size: 21px; white-space: nowrap; }
.brand-logo { width: auto; height: 34px; }
.brand-name { font-size: 16px; letter-spacing: -.01em; }

/* Starry sky behind the whole page; the header's blur reads it too. */
.sky { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.page-shell { position: relative; z-index: 1; }
main { overflow-x: clip; }

/* Type */
h1, h2, h3, p, ul, ol, dl { margin: 0; }
h1 { font-size: clamp(44px, 4.9vw, 72px); font-weight: 700; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
h1 .line { display: block; }
h2 { font-size: clamp(34px, 3.8vw, 56px); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; max-width: 16ch; }
h3 { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.lead { color: var(--ink-soft); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; max-width: 56ch; text-wrap: pretty; }
p { text-wrap: pretty; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 22px;
  border-radius: 12px; background: var(--btn); color: var(--btn-text); font-weight: 600; font-size: 15px;
  border: 1px solid rgba(125,211,252,.28);
  box-shadow: 0 10px 24px rgba(8,120,239,.22), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .09s; }
.btn .arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link, .link-arrow { position: relative; font-weight: 500; color: var(--text); }
.link::after, .link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; opacity: .35; transition: transform .18s var(--ease), opacity .18s var(--ease); }
.link:hover::after, .link-arrow:hover::after { transform: scaleX(1); opacity: 1; }
.link { color: var(--accent); }
:root { --ease: cubic-bezier(.2,.8,.2,1); --ease-enter: cubic-bezier(.22,1,.36,1); }

/* Sections: one idea per screen, the heading first. */
.section { padding-block: clamp(88px, 11vh, 140px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(44px, 6vh, 72px); }
.section-head .lead { justify-self: start; }
.section-note { margin-top: clamp(40px, 5vh, 64px); max-width: 64ch; color: var(--muted); font-size: 16px; line-height: 1.6; padding-top: 28px; border-top: 1px solid var(--line); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.split-reverse .split-text { order: 2; }
.split-reverse .split-visual { order: 1; }
.split-text > * + * { margin-top: 22px; }
.split-text h2 + .lead { margin-top: 20px; }

/* Hero */
.hero { position: relative; min-height: 100svh; margin-top: -100px; padding-top: 100px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 24px clamp(24px, 4vw, 64px); padding-block: 48px 40px; }
.hero-text { position: relative; z-index: 2; max-width: 560px; }
.hero-lead { margin-top: 26px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; }
.hero-fact { margin-top: 36px; color: var(--muted); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }

.hero-stage { position: relative; display: grid; justify-items: center; gap: 14px; }
.globe-frame { position: relative; width: min(120%, 800px, 90vh); aspect-ratio: 1; touch-action: pan-y; }
.globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; opacity: 0; transition: opacity .9s var(--ease-enter); }
.globe.is-ready { opacity: 1; }
.globe.is-dragging { cursor: grabbing; }
.globe-fallback { position: absolute; inset: 7%; width: 86%; height: 86%; border-radius: 50%; opacity: 0; pointer-events: none; filter: brightness(.55) saturate(.8); }
.hero-stage.no-webgl .globe { display: none; }
.hero-stage.no-webgl .globe-fallback { opacity: .95; }
.hero-stage.no-webgl .markers, .hero-stage.no-webgl .globe-hint { display: none; }

.markers { position: absolute; inset: 0; pointer-events: none; }
.marker {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; padding: 0; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #fff 0%, var(--pearl) 45%, color-mix(in srgb, var(--pearl) 55%, #0a3a4f) 100%);
  box-shadow: 0 0 0 2px rgba(255,255,255,.35), 0 0 14px 2px var(--pearl-glow);
  cursor: pointer; pointer-events: auto; opacity: 0; transform: scale(.4); will-change: transform, opacity;
  transition: opacity .25s var(--ease), box-shadow .2s var(--ease);
}
.marker.is-front { opacity: 1; }
.marker::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--pearl); opacity: 0; transform: scale(.6); transition: transform .3s var(--ease-enter), opacity .3s var(--ease); }
.marker:hover::after, .marker:focus-visible::after, .marker.is-active::after { opacity: .7; transform: scale(1); }
.marker:hover, .marker:focus-visible { box-shadow: 0 0 0 2px rgba(255,255,255,.55), 0 0 22px 4px var(--pearl-glow); }
.marker:focus-visible { outline-offset: 10px; }
.globe-tip {
  position: absolute; left: 0; top: 0; z-index: 3; display: grid; gap: 1px; padding: 8px 12px; border-radius: 10px;
  background: var(--surface-solid); color: var(--text); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(5,20,31,.25);
  font-size: 13px; line-height: 1.3; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 16px)) scale(.96);
  transition: opacity .15s var(--ease), transform .15s var(--ease);
}
.globe-tip strong { font-weight: 600; }
.globe-tip span { color: var(--muted); font-variant-numeric: tabular-nums; }
.globe-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 16px)) scale(1); }
.globe-hint { color: var(--muted); font-size: 13px; font-weight: 500; transition: opacity .5s var(--ease); }
.globe-hint.is-hidden { opacity: 0; }

/* Hero entrance: lines rise once, then the rest fades up. Without script or under reduced motion the hero stands. */
html.enter:not(.enter-done) [data-enter-lines] .word { opacity: 0; transform: translateY(1.1em); }
[data-enter-lines] .word { display: inline-block; transition: transform .7s var(--ease-enter), opacity .5s var(--ease-enter); }
html.enter .hero-lead, html.enter .hero-actions, html.enter .hero-fact { opacity: 0; transform: translateY(12px); }
html.enter .hero-lead { transition: opacity .52s var(--ease-enter) .45s, transform .52s var(--ease-enter) .45s; }
html.enter .hero-actions { transition: opacity .52s var(--ease-enter) .52s, transform .52s var(--ease-enter) .52s; }
html.enter .hero-fact { transition: opacity .52s var(--ease-enter) .6s, transform .52s var(--ease-enter) .6s; }
html.enter-done .hero-lead, html.enter-done .hero-actions, html.enter-done .hero-fact, html.enter.is-entered .hero-lead, html.enter.is-entered .hero-actions, html.enter.is-entered .hero-fact { opacity: 1; transform: none; }
html.enter.is-entered [data-enter-lines] .word { opacity: 1; transform: none; }

/* Devices: a flat phone frame around a real screenshot. Inner radius = outer radius minus the bezel. */
.device {
  position: relative; width: 100%; padding: 10px; border-radius: 48px; background: var(--device);
  box-shadow: inset 0 0 0 1px var(--device-edge), 0 2px 4px rgba(5,20,31,.3), 0 30px 60px -20px rgba(5,20,31,.45);
}
.device > img, .device > .device-note { width: 100%; height: auto; aspect-ratio: 1206 / 2622; border-radius: 38px; object-fit: cover; background: #06090d; }
.device::before { content: ""; position: absolute; top: 22px; left: 50%; width: 26%; height: 3.4%; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 2; }
.device::after { content: ""; position: absolute; inset: 10px; border-radius: 38px; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.08), transparent 24%); }
.device-sm { max-width: 250px; border-radius: 40px; padding: 8px; }
.device-sm > img, .device-sm > .device-note, .device-sm::after { border-radius: 32px; }
.device-sm::after { inset: 8px; }
.device-sm::before { top: 18px; }
.device-md { max-width: 280px; }
.device-lg { max-width: 340px; }
.device > .device-note { position: absolute; left: 22px; right: 22px; bottom: 22px; width: auto; aspect-ratio: auto; height: auto; z-index: 3; display: grid; gap: 4px; padding: 16px 18px; border-radius: 22px; text-align: left; color: #e7f3fb; background: rgba(12,24,34,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.device > .device-note[hidden] { display: none; }
.device-note strong { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.device-note span { color: #96abba; font-size: 15px; }

/* How it works */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); }
.step { display: grid; gap: 14px; align-content: start; }
.step .device { margin-bottom: 14px; justify-self: start; }
.step h3 { display: flex; align-items: baseline; gap: 12px; }
.step-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; flex: none; font-variant-numeric: tabular-nums; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 36ch; }

/* The globe's views */
.modes { display: grid; gap: 6px; margin-top: 28px; }
.mode {
  display: grid; gap: 6px; text-align: left; padding: 18px 20px 18px 22px; border: 0; border-left: 1px solid var(--line); border-radius: 0 14px 14px 0;
  background: transparent; cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.mode strong { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.mode span { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.mode:hover { background: var(--panel); }
.mode[aria-selected="true"] { background: var(--panel); border-left-color: var(--accent); }
.mode[aria-selected="true"] strong { color: var(--accent); }
.split-visual { display: grid; justify-items: center; }
[data-mode-device] img, [data-mode-device] .device-note { transition: opacity .3s var(--ease); }

/* Memories */
.facts { list-style: none; padding: 0; display: grid; gap: 18px; margin-top: 30px; }
.facts li { display: grid; gap: 4px; padding-left: 18px; border-left: 1px solid var(--line); }
.facts strong { font-weight: 600; font-size: 17px; }
.facts span { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.pair { position: relative; display: grid; grid-template-columns: 1fr; justify-items: center; min-height: 640px; }
.pair .device { position: absolute; top: 50%; }
.pair-back { transform: translate(-42%, -56%) scale(.88); opacity: .85; }
.pair-front { transform: translate(22%, -44%); }

/* The plan */
.plan { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: plan; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.plan-step { position: relative; padding-top: 32px; display: grid; gap: 10px; align-content: start; }
.plan-mark { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--space-top); border: 1px solid var(--muted); }
.plan-step.is-current .plan-mark { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.plan-step h3::before { counter-increment: plan; content: counter(plan) ". "; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.plan-step p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 30ch; }

/* Status */
.section-status .split { align-items: start; }
.status-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.status-list > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.status-list dt { font-weight: 600; }
.status-list dd { margin: 0; color: var(--muted); line-height: 1.55; font-size: 16px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 32px 44px; color: var(--muted); font-size: 13px; }
.footer-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 32px; }
.footer .brand { color: var(--text); }
.footer-links { justify-self: end; display: flex; gap: 18px; color: var(--muted); }
.footer-credit { grid-column: 1 / -1; color: var(--muted); opacity: .8; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .globe-frame { width: min(110%, 560px, 90vh); }
  h1 { font-size: clamp(42px, 6.2vw, 64px); }
  .steps { gap: 36px 24px; }
  .plan { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .plan::before { display: none; }
  .plan-step { padding-top: 0; padding-left: 28px; }
  .plan-mark { top: 6px; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 36px 24px; gap: 8px; }
  .hero-text { max-width: 600px; }
  .hero-stage { order: -1; margin-bottom: 12px; }
  .globe-frame { width: min(118%, 520px, 60vh); }
  .section-head, .split { grid-template-columns: 1fr; }
  .split-reverse .split-text { order: 1; }
  .split-reverse .split-visual { order: 2; }
  .split-visual { justify-items: start; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .step { grid-template-columns: minmax(0, 140px) minmax(0, 1fr); grid-template-areas: "device title" "device copy"; column-gap: 24px; align-items: start; }
  .step .device { grid-area: device; margin: 0; max-width: 140px; padding: 5px; border-radius: 26px; }
  .step .device > img { border-radius: 21px; }
  .step .device::after { inset: 5px; border-radius: 21px; }
  .step .device::before { top: 11px; height: 3%; }
  .step h3 { grid-area: title; }
  .step p { grid-area: copy; }
  .pair { min-height: 0; height: 560px; justify-self: center; width: min(100%, 460px); }
  .status-list > div { grid-template-columns: 1fr; gap: 6px; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  body { font-size: 16px; }
  h1 { font-size: clamp(38px, 11vw, 48px); }
  h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .section { padding-block: 72px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions { gap: 18px; }
  .globe-frame { width: min(118%, 400px, 56vh); }
  .step { grid-template-columns: minmax(0, 112px) minmax(0, 1fr); column-gap: 18px; }
  .step .device { max-width: 112px; }
  .plan { grid-template-columns: 1fr; }
  .pair { height: 480px; }
  .pair-back { transform: translate(-48%, -56%) scale(.86); }
  .pair-front { transform: translate(18%, -44%); }
  .device-md { max-width: 230px; }
  .device-lg { max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html.enter:not(.enter-done) [data-enter-lines] .word, html.enter .hero-lead, html.enter .hero-actions, html.enter .hero-fact { opacity: 1; transform: none; }
}

/* Feature lists: two columns on wide screens, one on phones. */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 5vw, 72px); }
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }

/* Screens in a row: real captures in phone frames, each with a short caption. */
.shots { list-style: none; padding: 0; display: grid; gap: 40px clamp(20px, 3vw, 40px); }
.shots-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shots figure, .device-pair figure { margin: 0; display: grid; gap: 18px; align-content: start; justify-items: start; }
.shots .device { max-width: 270px; }
.shots figcaption { display: grid; gap: 4px; max-width: 26ch; }
.shots figcaption strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.shots figcaption span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.shots + .facts { margin-top: clamp(48px, 7vh, 80px); }
.device-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 24px clamp(20px, 3vw, 36px); justify-content: center; }
.device-pair .device { max-width: none; }
.device-pair figcaption { color: var(--muted); font-size: 14px; font-weight: 500; }

/* Photo calendar demo (no phone frame). All of its data is simulated, and the note beside it says so. */
.cal { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px clamp(32px, 4vw, 56px); align-items: start; }
.cal-note { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; max-width: 72ch; margin-bottom: 28px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.cal-note strong { color: var(--text); font-weight: 600; }
.cal-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; align-self: center; margin-right: 2px; }
.cal-months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(20px, 2.4vw, 32px); }
.cal-month-name { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 10px; }
.cal-days { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.cal-day { display: block; aspect-ratio: 1; padding: 0; border: 0; border-radius: 5px; cursor: pointer; scroll-margin: 110px 0 230px; transition: transform .12s var(--ease), box-shadow .12s var(--ease), filter .12s var(--ease); }
.cal-day.lv0 { background: rgba(173,210,233,.1); }
.cal-day.lv1 { background: #2b5877; }
.cal-day.lv2 { background: #3a7aa5; }
.cal-day.lv3 { background: #4f9fd3; }
.cal-day.lv4 { background: #8fd0ff; }
.cal-months .cal-day:hover { transform: scale(1.14); filter: brightness(1.15); }
.cal-months .cal-day:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 5px; position: relative; z-index: 1; }
.cal-months .cal-day[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); position: relative; z-index: 1; }
.cal-legend { display: flex; align-items: center; gap: 6px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.cal-legend span:first-child { margin-right: 4px; }
.cal-legend span:last-child { margin-left: 4px; }
.cal-legend .cal-day { width: 14px; height: 14px; aspect-ratio: auto; cursor: default; }
.cal-panel { position: sticky; top: 112px; display: grid; gap: 10px; padding: 22px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface-solid); box-shadow: var(--shadow); }
.cal-sim { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 600; }
.cal-panel h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; min-height: 2.4em; }
.cal-count { font-size: 15px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.cal-place { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.cal-place svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }

@media (max-width: 1080px) {
  .shots-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal { grid-template-columns: 1fr; }
  .cal-panel { position: sticky; top: auto; bottom: 12px; z-index: 5; gap: 4px; padding: 16px 18px; border-radius: 18px; order: 2; }
  .cal-panel h3 { min-height: 0; font-size: 18px; }
}
@media (max-width: 860px) {
  .device-pair { justify-content: start; }
  .cal-months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .shots-4 { gap: 32px 16px; }
  .shots .device { max-width: none; padding: 6px; border-radius: 30px; }
  .shots .device > img, .shots .device::after { border-radius: 24px; }
  .shots .device::after { inset: 6px; }
  .shots .device::before { top: 13px; }
  .shots figcaption span { font-size: 14px; }
  .device-pair { gap: 16px; }
  .device-pair .device { padding: 6px; border-radius: 30px; }
  .device-pair .device > img, .device-pair .device::after { border-radius: 24px; }
  .device-pair .device::after { inset: 6px; }
  .device-pair .device::before { top: 13px; }
  .cal-months { grid-template-columns: 1fr; gap: 22px; }
  .cal-day { scroll-margin: 100px 0 210px; }
  .cal-panel { bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cal-months .cal-day:hover { transform: none; }
}
