@font-face {
  font-family: "Inter Display";
  src: url("assets/fonts/InterDisplay-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("assets/fonts/InterDisplay-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f3f1eb;
  --paper-2: #e8e5dc;
  --ink: #080908;
  --muted: #6c6c67;
  --mint: #92efc4;
  --rest: #c6a9ff;
  --line: rgba(8, 9, 8, 0.13);
  --chrome-bg: rgba(243, 241, 235, 0.76);
  --chrome-border: rgba(8, 9, 8, 0.1);
  --control-bg: rgba(8, 9, 8, 0.055);
  --control-border: rgba(8, 9, 8, 0.09);
  --control-active: #fff;
  --action-bg: #080908;
  --action-fg: #fff;
  --accent-ink: #080908;
  --inverse-surface: #080908;
  --inverse-surface-soft: #151615;
  --inverse-text: #fff;
  --body-size: clamp(16px, 1.3vw, 19px);
  --display-size: clamp(50px, 7.2vw, 108px);
  --section-space: clamp(112px, 16vw, 230px);
  --radius: clamp(28px, 4vw, 52px);
}

html[data-theme="dark"] {
  --paper: #0b0d0c;
  --paper-2: #131613;
  --ink: #f2f4ef;
  --muted: #9da39c;
  --line: rgba(242, 244, 239, 0.14);
  --chrome-bg: rgba(17, 20, 18, 0.78);
  --chrome-border: rgba(242, 244, 239, 0.11);
  --control-bg: rgba(242, 244, 239, 0.07);
  --control-border: rgba(242, 244, 239, 0.11);
  --control-active: rgba(242, 244, 239, 0.14);
  --action-bg: #f2f4ef;
  --action-fg: #080908;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter Display", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--body-size);
  line-height: 1.42;
  letter-spacing: -0.03em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
.nav,
.truth,
.browser,
.rhythm,
.faq,
.download,
.footer,
.legal-page,
.legal-header,
.legal-footer,
.legal-contact {
  transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: inherit;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--action-fg);
  background: var(--action-bg);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  right: 18px;
  left: 18px;
}

.nav {
  width: min(100%, 1140px);
  min-height: 64px;
  margin: 0 auto;
  padding: 8px 10px 8px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: var(--chrome-bg);
  border: 1px solid var(--chrome-border);
  border-radius: 999px;
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-weight: 600;
}

.brand img {
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
}

.nav-links a,
.brand,
.nav-download,
.theme-toggle {
  transition: opacity 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.brand:hover {
  opacity: 0.58;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  color: var(--action-fg);
  background: var(--action-bg);
  border-radius: 999px;
  font-weight: 600;
}

.nav-download:hover,
.button-dark:hover {
  color: var(--accent-ink);
  background: var(--mint);
  transform: translateY(-2px);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  position: relative;
  width: 70px;
  height: 46px;
  padding: 4px;
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--control-bg);
  border: 1px solid var(--control-border);
  border-radius: 999px;
  cursor: pointer;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4px;
  left: 4px;
  width: 30px;
  height: 36px;
  background: var(--control-active);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(8, 9, 8, 0.08);
  transform: translateX(0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease;
}

html[data-theme="dark"] .theme-toggle::before {
  transform: translateX(30px);
}

.theme-toggle-icons {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
}

.theme-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.36;
  transition: opacity 180ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-icon-sun {
  opacity: 1;
}

html[data-theme="dark"] .theme-icon-sun {
  opacity: 0.36;
}

html[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
}

.theme-toggle:hover .theme-icon {
  transform: scale(1.05);
}

.theme-toggle:active {
  transform: scale(0.97);
}

.theme-toggle-mobile {
  display: none;
}

.nav-download svg,
.button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex: 0 0 auto;
}

main {
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  padding: clamp(154px, 18vh, 210px) 24px 96px;
  text-align: center;
}

.hero-copy,
.section-copy {
  width: min(100%, 950px);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: var(--body-size);
  font-weight: 600;
}

.product-stage-top i {
  width: 9px;
  height: 9px;
  display: inline-block;
  background: var(--mint);
  border-radius: 999px;
}

h1,
h2 {
  margin: 0;
  font-size: var(--display-size);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede,
.section-copy > p:last-child {
  width: min(100%, 660px);
  margin: 36px auto 0;
  color: var(--muted);
  font-size: var(--body-size);
  text-wrap: balance;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.button {
  min-height: 58px;
  padding: 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.button-dark {
  color: var(--action-fg);
  background: var(--action-bg);
}

.product-stage {
  position: relative;
  width: min(100%, 1140px);
  margin: clamp(78px, 10vw, 132px) auto 0;
  padding: clamp(18px, 2.8vw, 36px);
  color: var(--accent-ink);
  background: var(--mint);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.product-stage-top,
.product-stage figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: rgba(8, 9, 8, 0.56);
}

.product-stage-top {
  padding: 0 6px 28px;
}

.product-stage-top span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-ink);
}

.product-stage-top i {
  background: var(--accent-ink);
}

.product-shot {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  color: #fff;
  background: #070807;
  border: 1px solid rgba(8, 9, 8, 0.24);
  border-radius: calc(var(--radius) * 0.62);
  overflow: hidden;
}

.shot-tabs {
  width: min(42%, 430px);
  min-width: 310px;
  margin: 6.4% auto 0;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 2px;
  background: #1b1d1c;
  border-radius: 999px;
}

.shot-tabs span {
  min-height: clamp(42px, 5.4vw, 62px);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.48);
  font-size: clamp(15px, 2vw, 23px);
  line-height: 1;
  border-radius: 999px;
}

.shot-tabs .is-active {
  color: #fff;
  background: #343634;
}

.shot-stats {
  width: 100%;
  margin-top: 5.5%;
  padding: 0 clamp(28px, 4.4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 2.6vw, 32px);
}

.shot-stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.shot-label,
.shot-value {
  margin: 0;
}

.shot-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(16px, 2.1vw, 25px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shot-label i {
  width: 9px;
  height: 9px;
  background: var(--mint);
  border-radius: 999px;
}

.shot-stat-rest .shot-label i {
  background: var(--rest);
}

.shot-value {
  margin-top: clamp(12px, 2vw, 22px);
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: clamp(5px, 0.8vw, 10px);
  line-height: 0.8;
}

.shot-value strong {
  font-size: clamp(76px, 12vw, 142px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.shot-value span {
  color: var(--mint);
  font-size: clamp(25px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.shot-stat-rest .shot-value span {
  color: var(--rest);
}

.shot-divider {
  width: 1px;
  height: clamp(138px, 19vw, 220px);
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.shot-apps {
  --shot-app-slot: clamp(30px, 3.6vw, 42px);
  min-height: clamp(30px, 3.6vw, 42px);
  margin-top: clamp(14px, 1.7vw, 20px);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: calc(var(--shot-app-slot) * 0.2);
}

.shot-app {
  width: var(--shot-app-slot);
  height: var(--shot-app-slot);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 25%;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

/* Native app icons already include optical padding in their artwork. Keep one
   shared slot for every item and inset generated web badges to the same visible
   footprint, matching the 20/17 pt metric used by the macOS app. */
.shot-app-spark,
.shot-app-more,
.shot-app-youtube,
.shot-app-letter {
  transform: scale(0.85);
}

.shot-app img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shot-app-spark {
  position: relative;
  background: #171817;
}

.shot-app-spark::before {
  content: "";
  width: 48%;
  height: 48%;
  background: #f7f7f4;
  clip-path: polygon(50% 0, 59% 35%, 85% 15%, 65% 41%, 100% 50%, 65% 59%, 85% 85%, 59% 65%, 50% 100%, 41% 65%, 15% 85%, 35% 59%, 0 50%, 35% 41%, 15% 15%, 41% 35%);
}

.shot-app-more {
  color: rgba(255, 255, 255, 0.62);
  background: #1d1e1d;
  font-size: clamp(12px, 1.4vw, 16px);
  font-weight: 600;
}

.shot-app-youtube svg {
  width: 100%;
  height: 100%;
}

.shot-app-youtube rect {
  fill: #ff1748;
}

.shot-app-youtube path {
  fill: #fff;
}

.shot-app-letter {
  color: #fff;
  font-size: clamp(14px, 1.8vw, 21px);
  font-weight: 600;
}

.shot-app-w {
  background: #6c3cff;
}

.shot-app-t {
  background: #8b5cff;
}

.shot-app-k {
  background: #ff7838;
}

.shot-timeline {
  position: absolute;
  right: clamp(32px, 5.3vw, 66px);
  bottom: clamp(20px, 3vw, 40px);
  left: clamp(32px, 5.3vw, 66px);
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 10px);
}

.shot-timeline i {
  position: relative;
  height: clamp(7px, 0.9vw, 11px);
  background: #171817;
  border-radius: 999px;
  overflow: hidden;
}

.shot-timeline .is-mixed::before,
.shot-timeline .is-mixed::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
}

.shot-timeline .is-mixed::before {
  left: 0;
  width: 74%;
  background: var(--mint);
}

.shot-timeline .is-mixed::after {
  left: 74%;
  width: 5%;
  background: var(--rest);
}

.product-stage figcaption {
  padding: 28px 6px 2px;
}

.section {
  min-height: 92svh;
  padding: var(--section-space) 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.truth {
  background: var(--paper-2);
}

.logic {
  width: min(100%, 1140px);
  margin: 80px auto 0;
  padding: 12px;
  color: #fff;
  background: var(--inverse-surface);
  border-radius: var(--radius);
}

.logic-conditions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
}

.logic-conditions > div {
  min-height: 154px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: #151615;
}

.logic-conditions span {
  color: rgba(255, 255, 255, 0.38);
}

.logic-conditions strong,
.logic-result strong {
  font-weight: 600;
}

.logic-result {
  margin-top: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--accent-ink);
  background: var(--mint);
  border-radius: calc(var(--radius) - 8px);
}

.logic-result span {
  color: rgba(8, 9, 8, 0.58);
}

.browser {
  background: var(--paper);
}

.browser-stage {
  width: min(100%, 1180px);
  min-height: min(720px, 76svh);
  margin: auto;
  padding: clamp(42px, 6.5vw, 94px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  color: #fff;
  background: #080908;
  border-radius: var(--radius);
}

.browser-copy h2 {
  font-size: var(--display-size);
}

.browser-copy > p:last-child {
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.58);
}

.tab-demo {
  padding: 14px;
  background: #161716;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
}

.tab-strip {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 8px;
}

.tab-strip span {
  min-width: 0;
  padding: 14px 12px;
  color: rgba(255, 255, 255, 0.42);
  background: #0e0f0e;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-strip .tab-active {
  color: #fff;
  background: #292a29;
}

.tab-active i {
  width: 9px;
  height: 9px;
  margin-right: 7px;
  display: inline-block;
  background: #ff234f;
  border-radius: 3px;
}

.classification {
  margin-top: 10px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
  background: #0e0f0e;
  border-radius: 22px;
}

.service-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #ff1748;
  border-radius: 15px;
}

.service-mark svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.classification div:nth-child(2) {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.46);
}

.classification strong {
  color: #fff;
  font-weight: 600;
}

.live-dot {
  padding: 9px 12px;
  color: var(--mint);
  background: rgba(146, 239, 196, 0.1);
  border-radius: 999px;
}

.service-note {
  margin-top: 10px;
  padding: 18px 8px 4px;
  color: rgba(255, 255, 255, 0.48);
  text-align: center;
}

.rhythm {
  background: var(--paper-2);
}

.period-demo {
  width: min(100%, 900px);
  margin: 80px auto 0;
  padding: clamp(30px, 5vw, 66px);
  color: #fff;
  background: var(--inverse-surface);
  border-radius: var(--radius);
}

.period-tabs {
  --active-index: 0;
  position: relative;
  width: min(100%, 330px);
  margin: 0 auto 56px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #1a1b1a;
  border-radius: 999px;
}

.period-tabs::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 12px) / 3);
  background: #313331;
  border-radius: 999px;
  transform: translateX(calc(var(--active-index) * 100%));
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.period-tab {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease;
}

.period-tab:hover,
.period-tab[aria-selected="true"] {
  color: #fff;
}

.period-tab:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: -2px;
}

