/* ===========================================================================
   Point Six Labs — editorial system
   Two voices: Inter ExtraBold for display, a mono for metadata/indices.
   Paper ground (#ECECEC) against app-black (#0D0D0D). Detail over decoration:
   hairlines, registration marks, index numerals, tabular figures.
   =========================================================================== */

:root {
  --paper: #ECECEC;
  --paper-2: #E4E4E4;
  --paper-3: #D9D9D9;
  --ink: #0D0D0D;
  --ink-2: #141414;
  --ink-3: #1E1E1E;
  --muted: #6E6E6E;
  --muted-2: #9A9A9A;
  --on-dark: #A0A0A0;
  --rule: rgba(13,13,13,0.14);
  --rule-2: rgba(13,13,13,0.07);
  --rule-dark: rgba(255,255,255,0.13);
  --rule-dark-2: rgba(255,255,255,0.06);
  --over: #C75C4E;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --max: 1400px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain, everywhere, quietly. */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: .55; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.shell { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ── Mono metadata voice ──────────────────────────────────────────────────── */
.mono {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.mono-dim { color: var(--muted); }
.on-dark .mono-dim, .dark .mono-dim { color: var(--muted-2); }

/* ── Display type ─────────────────────────────────────────────────────────── */
.display {
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: .90;
  margin: 0;
  text-wrap: balance;
}
.d-xl { font-size: clamp(44px, 8.2vw, 104px); }
.d-lg { font-size: clamp(34px, 5.6vw, 76px); }
.d-md { font-size: clamp(30px, 4.6vw, 60px); }
p { margin: 0; }
.body-lg { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: #383838; max-width: 46ch; }
.dark .body-lg, .on-dark .body-lg { color: var(--on-dark); }

/* ── Rules + registration marks ───────────────────────────────────────────── */
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.dark .rule { background: var(--rule-dark); }

/* Corner ticks — a printer's registration cue, not a border. */
.ticked { position: relative; }
.ticked::before, .ticked::after {
  content: ""; position: absolute; width: 9px; height: 9px; pointer-events: none;
  border-color: var(--rule); border-style: solid; border-width: 0;
}
.ticked::before { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.ticked::after { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.dark .ticked::before, .dark .ticked::after { border-color: var(--rule-dark); }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  mix-blend-mode: difference; color: #fff;
}
.site-header .shell {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px; flex: 0 0 auto;
  border: 1.5px solid currentColor;
  display: grid; place-items: center;
  font-weight: 800; font-size: 11px; letter-spacing: -.04em;
}
.brand-name { font-weight: 600; letter-spacing: -.01em; font-size: 14px; white-space: nowrap; }
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none; position: relative; padding-block: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.nav a:hover::after { transform: scaleX(1); }
@media (max-width: 720px) {
  .site-header .shell { height: 60px; }
  .brand-name { display: none; }
  .nav { gap: 16px; }
  .nav a { font-size: 10px; letter-spacing: .1em; }
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 2px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid currentColor; position: relative; overflow: hidden;
  transition: color 380ms cubic-bezier(.2,.8,.2,1);
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1);
}
.btn:hover::before { transform: scaleY(1); }
.btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-solid:hover { color: var(--ink); }
.dark .btn-solid { background: #fff; color: var(--ink); border-color: #fff; }
.dark .btn-solid:hover { color: #fff; }
.btn-line { color: inherit; }
.btn-line:hover { color: var(--paper); }
.dark .btn-line:hover { color: var(--ink); }
.btn .arrow { transition: transform 380ms cubic-bezier(.2,.8,.2,1); }
.btn:hover .arrow { transform: translateX(4px); }

/* ── Dark blocks ──────────────────────────────────────────────────────────── */
.dark { background: var(--ink); color: #fff; position: relative; }
.dark::before {
  /* vignette so the black has depth rather than reading as flat fill */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.055), transparent 62%);
}
.dark > * { position: relative; }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between;
        padding-top: clamp(88px, 11vh, 132px); padding-bottom: 0; overflow: hidden; }
.hero-main { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center;
             gap: clamp(24px, 4vw, 56px); }
.hero-copy { max-width: none; min-width: 0; }
.hero h1 { margin: 0; }
.hero-meta { display: flex; flex-wrap: nowrap; white-space: nowrap; gap: 10px; align-items: center; margin-bottom: clamp(20px, 3vw, 32px); }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.hero-lede { margin-top: clamp(22px, 3vw, 34px); }
.hero-actions { display: flex; gap: 12px; margin-top: clamp(26px, 3.4vw, 40px); flex-wrap: wrap; }

/* Gauge bleeds off the right edge — deliberately not a tidy centred circle. */
.gauge-stage { position: relative; justify-self: end; width: min(620px, 62vw); margin-right: calc(var(--gutter) * -0.75); }
.gauge-wrap { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.gauge-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gauge-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.gauge-number {
  font-size: clamp(44px, 6.4vw, 86px); font-weight: 800; letter-spacing: -.055em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.gauge-label { margin-top: 12px; color: var(--muted-2); }
.gauge-caption {
  position: absolute; right: 8%; bottom: 4%; text-align: right; max-width: 20ch;
}

/* Hero footer strip — a spec bar, hairline-separated */
.hero-strip { border-top: 1px solid var(--rule-dark); margin-top: clamp(40px, 6vh, 80px); }
.hero-strip .shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec { padding: 22px 0; border-left: 1px solid var(--rule-dark); padding-left: 20px; }
.spec:first-child { border-left: 0; padding-left: 0; }
.spec dt { color: var(--muted-2); margin-bottom: 7px; }
.spec dd { margin: 0; font-weight: 600; font-size: 14px; letter-spacing: -.01em; }

@media (max-width: 980px) {
  .hero-main { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .gauge-stage { justify-self: center; margin-right: 0; width: min(520px, 88vw); order: -1; }
  .gauge-caption { display: none; }
  .hero-strip .shell { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
}
@media (max-width: 560px) {
  .hero-strip .shell { grid-template-columns: 1fr; }
  .spec { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-dark); }
  .spec:first-child { border-top: 0; }
}

/* ── Wordmark masthead ────────────────────────────────────────────────────── */
/* Sized in vw so the five letters run very close to edge-to-edge at any width;
   clipped rather than wrapped, and never allowed to force a horizontal scrollbar. */
.wordmark-band {
  background: var(--ink); color: #fff;
  border-top: 1px solid var(--rule-dark);
  padding-block: clamp(34px, 5.5vw, 76px);
  overflow: hidden;
}
.wordmark {
  font-weight: 800; text-transform: uppercase;
  /* Pure vw so the proportion holds at every width; no upper clamp, because a
     masthead that stops growing on a wide monitor stops being a masthead. */
  font-size: max(78px, 28vw);
  letter-spacing: -.055em; line-height: .80;
  text-align: center; white-space: nowrap;
  user-select: none;
}
.wordmark-meta {
  display: flex; justify-content: center; align-items: center;
  gap: 10px; flex-wrap: wrap;
  margin-top: clamp(16px, 2.4vw, 30px);
}
.wordmark-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }

/* ── Marquee ──────────────────────────────────────────────────────────────── */
.marquee { overflow: hidden; border-block: 1px solid var(--rule); background: var(--paper-2); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: slide 44s linear infinite; }
.marquee-track span { padding: 15px 34px; white-space: nowrap; color: var(--muted); }
.marquee-track span::after { content: "◦"; margin-left: 34px; opacity: .45; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── Section scaffolding ──────────────────────────────────────────────────── */
.section { padding-block: clamp(88px, 12vw, 180px); }
.section-head { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.section-head .idx { color: var(--muted); padding-top: 14px; }
.dark .section-head .idx { color: var(--muted-2); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } .section-head .idx { padding-top: 0; } }

/* ── Steps — staggered, with ghost numerals ───────────────────────────────── */
.steps { margin-top: clamp(56px, 8vw, 104px); display: grid; gap: 2px; }
.step {
  position: relative; display: grid; grid-template-columns: 200px 1fr 1fr;
  gap: clamp(20px, 4vw, 48px); align-items: start;
  padding: clamp(30px, 4vw, 52px) 0; border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step-ghost {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-weight: 800; font-size: clamp(90px, 17vw, 230px); letter-spacing: -.07em;
  color: var(--ink); opacity: .045; pointer-events: none; line-height: 1;
}
.step h3 { margin: 0 0 12px; font-size: clamp(21px, 2.3vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.step p { color: #444; font-size: 16px; max-width: 42ch; }
.step .idx { color: var(--muted); }
@media (max-width: 900px) {
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step-ghost { font-size: 120px; right: -6px; opacity: .05; }
}

/* ── Gallery — overlapped, tilted, with depth ─────────────────────────────── */
.gallery-viewport { overflow: hidden; margin-top: clamp(48px, 7vw, 88px); padding-block: 28px; }
.gallery-track {
  display: flex; align-items: flex-start; gap: clamp(18px, 2.6vw, 40px);
  width: max-content; will-change: transform;
  padding-inline: var(--gutter);
}
/* On a display wide enough to show all five at once there is nothing to scrub,
   so the track is centred instead of sitting hard-left with dead space beside
   it. JS adds this class after measuring; see initGallery(). */
.gallery-viewport.is-static .gallery-track {
  width: 100%; justify-content: center; will-change: auto;
}
/* Reduced-motion / no-GSAP fallback: a plain horizontal scroller, so every shot
   stays reachable without any animation. */
.gallery-viewport.is-scrollable {
  overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--rule-dark) transparent;
}
.gallery-viewport.is-scrollable .gallery-track { will-change: auto; }
.gallery-viewport.is-scrollable .shot { scroll-snap-align: center; }
.shot {
  flex: 0 0 auto; width: clamp(196px, 21vw, 272px); margin: 0;
  transition: transform 520ms cubic-bezier(.2,.8,.2,1);
}
.shot img {
  width: 100%; aspect-ratio: 9/19.5; object-fit: cover; object-position: top;
  border-radius: 26px; background: var(--ink-3);
  border: 1px solid var(--rule-dark);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85);
}
.shot figcaption { margin-top: 16px; color: var(--muted-2); text-align: center; }
.shot:hover { transform: translateY(-10px); }
.shot:hover img { box-shadow: 0 56px 100px -30px rgba(0,0,0,.95); }
.shot-placeholder { color: #4c4c4c; text-align: center; padding: 18px; }

/* ── Spec sheet (trust) ───────────────────────────────────────────────────── */
.spec-grid { margin-top: clamp(48px, 7vw, 92px); display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 4vw, 48px); }
.spec-list { display: grid; }
.spec-row {
  display: grid; grid-template-columns: minmax(140px, .32fr) 1fr; gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 2.6vw, 32px) 0; border-top: 1px solid var(--rule); align-items: baseline;
}
.spec-row:last-child { border-bottom: 1px solid var(--rule); }
.spec-row h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.spec-row p { color: #444; font-size: 16px; max-width: 52ch; }
@media (max-width: 820px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ── Closing CTA ──────────────────────────────────────────────────────────── */
.closer { text-align: left; }
.closer .display { max-width: 16ch; }
.closer-actions { margin-top: clamp(30px, 4vw, 48px); display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(56px, 7vw, 96px); padding-bottom: 32px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 32px; padding-bottom: 40px; }
.footer-links { display: grid; gap: 12px; justify-items: start; }
.footer-links a { color: var(--muted-2); text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: color 260ms ease; }
.footer-links a:hover { color: #fff; }
.footer-wordmark {
  font-weight: 800; letter-spacing: -.06em; line-height: .82;
  font-size: clamp(56px, 15vw, 210px); color: #fff; opacity: .085;
  margin-top: 16px; user-select: none; white-space: nowrap;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
                 border-top: 1px solid var(--rule-dark); padding-top: 22px; color: var(--muted-2); }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; } }

/* ── Legal pages ──────────────────────────────────────────────────────────── */
.legal { padding-top: clamp(120px, 16vh, 180px); padding-bottom: 110px; }
.legal .shell { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.045em; line-height: .96; margin: 0 0 18px; }
.legal h2 { font-size: 20px; margin: 44px 0 10px; letter-spacing: -.02em; font-weight: 700; }
.legal h3 { font-size: 16px; margin: 26px 0 6px; font-weight: 700; }
.legal p, .legal li { color: #2b2b2b; }
.legal ul, .legal ol { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal .meta { color: var(--muted); font-size: 14px; margin: 2px 0; font-family: var(--mono); letter-spacing: .04em; text-transform: none; }
.legal code { font-family: var(--mono); background: var(--paper-3); padding: 1px 5px; border-radius: 3px; font-size: .86em; }
.legal .summary { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 4px; padding: 6px 22px; }
.legal .note { color: var(--muted); font-size: 14px; }
.legal hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.tablewrap { overflow-x: auto; margin: 16px 0; }
.legal header { border-bottom: 1px solid var(--rule); padding-bottom: 26px; margin-bottom: 30px; }

/* ── Reveal (progressive enhancement — visible unless JS can animate) ─────── */
.reveal { opacity: 1; transform: none; }
html.motion-ready .reveal { opacity: 0; transform: translateY(26px); }
html.motion-ready .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ═══ Device frame ═════════════════════════════════════════════════════════
   The hero previously showed a bare gauge floating in space, which read as an
   abstract graphic rather than an app. The same live gauge now runs inside a
   phone, composed as the real dashboard screen, so the product is legible in
   the first second. Everything here mirrors app/(tabs)/index.tsx. */
.device {
  position: relative; width: min(310px, 76vw, 31vh); margin-inline: auto;
  aspect-ratio: 9 / 19.2;
  border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #3a3a3a, #101010 42%, #2c2c2c);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.07);
}
.device::before { /* screen glow */
  content: ""; position: absolute; inset: -14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.07), transparent 62%);
  pointer-events: none; z-index: -1;
}
.device-screen {
  width: 100%; height: 100%; border-radius: 38px; overflow: hidden;
  background: var(--ink); display: flex; flex-direction: column;
  padding: 14px 14px 0;
}
.dev-status {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: .06em;
  color: #fff; opacity: .85; padding: 2px 4px 10px;
}
.dev-status .sig { display: flex; gap: 4px; align-items: center; }
.dev-status .bar { width: 2px; background: currentColor; border-radius: 1px; }
.dev-greet { padding: 0 4px 12px; }
.dev-greet small { display: block; color: var(--muted-2); font-size: 11px; }
.dev-greet strong { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.dev-card {
  background: #141414; border-radius: 20px; padding: 10px 12px 14px;
  display: flex; flex-direction: column; align-items: center;
}
.dev-gauge { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.dev-pill {
  margin-top: -6px; border: 1px solid var(--rule-dark); border-radius: 999px;
  padding: 4px 12px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em;
  color: var(--muted-2);
}
.dev-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); width: 100%;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule-dark);
  text-align: center;
}
.dev-stats div + div { border-left: 1px solid var(--rule-dark); }
.dev-stats dt { font-family: var(--mono); font-size: 8px; letter-spacing: .12em; color: var(--muted-2); }
.dev-stats dd { margin: 3px 0 0; font-size: 14px; font-weight: 700; letter-spacing: -.02em;
                font-variant-numeric: tabular-nums; }
.dev-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.dev-macro { background: #141414; border-radius: 13px; padding: 9px 10px; }
.dev-macro dt { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--muted-2); }
.dev-macro dd { margin: 3px 0 6px; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.dev-macro .track { height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.dev-macro .fill { height: 100%; background: #fff; border-radius: 2px; }
.dev-tabs {
  margin-top: auto; display: flex; align-items: center; justify-content: space-around;
  padding: 12px 4px 16px; border-top: 1px solid var(--rule-dark-2); position: relative;
}
.dev-tabs i { width: 15px; height: 15px; border-radius: 4px; background: rgba(255,255,255,.22); display: block; }
.dev-tabs i.on { background: #fff; }
.dev-tabs .plus {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 20px; font-weight: 300; line-height: 1;
  margin-top: -20px;
}
/* the gauge's own centre readout, scaled for the device */
.device .gauge-number { font-size: clamp(26px, 6.4vw, 34px); }
.device .gauge-label { margin-top: 6px; font-size: 8px; }

@media (max-width: 980px) { .device { width: min(300px, 74vw); } }
@media (max-height: 760px) { .device { width: min(270px, 70vw, 30vh); } }
