/* Sensor website: system fonts, Apple-like rhythm, the camera body's graphite and signal yellow. */

:root {
  --night: #0a0a0b;
  --night-2: #121214;
  --night-3: #18181b;
  --text: #f5f5f7;
  --text-2: rgba(245, 245, 247, 0.7);
  --text-3: rgba(245, 245, 247, 0.46);
  --line: rgba(255, 255, 255, 0.09);
  --accent: #ffcc00;
  --accent-soft: #ffd84d;
  --blue: #0a84ff;
  --orange: #ff9f0a;
  --green: #30d158;
  --purple: #bf5af2;
  --teal: #64d2ff;
  --card: rgba(255, 255, 255, 0.045);
  --glass: rgba(30, 30, 33, 0.72);
  --radius: 24px;
  --page: 1120px;
  --reading: 680px;
}

* { box-sizing: border-box; }
html {
  background: var(--night); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.47;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body { margin: 0; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
svg { display: block; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--night); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; z-index: 100; }

/* Announcement */

.announce {
  display: block; text-align: center; font-size: 14px; font-weight: 500; color: var(--text);
  padding: 10px 22px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, #1a1a1c, #26210c 45%, #1a1a1c);
}
.announce:hover { text-decoration: none; }
.announce::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #ffcc00 30%, #ffcc00 70%, transparent);
}
.announce strong { color: #ffe27a; font-weight: 600; }
.announce span.go { color: var(--accent-soft); margin-left: 6px; }

/* Navigation */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 13, 0.7);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--page); margin: 0 auto; padding: 0 22px; height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-cta { font-size: 13px; font-weight: 600; background: var(--text); color: var(--night); padding: 7px 14px; border-radius: 980px; white-space: nowrap; }
.nav-cta:hover { text-decoration: none; background: #fff; }

/* Buttons */

.button { display: inline-flex; align-items: center; gap: 9px; background: var(--text); color: var(--night); font-weight: 600; font-size: 17px; padding: 14px 26px; border-radius: 980px; transition: transform .2s ease, background .2s ease; }
.button:hover { text-decoration: none; background: #fff; transform: translateY(-1px); }
.button svg { width: 18px; height: 20px; }
.link-arrow { font-size: 17px; }
.link-arrow::after { content: " ›"; }

/* Hero */

.hero { position: relative; text-align: center; padding: 88px 22px 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: -10%; right: -10%; top: 300px; height: 760px;
  background: url("band.jpg") center 30% / cover no-repeat; opacity: .5;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 55%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 55%, transparent 95%);
}
.hero::after {
  content: ""; position: absolute; left: 50%; top: -120px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 204, 0, .14), transparent 70%); pointer-events: none;
}
.hero > * { position: relative; }
.eyebrow { color: var(--accent-soft); font-weight: 600; font-size: 17px; margin: 0 0 12px; }
.display { font-size: clamp(44px, 7vw, 84px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; margin: 0 auto; max-width: 900px; }
.accent { background: linear-gradient(180deg, var(--accent-soft), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--text-2); margin: 20px auto 0; max-width: 640px; }
.cta { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 34px; }

.stage { position: relative; max-width: 1040px; margin: 64px auto 0; height: 640px; }
.stage .phone { position: absolute; left: 50%; top: 0; width: 380px; transform: translateX(-50%); filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .55)); }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(transparent, var(--night)); pointer-events: none; z-index: 3; }

