:root {
  --ink: #0c1016;
  --paper: #f4efe6;
  --mist: #c5ceda;
  --dim: #9aa6b6;
  --hour: #e39a56;
  --hour-soft: #f0c089;
  --quiet: #8fbfb6;
  --sand: #e4c48a;
  --focus: #8eadd4;
  --line: rgba(244, 239, 230, 0.12);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Clears the wrapped mobile header. Desktop tightens this below. */
  scroll-padding-top: 7.75rem;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3, p, ul, figure, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button, summary { font: inherit; color: inherit; }
svg { max-width: 100%; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

section:focus,
main:focus { outline: none; }

::selection {
  background: rgba(227, 154, 86, 0.35);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  z-index: 40;
  padding: 0.5rem 0.8rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

a { color: inherit; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.mark { width: 1.35rem; height: 1.35rem; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 16, 22, 0.92);
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  min-height: 4rem;
  padding: 0.7rem 0;
}

.header-inner > .wordmark { margin-right: auto; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
}

.header-inner > .nav-links {
  width: 100%;
  order: 3;
}

.nav-links a {
  color: var(--mist);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--paper); }

.header-inner > .lang { order: 2; }

.lang {
  display: inline-flex;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 999px;
  padding: 2px;
  background: rgba(12, 16, 22, 0.45);
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--dim);
  min-width: 2.4rem;
  min-height: 2rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.lang button[aria-pressed="true"] {
  background: rgba(244, 239, 230, 0.12);
  color: var(--paper);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.2rem, 5vw, 4.2rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(227, 154, 86, 0.16), transparent 52%),
    radial-gradient(ellipse 65% 50% at 100% 8%, rgba(70, 102, 170, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 40% at 48% 100%, rgba(143, 191, 182, 0.1), transparent 55%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5rem;
  background: linear-gradient(to bottom, transparent, var(--ink));
}

.glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.glow-a {
  width: 58%;
  height: 80%;
  left: -8%;
  top: -18%;
  background: radial-gradient(closest-side, rgba(227, 154, 86, 0.34), transparent 72%);
  animation: drift-a 28s ease-in-out infinite alternate;
}

.glow-b {
  width: 62%;
  height: 85%;
  right: -12%;
  top: -8%;
  background: radial-gradient(closest-side, rgba(78, 112, 184, 0.42), transparent 70%);
  animation: drift-b 34s ease-in-out infinite alternate;
}

.glow-c {
  width: 46%;
  height: 55%;
  left: 28%;
  bottom: -12%;
  background: radial-gradient(closest-side, rgba(143, 191, 182, 0.2), transparent 72%);
  animation: drift-c 30s ease-in-out infinite alternate;
}

@keyframes drift-a { to { transform: translate3d(7%, 5%, 0); } }
@keyframes drift-b { to { transform: translate3d(-6%, 7%, 0); } }
@keyframes drift-c { to { transform: translate3d(4%, -6%, 0); } }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy { max-width: 40rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 0.7rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--paper);
  text-wrap: balance;
}

.title-lead,
.title-em { display: block; }

.title-em {
  font-style: italic;
  font-size: 0.86em;
  color: var(--hour);
}

.tagline {
  margin-top: 1.15rem;
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--mist);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 154, 86, 0.55);
  background: rgba(227, 154, 86, 0.12);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: rgba(227, 154, 86, 0.22);
  border-color: rgba(227, 154, 86, 0.9);
}

.text-link {
  color: var(--paper);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(227, 154, 86, 0.75);
}

.text-link:hover {
  color: var(--hour-soft);
  text-decoration-color: var(--hour);
}

.hero-note {
  margin-top: 1rem;
  max-width: 36rem;
  color: var(--dim);
  font-size: 0.95rem;
}

.dial { margin: 0; }

.dial-face {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.dial-face svg { width: 100%; height: 100%; display: block; }

.dial-track { stroke: #2c384c; }

.arc { stroke-linecap: butt; stroke-dasharray: var(--dash) var(--gap); }
.arc-usage { stroke: var(--hour); }
.arc-sleep { stroke: var(--quiet); }

.dial-readout {
  position: absolute;
  inset: 22%;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.dial-sample {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.dial-time {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--paper);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.15rem 0;
}

.dial-caption {
  max-width: 9rem;
  margin-inline: auto;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--dim);
}

.dial-legend { width: min(100%, 300px); margin: 0.85rem auto 0; }

.dial-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mist);
  font-size: 0.92rem;
  padding: 0.16rem 0;
}

.swatch {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex: none;
}

.swatch-hour { background: var(--hour); }
.swatch-quiet { background: var(--quiet); }
.swatch-dim { background: #2c384c; box-shadow: inset 0 0 0 1px #8b97a8; }

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
  margin: 0 0 0.75rem;
}

h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--paper);
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.0625rem;
  max-width: 42rem;
  text-wrap: pretty;
}

.glass {
  background: rgba(20, 26, 36, 0.72);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow:
    inset 0 1px 0 rgba(244, 239, 230, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}

.product-grid {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
  margin-inline: auto;
}

.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.device-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.15rem 1rem 1.2rem;
  background: radial-gradient(ellipse at 50% 100%, rgba(227, 154, 86, 0.07), transparent 55%);
}