.period-values {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}

.period-values > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.52);
}

.period-values strong {
  color: #fff;
  font-size: var(--display-size);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.period-number {
  display: inline-block;
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
  transition:
    transform 170ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 130ms ease,
    filter 170ms ease;
  will-change: transform, opacity, filter;
}

.period-number.is-leaving {
  transform: translateY(-0.14em);
  opacity: 0;
  filter: blur(5px);
}

.period-number.is-entering {
  transform: translateY(0.14em);
  opacity: 0;
  filter: blur(5px);
  transition: none;
}

.period-values > i {
  width: 1px;
  height: 94px;
  background: rgba(255, 255, 255, 0.16);
}

.timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 7px;
}

.timeline i {
  height: 9px;
  background: #252625;
  border-radius: 999px;
  transform-origin: left center;
}

.timeline.is-animating i {
  animation: period-segment-wave 430ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--segment-index, 0) * 13ms);
}

@keyframes period-segment-wave {
  0% {
    transform: translateY(2px) scaleX(0.48);
    opacity: 0.28;
    filter: blur(3.5px);
  }

  58% {
    transform: translateY(0) scaleX(1.035);
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: translateY(0) scaleX(1);
    opacity: 1;
    filter: blur(0);
  }
}

.timeline i:nth-child(-n + 4) {
  background: var(--mint);
}