.float {
  position: absolute; z-index: 2;
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px;
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45); text-align: left; padding: 14px 16px;
  font-size: 14px; line-height: 1.35;
}
.float .muted { color: var(--text-3); font-size: 12px; }
.float .title { font-weight: 600; }
.float-project { left: 2%; top: 70px; width: 260px; }
.float-project .row { display: flex; align-items: center; gap: 10px; }
.ring { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(var(--accent) 0 12%, rgba(255,255,255,.12) 12% 100%); display: grid; place-items: center; flex: none; }
.ring::after { content: ""; width: 22px; height: 22px; border-radius: 50%; background: #1c1f29; }
.bars { margin-top: 12px; display: grid; gap: 7px; }
.bar { height: 8px; border-radius: 6px; }
.float-milestone { left: 9%; top: 300px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.diamond { width: 12px; height: 12px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; flex: none; }
.float-note { right: 2%; top: 110px; width: 290px; display: flex; gap: 12px; }
.float-note img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.float-people { right: 8%; top: 330px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.avatars { display: flex; }
.avatars span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; border: 2px solid #1c1f29; margin-left: -7px; }
.avatars span:first-child { margin-left: 0; }

/* Works with */

.works { max-width: var(--page); margin: 0 auto; padding: 8px 22px 40px; text-align: center; }
.works p { color: var(--text-3); font-size: 14px; margin: 0 0 18px; }
.works ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; }
.works li { display: flex; align-items: center; gap: 9px; color: var(--text-2); font-weight: 500; }
.works .chip { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.works .chip svg { width: 17px; height: 17px; }

/* Sections */

.section { max-width: var(--page); margin: 0 auto; padding: 110px 22px; }
.section-title { font-size: clamp(34px, 4.8vw, 56px); line-height: 1.06; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 16px; }
.center { text-align: center; }
.section-lede { color: var(--text-2); font-size: 21px; max-width: 640px; margin: 0 0 40px; }
.center .section-lede { margin-left: auto; margin-right: auto; }
.kicker { color: var(--accent-soft); font-weight: 600; font-size: 15px; margin: 0 0 10px; letter-spacing: .01em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.flip .copy { order: 2; }
.copy .points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.copy .points li { display: flex; gap: 14px; color: var(--text-2); }
.copy .points b { color: var(--text); font-weight: 600; }
.dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.dot svg { width: 18px; height: 18px; }

.orbit { position: relative; display: grid; place-items: center; min-height: 620px; }
.orbit::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(255, 204, 0, .18)), transparent 65%); }
.orbit .phone { position: relative; width: 300px; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); }
.bubble { position: absolute; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bubble svg { width: 26px; height: 26px; }
.bubble.sm { width: 46px; height: 46px; }
.bubble.sm svg { width: 20px; height: 20px; }
.bubble.blur { filter: blur(1.5px); opacity: .75; }

/* Notifications */

.notes { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; }
.note { display: flex; gap: 14px; align-items: flex-start; background: rgba(245, 245, 247, 0.94); color: #111; border-radius: 22px; padding: 14px 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.note img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.note .head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.note .head b { font-weight: 600; }
.note .head span { color: rgba(60, 60, 67, .6); font-size: 13px; white-space: nowrap; }
.note p { margin: 2px 0 0; font-size: 15px; line-height: 1.35; color: #222; }
.note.dim { transform: scale(.96); opacity: .82; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.mode { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.mode b { display: block; margin-bottom: 4px; }
.mode span { color: var(--text-2); font-size: 15px; }

/* Grid of smaller features */

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tile .dot { margin-bottom: 18px; }
.tile h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.01em; }
.tile p { color: var(--text-2); margin: 0; font-size: 16px; }

/* Pricing */

.band { position: relative; overflow: hidden; border-radius: 32px; max-width: calc(var(--page) - 44px); margin: 0 auto; padding: 96px 40px; text-align: center; border: 1px solid var(--line); background: var(--night-2) url("band.jpg") center / cover no-repeat; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10, 10, 11, .5), rgba(10, 10, 11, .94) 75%); }
.band > * { position: relative; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 940px; margin: 0 auto; }
.plan { background: rgba(18, 18, 20, .82); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: left; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.plan.highlight { border-color: rgba(255, 204, 0, .6); box-shadow: 0 0 0 1px rgba(255, 204, 0, .3) inset, 0 30px 60px rgba(255, 204, 0, .1); }
.plan .name { font-weight: 600; font-size: 17px; color: var(--text-2); }
.plan .price { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 2px; }
.plan .price small { font-size: 17px; font-weight: 500; color: var(--text-2); }
.plan .note-line { color: var(--text-3); font-size: 15px; margin-bottom: 16px; }
.plan ul { margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: 15px; display: grid; gap: 8px; }
.plan li::before { content: "✓"; color: var(--accent-soft); margin-right: 9px; font-weight: 700; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent-soft); background: rgba(255, 204, 0, .14); padding: 3px 9px; border-radius: 980px; margin-left: 6px; vertical-align: 2px; }
.fine { color: var(--text-3); font-size: 14px; margin-top: 28px; }

/* Closing */

.closing { text-align: center; padding: 120px 22px 110px; }
.closing img.icon { width: 128px; height: 128px; border-radius: 29px; margin: 0 auto 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.platforms { color: var(--text-3); font-size: 15px; margin-top: 18px; }

/* Reading pages */

.page-head { max-width: var(--reading); margin: 0 auto; padding: 80px 22px 8px; }
.page-head h1 { font-size: clamp(38px, 5vw, 52px); line-height: 1.06; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 10px; }
.updated { color: var(--text-3); font-size: 15px; margin: 0; }
.page-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.lang-select { position: relative; display: inline-flex; align-items: center; }
.lang-select svg { position: absolute; left: 12px; color: var(--text-3); pointer-events: none; }
.lang-select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border: solid var(--text-3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.lang-select select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: 980px;
  padding: 7px 34px 7px 36px; cursor: pointer;
}
.lang-select select:hover { background: rgba(255, 255, 255, 0.08); }
.lang-select select:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.lang-select option { background: var(--night-3); color: var(--text); }
.prose { max-width: var(--reading); margin: 0 auto; padding: 24px 22px 110px; }
.prose .intro { font-size: 21px; line-height: 1.4; color: var(--text); margin: 0 0 36px; }
.prose h2 { font-size: 21px; letter-spacing: -0.01em; margin: 36px 0 8px; }
.prose p { color: var(--text-2); margin: 0 0 12px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 44px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--text-3); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; }

/* Footer */

.footer { border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; background: var(--night); }
.footer-inner { max-width: var(--page); margin: 0 auto; padding: 48px 22px 36px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-cols h4 { color: var(--text); font-size: 13px; margin: 0 0 12px; font-weight: 600; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-cols a { color: var(--text-2); }
.footer-brand p { margin: 12px 0 0; max-width: 260px; line-height: 1.5; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; }
.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.footer-langs svg { width: 16px; height: 16px; color: var(--text-3); }
.footer-langs a { color: var(--text-2); }
.footer-langs a[aria-current] { color: var(--text); font-weight: 600; }

/* Japanese, Korean and Chinese: no negative tracking, and keep words whole */

:lang(ja) .display, :lang(ko) .display, :lang(zh) .display,
:lang(ja) .section-title, :lang(ko) .section-title, :lang(zh) .section-title { letter-spacing: 0; line-height: 1.2; }
:lang(ja), :lang(zh) { line-break: strict; }
:lang(ja) { word-break: auto-phrase; }
:lang(ko) { word-break: keep-all; }

/* Reveal on scroll */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .float-project, .float-note { display: none; }
  .float-milestone { left: 4%; top: 90px; }
  .float-people { right: 4%; top: 380px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .split.flip .copy { order: 0; }
  .orbit { min-height: 560px; }
  .tiles, .pricing, .modes { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .stage { height: 520px; }
  .stage .phone { width: 300px; }
  .float { display: none; }
  .announce .long { display: none; }
  .section { padding: 80px 22px; }
  .cards { grid-template-columns: 1fr; }
  .band { padding: 64px 20px; border-radius: 24px; margin: 0 14px; }
  .orbit { min-height: 480px; }
  .orbit .phone { width: 240px; }
  .orbit::before { width: 380px; height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media (prefers-contrast: more) {
  :root { --text-2: rgba(245, 245, 247, 0.88); --text-3: rgba(245, 245, 247, 0.72); --line: rgba(255, 255, 255, 0.25); }
}

/* Sensor */

.button-dark { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button-dark:hover { background: var(--card); }
.readout { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -0.01em; }
.readout .y { color: var(--accent); }
.lamp { width: 10px; height: 10px; border-radius: 50%; flex: none; background: radial-gradient(circle at 40% 35%, #fff, var(--lamp, #ff453a) 55%); box-shadow: 0 0 10px var(--lamp, #ff453a); }
.float-readout { left: 4%; top: 90px; padding: 14px 16px; }
.float-readout .readout { font-size: 22px; }
.float-raw { right: 4%; top: 120px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.float-steady { left: 8%; top: 330px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.float-finish { right: 8%; top: 350px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; }
.float-finish img { width: 34px; height: 34px; border-radius: 8px; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #111; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }

.wide { max-width: 980px; margin: 48px auto 0; position: relative; }
.wide::before { content: ""; position: absolute; inset: 10% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(191, 90, 242, .22), transparent 70%); filter: blur(10px); }
.wide img { position: relative; width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); }

.finishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 26px 18px; max-width: 900px; margin: 0 auto; }
.finish { text-align: center; color: var(--text-2); font-size: 14px; font-weight: 500; }
.finish img { width: 80px; height: 80px; border-radius: 18px; margin: 0 auto 10px; box-shadow: 0 16px 30px rgba(0, 0, 0, .45); }
.finish small { display: block; color: var(--text-3); font-size: 12px; font-weight: 400; margin-top: 1px; }
.modes.two { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin: 40px auto 0; text-align: left; }

.duo { display: flex; justify-content: center; align-items: flex-end; gap: 48px; margin-top: 52px; position: relative; }
.duo::before { content: ""; position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 159, 10, .16), transparent 65%); }
.duo figure { margin: 0; position: relative; text-align: center; }
.duo img { filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); }
.duo .open { width: 400px; }
.duo .closed { width: 280px; }
.duo figcaption { color: var(--text-3); font-size: 14px; margin-top: 16px; }

.pricing.two { grid-template-columns: repeat(2, 1fr); max-width: 640px; }

@media (max-width: 980px) {
  .stage .float { display: none; }
}
@media (max-width: 760px) {
  .duo { gap: 20px; }
  .duo .open { width: 56%; }
  .duo .closed { width: 40%; }
  .modes.two, .pricing.two { grid-template-columns: 1fr; }
}