.product-copy { padding: 0.15rem 1.15rem 1.25rem; }

.product-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.75rem;
}

.product h3 {
  font-size: 1.7rem;
  line-height: 1.1;
}

.badge {
  margin-left: auto;
  color: #f6d7b4;
  border: 1px solid rgba(227, 154, 86, 0.5);
  background: rgba(227, 154, 86, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.platform {
  margin: 0.4rem 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--dim);
}

.phone {
  position: relative;
  width: min(100%, 15.6rem);
  background: linear-gradient(165deg, #3a4254 0%, #151b26 28%, #0c1118 70%, #222a38 100%);
  border-radius: 2.15rem;
  padding: 0.55rem;
  box-shadow:
    inset 0 0 0 1px rgba(244, 239, 230, 0.16),
    0 24px 50px rgba(0, 0, 0, 0.35);
}

.phone::before {
  content: "";
  position: absolute;
  right: -2px;
  top: 6.2rem;
  width: 3px;
  height: 2.6rem;
  border-radius: 0 2px 2px 0;
  background: #2a3140;
}

.phone-screen {
  background: #0e141d;
  border-radius: 1.7rem;
  padding: 0.7rem 0.85rem 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.phone-screen::before {
  content: "";
  display: block;
  width: 4.2rem;
  height: 0.32rem;
  border-radius: 999px;
  background: #1c2430;
  margin: 0.15rem auto 0.35rem;
}

.phone-screen::after {
  content: "";
  display: block;
  width: 5rem;
  height: 0.24rem;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.28);
  margin: 0.85rem auto 0.15rem;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.phone-sample,
.chrome-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.phone-today {
  margin: 0.55rem 0 0.1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.rings {
  width: min(86%, 9.6rem);
  height: auto;
  display: block;
  margin: 0.25rem auto 0.7rem;
}

.ring-track {
  fill: none;
  stroke: #2c384c;
  stroke-width: 7;
}

.rings-fg {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: var(--c);
  stroke-dashoffset: var(--offset);
}

.ring-apps { stroke: var(--hour); }
.ring-sites { stroke: var(--sand); }
.ring-focus { stroke: var(--focus); }

.legend { display: grid; gap: 0.38rem; }

.legend li {
  display: grid;
  grid-template-columns: 0.55rem minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.84rem;
  color: var(--mist);
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.dot-apps { background: var(--hour); }
.dot-sites { background: var(--sand); }
.dot-focus { background: var(--focus); }

.legend-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.window,
.browser {
  width: 100%;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.12);
  background: #101720;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.chrome-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  background: #1a212c;
  color: var(--mist);
  font-size: 0.78rem;
}

.chrome-title {
  text-align: center;
  color: var(--paper);
  font-weight: 600;
}

.traffic { display: inline-flex; gap: 0.3rem; }
.traffic i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  display: block;
}
.traffic i:nth-child(1) { background: #c47b74; }
.traffic i:nth-child(2) { background: #d2b07a; }
.traffic i:nth-child(3) { background: #7ea394; }

.url {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  background: #0e141d;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.url span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lock { width: 0.75rem; height: 0.75rem; flex: none; }

.window-body { padding: 0.85rem 0.75rem 0.8rem; }

.chart {
  height: 11.5rem;
  display: flex;
  align-items: stretch;
  gap: 0.3rem;
  background-image: linear-gradient(rgba(244, 239, 230, 0.1), rgba(244, 239, 230, 0.1));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: left calc(100% - 1.25rem);
}

.bar {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
}

.bar-fill {
  width: 70%;
  max-width: 1.05rem;
  height: var(--h);
  border-radius: 0.35rem 0.35rem 0.12rem 0.12rem;
  background: linear-gradient(180deg, #8aa0c4, #33415c);
  transform-origin: bottom center;
}

.bar.is-peak .bar-fill {
  background: linear-gradient(180deg, #f0c089, #c4843e);
}

.bar-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--dim);
  line-height: 1;
}

.window-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.window-stats p {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0;
  padding: 0.5rem 0.55rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(244, 239, 230, 0.08);
}

.window-stats span {
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--dim);
}

.window-stats strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--paper);
  line-height: 1.1;
}

.block-screen {
  min-height: 17.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.3rem;
  padding: 1.6rem 1rem 1.8rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(224, 138, 128, 0.14), transparent 46%),
    #0e141d;
}

.block-icon { width: 3.25rem; height: 3.25rem; margin-bottom: 0.25rem; }

.block-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  color: var(--paper);
  line-height: 1.1;
}

.block-host {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--sand);
}

.block-reason {
  color: var(--mist);
  font-size: 0.92rem;
  max-width: 16rem;
}

.block-until {
  color: var(--dim);
  font-size: 0.85rem;
}

.feature-grid {
  display: grid;
  gap: 0.85rem;
}

.feature { padding: 1.2rem 1.15rem 1.25rem; }

.feature h3 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: 0.45rem;
}

.feature p { font-size: 0.98rem; text-wrap: pretty; }