.timeline i:nth-child(5) {
  background: linear-gradient(90deg, var(--mint) 0 30%, var(--rest) 30% 100%);
}

.timeline i:nth-child(6) {
  background: linear-gradient(90deg, var(--rest) 0 16.667%, #252625 16.667% 100%);
}

.quiet {
  color: var(--accent-ink);
  background: var(--mint);
}

.quiet-mark {
  margin: 0 auto 52px;
}

.quiet-mark img {
  border-radius: 27px;
}

.quiet .eyebrow,
.quiet .section-copy > p:last-child {
  color: rgba(8, 9, 8, 0.58);
}

.quiet .section-copy {
  width: min(100%, 1480px);
}

.quiet-title-line {
  font-size: inherit;
  white-space: nowrap;
}

.quiet-points {
  margin: 70px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.quiet-points span {
  padding: 16px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(8, 9, 8, 0.18);
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.quiet-points svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq {
  background: var(--paper);
}

.faq .section-copy {
  margin-bottom: 72px;
}

.faq-list {
  width: min(100%, 940px);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
  font-size: var(--body-size);
  font-weight: 400;
}

.faq-question {
  width: 100%;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

html[data-theme="dark"] .product-stage,
html[data-theme="dark"] .quiet {
  box-shadow: inset 0 0 0 1px rgba(8, 9, 8, 0.08);
}

html[data-theme="dark"] .logic,
html[data-theme="dark"] .browser-stage,
html[data-theme="dark"] .period-demo {
  box-shadow: inset 0 0 0 1px rgba(242, 244, 239, 0.1);
}

.faq-question span {
  font-weight: 600;
}

.faq-question i {
  position: relative;
  width: 22px;
  height: 22px;
  display: block;
}

.faq-question i::before,
.faq-question i::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease;
}

.faq-question i::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-question i::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--muted);
  transition: grid-template-rows 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer > div {
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 220ms ease;
}

.faq-answer p {
  width: min(100%, 760px);
  margin: 0;
  padding: 0 0 28px;
}

.faq-answer p + p {
  margin-top: -14px;
}

.faq-answer a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

.faq-question:focus-visible {
  border-radius: 12px;
  outline-offset: -3px;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer > div {
  padding-top: 8px;
}

.download {
  align-items: center;
  min-height: 100svh;
  background: var(--paper-2);
  text-align: center;
}

.download > img {
  margin-bottom: 48px;
  border-radius: 27px;
}

.download .button {
  margin-top: 40px;
}

.footer {
  padding: 34px max(24px, calc((100vw - 1140px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.footer .brand {
  color: var(--ink);
}

.footer-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.footer-legal a {
  transition: color 180ms ease;
}

.footer-legal a:hover {
  color: var(--ink);
}

.footer-copy {
  justify-self: end;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  :root {
    --display-size: clamp(46px, 11vw, 74px);
    --section-space: 120px;
  }

  .browser-stage {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .browser-copy {
    text-align: center;
  }

  .browser-copy > p:last-child {
    margin-right: auto;
    margin-left: auto;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer-note {
    display: none;
  }

  .footer-middle {
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: flex-start;
    text-align: left;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .footer-copy {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 680px) {
  :root {
    --body-size: 16px;
    --display-size: clamp(44px, 14vw, 62px);
    --section-space: 100px;
    --radius: 30px;
  }

  .site-header {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .nav {
    min-height: 58px;
    padding: 7px 8px 7px 11px;
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .nav-download {
    padding: 0 15px;
    min-height: 44px;
  }

  .theme-toggle-desktop,
  .legal-theme-toggle {
    display: none;
  }

  .theme-toggle-mobile {
    display: block;
    position: fixed;
    z-index: 60;
    right: calc(10px + env(safe-area-inset-right, 0px));
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--chrome-bg);
    border-color: var(--chrome-border);
    box-shadow: 0 8px 28px rgba(8, 9, 8, 0.16);
    backdrop-filter: blur(18px) saturate(115%);
    -webkit-backdrop-filter: blur(18px) saturate(115%);
  }

  .footer,
  .legal-footer {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }

  .hero {
    padding: 134px 14px 72px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .product-stage {
    margin-top: 76px;
    padding: 12px;
  }

  .product-stage-top {
    padding: 7px 4px 18px;
  }

  .product-stage-top span:last-child,
  .product-stage figcaption {
    display: none;
  }

  .product-shot {
    min-height: 330px;
    aspect-ratio: 1.22 / 1;
  }

  .shot-tabs {
    width: calc(100% - 28px);
    min-width: 0;
    margin-top: 16px;
    padding: 5px;
  }

  .shot-tabs span {
    min-height: 40px;
    font-size: 14px;
  }

  .shot-stats {
    margin-top: 54px;
    padding: 0 10px;
    gap: 6px;
  }

  .shot-label {
    gap: 6px;
    font-size: 12px;
    letter-spacing: 0.07em;
  }

  .shot-label i {
    width: 6px;
    height: 6px;
  }

  .shot-value {
    margin-top: 12px;
  }

  .shot-value strong {
    font-size: clamp(52px, 18vw, 74px);
  }

  .shot-value span {
    font-size: clamp(20px, 6.6vw, 28px);
  }

  .shot-divider {
    height: 116px;
  }

  .shot-apps {
    --shot-app-slot: clamp(21px, 6.8vw, 28px);
    min-height: 24px;
    margin-top: 14px;
    gap: calc(var(--shot-app-slot) * 0.2);
  }

  .shot-app {
    width: var(--shot-app-slot);
    height: var(--shot-app-slot);
  }

  .shot-app-more,
  .shot-app-letter {
    font-size: 11px;
  }

  .shot-timeline {
    right: 17px;
    bottom: 20px;
    left: 17px;
    gap: 3px;
  }

  .shot-timeline i {
    height: 6px;
  }

  .section {
    min-height: 0;
    padding-right: 16px;
    padding-left: 16px;
  }

  .logic {
    margin-top: 58px;
    padding: 8px;
  }

  .logic-conditions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logic-conditions > div {
    min-height: 124px;
    padding: 18px;
    gap: 24px;
  }

  .logic-result {
    padding: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .browser {
    padding-right: 10px;
    padding-left: 10px;
  }

  .browser-stage {
    padding: 54px 18px 18px;
    gap: 48px;
  }

  .tab-demo {
    padding: 8px;
    border-radius: 24px;
  }

  .tab-strip span {
    padding: 12px 7px;
  }

  .classification {
    padding: 17px;
    grid-template-columns: auto 1fr;
  }

  .classification .live-dot {
    display: none;
  }

  .service-note {
    padding: 14px 4px 4px;
  }

  .period-demo {
    margin-top: 58px;
    padding: 28px 18px;
  }

  .period-tabs {
    margin-bottom: 42px;
  }

  .period-tab {
    padding: 9px 13px;
  }

  .period-values {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: 11px;
  }

  .period-values strong {
    font-size: clamp(26px, 8vw, 48px);
  }

  .period-values > i {
    height: 72px;
  }

  .timeline {
    margin-top: 42px;
    gap: 4px;
  }

  .quiet-points {
    margin-top: 54px;
    flex-direction: column;
    align-items: center;
  }

  .faq .section-copy {
    margin-bottom: 48px;
  }

  .faq-question {
    padding: 24px 0;
  }

  .footer {
    padding: 28px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .timeline.is-animating i {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .period-tabs::before,
  .period-number {
    transition: none !important;
  }
}