.feature:hover,
.product:hover,
.edition:hover { border-color: rgba(244, 239, 230, 0.22); }

.spec { padding: 0.35rem 1.35rem 0.5rem; border-left: 2px solid rgba(143, 191, 182, 0.7); }

.spec article {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: 0.35rem 2rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
}

.spec article:first-child { border-top: 0; }

.spec h3 {
  font-size: 1.28rem;
  line-height: 1.2;
}

.spec p { text-wrap: pretty; }

.edition-grid {
  display: grid;
  gap: 1rem;
}

.edition {
  padding: 1.3rem 1.25rem 0.55rem;
  display: flex;
  flex-direction: column;
}

.edition h3 { font-size: 2rem; line-height: 1.1; }

.kicker {
  margin: 0.4rem 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.edition-summary { text-wrap: pretty; }

.edition dl { margin-top: 1rem; }

.edition dl div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.9fr) minmax(0, 1.2fr);
  gap: 0.75rem;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
}

.edition dt { color: var(--dim); font-size: 0.92rem; }

.edition dd {
  margin: 0;
  color: var(--paper);
  text-align: end;
  text-wrap: pretty;
}

.faq details + details { border-top: 1px solid rgba(244, 239, 230, 0.1); }

.faq summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  border-radius: 0.4rem;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }

.faq summary h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.35;
}

.faq summary:hover h3 { color: var(--hour-soft); }

.faq summary::after {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid var(--paper);
  border-bottom: 1.5px solid var(--paper);
  transform: translateY(-0.12rem) rotate(45deg);
}

.faq details[open] summary::after {
  transform: translateY(0.12rem) rotate(225deg);
}

.faq details p {
  padding: 0 1.15rem 1.15rem;
  max-width: 65ch;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 2.8rem;
  border-top: 1px solid rgba(244, 239, 230, 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 11rem;
  left: 25%;
  bottom: -6rem;
  background: radial-gradient(closest-side, rgba(227, 154, 86, 0.16), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  gap: 1.4rem;
}

.footer-tag {
  margin-top: 0.55rem;
  color: var(--dim);
  font-size: 0.95rem;
  max-width: 26rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-nav a {
  color: var(--mist);
  text-decoration: none;
  padding: 0.15rem 0;
}

.footer-nav a:hover { color: var(--paper); }

.footer-end {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.footer-note {
  color: var(--dim);
  font-size: 0.92rem;
  max-width: 22rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0ms);
}

.js [data-reveal].is-visible,
.js [data-reveal]:focus-within {
  opacity: 1;
  transform: none;
}

.js .rings-fg { stroke-dashoffset: var(--c); }

.js .is-visible .rings-fg {
  animation: ring-draw 1.15s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes ring-draw { to { stroke-dashoffset: var(--offset); } }

.js .arc { stroke-dashoffset: var(--len); }

.js .dial.is-visible .arc {
  animation: arc-draw 1.35s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes arc-draw {
  from { stroke-dashoffset: var(--len); }
  to { stroke-dashoffset: 0; }
}

.js .bar-fill { transform: scaleY(0); }

.js .is-visible .bar-fill {
  transform: scaleY(1);
  transition: transform 0.6s ease;
  transition-delay: calc(0.12s + var(--i, 0) * 0.05s);
}

@media (min-width: 700px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:last-child { grid-column: 1 / -1; }
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr auto auto;
    align-items: start;
    gap: 2rem;
  }
  .footer-end { justify-items: end; text-align: end; }
}

@media (min-width: 840px) {
  .edition-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

@media (min-width: 900px) {
  .feature-grid { grid-template-columns: repeat(6, 1fr); }
  .feature:nth-child(1),
  .feature:nth-child(2) { grid-column: span 3; }
  .feature:nth-child(n + 3) { grid-column: span 2; }
  .feature:last-child { grid-column: span 2; }
}

@media (min-width: 960px) {
  html { scroll-padding-top: 5rem; }
  .header-inner { flex-wrap: nowrap; }
  .header-inner > .wordmark { margin-right: 0; }
  .header-inner > .nav-links {
    order: 2;
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
  }
  .header-inner > .lang { order: 3; }
}

@media (min-width: 1080px) {
  .product-grid {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .spec { padding: 0.2rem 1rem 0.4rem; }
  .spec article { grid-template-columns: 1fr; gap: 0.35rem; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 1.5rem); }
  .edition dl div { grid-template-columns: 1fr; gap: 0.15rem; }
  .edition dd { text-align: start; }
  .window-stats { grid-template-columns: 1fr; }
}

@media (forced-colors: active) {
  .button,
  .badge,
  .glass,
  .lang,
  .phone,
  .window,
  .browser { border: 1px solid CanvasText; }
  .title-em,
  .block-host { color: CanvasText; }
}

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

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

  .glow { will-change: auto; }

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

  .js .rings-fg { stroke-dashoffset: var(--offset) !important; }
  .js .arc { stroke-dashoffset: 0 !important; }
  .js .bar-fill { transform: none !important; }
}

@media (scripting: none) {
  [data-reveal] { opacity: 1; transform: none; }
}
