:root {
  color-scheme: dark;
  --bg: #050b18;
  --bg-soft: #081121;
  --surface: rgba(14, 21, 37, 0.88);
  --surface-strong: #101827;
  --surface-muted: rgba(255, 255, 255, 0.045);
  --line: rgba(155, 171, 207, 0.18);
  --line-strong: rgba(155, 171, 207, 0.36);
  --text: #f7f9ff;
  --muted: #aeb8ce;
  --muted-strong: #d8deeb;
  --accent: #00e995;
  --accent-dark: #069967;
  --blue: #2388ff;
  --pink: #ff3e86;
  --purple: #9a5cff;
  --yellow: #ffd200;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  --font-display: "Space Grotesk", "Aptos Display", "Trebuchet MS", sans-serif;
  --font-body: "Sora", "Aptos", "Verdana", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8f3;
  --bg-soft: #eaf2e8;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-muted: rgba(6, 20, 38, 0.055);
  --line: rgba(8, 31, 55, 0.14);
  --line-strong: rgba(8, 31, 55, 0.24);
  --text: #07111f;
  --muted: #58657a;
  --muted-strong: #223047;
  --shadow: 0 24px 80px rgba(15, 39, 70, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 74% 12%, rgba(0, 233, 149, 0.11), transparent 22rem),
    radial-gradient(circle at 18% 22%, rgba(35, 136, 255, 0.08), transparent 20rem),
    linear-gradient(180deg, var(--bg), var(--bg-soft) 48%, var(--bg));
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  pointer-events: none;
  content: "";
  filter: blur(26px);
}

body::before {
  top: -20rem;
  left: -11rem;
  background: rgba(35, 136, 255, 0.11);
}

body::after {
  right: -15rem;
  bottom: 10rem;
  background: rgba(0, 233, 149, 0.08);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.page-shell {
  width: min(100%, 1260px);
  margin: 0 auto;
  padding: 0 24px 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 24px 0 16px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--yellow);
  stroke-width: 3;
}

.primary-nav {
  display: flex;
  gap: clamp(18px, 3vw, 46px);
  justify-content: center;
  align-items: center;
  color: var(--muted-strong);
  font-size: 0.96rem;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
  opacity: 0;
  transform: translateY(4px);
  transition: 180ms ease;
}

.nav-link:is(:hover, .active) {
  color: var(--text);
}

.nav-link:is(:hover, .active)::after {
  opacity: 1;
  transform: translateY(0);
}

.header-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

.icon-button,
.stats-button,
.duration-button,
.stop-button,
.ghost-button,
.form-button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface-muted);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.icon-button:hover,
.stats-button:hover,
.duration-button:hover,
.ghost-button:hover,
.form-button:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 233, 149, 0.55);
}

.icon-button {
  display: grid;
  width: 58px;
  height: 40px;
  place-items: center;
}

.icon-button svg {
  width: 21px;
  height: 21px;
}

.stats-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--accent);
  border-color: rgba(0, 233, 149, 0.3);
  font-weight: 800;
}

.stats-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 3.2;
}

.section {
  padding: 42px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 510px);
  gap: clamp(38px, 8vw, 108px);
  align-items: center;
  min-height: 500px;
  padding-top: 42px;
  padding-bottom: 28px;
}

.pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(0, 233, 149, 0.35);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(0, 233, 149, 0.06);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.pill {
  margin: 0 0 28px;
  padding: 10px 22px;
}

.eyebrow {
  margin: 0 0 10px;
  padding: 8px 14px;
}

.hero h1 {
  max-width: 540px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7.3vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.hero h1 span {
  color: var(--accent);
  text-shadow: 0 0 34px rgba(0, 233, 149, 0.32);
}

.hero-text {
  max-width: 450px;
  margin: 26px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.8;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
}

.mini-feature {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.35;
}

.mini-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(0, 233, 149, 0.22);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(0, 233, 149, 0.08);
}

.mini-icon svg {
  width: 20px;
  height: 20px;
}

.control-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 28px 30px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 36%, rgba(0, 233, 149, 0.2), transparent 10rem),
    linear-gradient(145deg, rgba(17, 26, 46, 0.94), rgba(10, 16, 30, 0.9));
  box-shadow: var(--shadow);
}

:root[data-theme="light"] .control-card {
  background:
    radial-gradient(circle at 50% 36%, rgba(0, 184, 117, 0.18), transparent 10rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 244, 239, 0.86));
}

.control-card::before {
  position: absolute;
  top: 34px;
  right: 34px;
  left: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  content: "";
}

.status-line {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  color: var(--accent);
  font-size: 0.93rem;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.status-dot.idle {
  background: var(--muted);
  box-shadow: none;
}

.status-dot.warning {
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 210, 0, 0.5);
}

.power-button {
  position: relative;
  display: grid;
  width: 190px;
  height: 190px;
  margin: 28px auto 30px;
  place-items: center;
  border: 8px solid rgba(0, 233, 149, 0.78);
  border-radius: 999px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.1);
  box-shadow:
    0 0 24px rgba(0, 233, 149, 0.56),
    inset 0 0 24px rgba(0, 233, 149, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.power-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 0 42px rgba(0, 233, 149, 0.66),
    inset 0 0 26px rgba(0, 233, 149, 0.16);
}

.power-button svg {
  width: 52px;
  height: 52px;
  color: var(--accent);
  stroke-width: 4;
}

.power-label {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.power-ring {
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(0, 233, 149, 0.18);
  border-radius: inherit;
  opacity: 0;
}

.is-active .power-ring {
  animation: pulse 1.9s ease-in-out infinite;
  opacity: 1;
}

.duration-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.duration-button {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 750;
}

.duration-button.selected {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(0, 233, 149, 0.16);
}

.timer-line {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 28px 0 18px;
  color: var(--accent);
  font-size: 1.05rem;
}

.timer-line svg {
  width: 19px;
  height: 19px;
}

.stop-button,
.form-button,
.ghost-button {
  width: 100%;
  min-height: 56px;
  border-radius: 12px;
  font-weight: 900;
}

.stop-button {
  border-color: rgba(0, 233, 149, 0.75);
  background: rgba(0, 233, 149, 0.22);
}

.stop-button:not(:disabled):hover,
.form-button:hover {
  box-shadow: 0 16px 38px rgba(0, 233, 149, 0.18);
}

.stop-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.section-heading {
  margin-bottom: 22px;
  text-align: center;
}

.section-heading h2,
.contact-card h2,
.dialog-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-heading p,
.contact-card p,
.dialog-card p {
  margin: 10px auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-heading p {
  max-width: 580px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.five-up {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.info-card {
  min-height: 220px;
  padding: 28px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 10%, color-mix(in srgb, var(--tone) 12%, transparent), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--tone) 48%, var(--line));
}

.info-card.compact {
  min-height: 170px;
}

.card-icon,
.step-icon {
  display: grid;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 999px;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 10%, transparent);
  box-shadow: 0 0 30px color-mix(in srgb, var(--tone) 24%, transparent);
}

.card-icon {
  width: 74px;
  height: 74px;
}

.card-icon.small {
  width: 62px;
  height: 62px;
}

.card-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 2.4;
}

.card-icon.small svg {
  width: 40px;
  height: 40px;
}

.info-card h3,
.step h3,
.footer-column h3,
.newsletter h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.03rem;
  letter-spacing: -0.03em;
}

.info-card p,
.step p {
  margin: 12px 0 0;
  color: var(--muted-strong);
  font-size: 0.93rem;
  line-height: 1.65;
}

.steps-section {
  padding-top: 0;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 68px;
  max-width: 820px;
  margin: 34px auto 0;
}

.steps::before {
  position: absolute;
  top: 38px;
  right: 17%;
  left: 17%;
  height: 2px;
  border-top: 2px dashed rgba(174, 184, 206, 0.38);
  content: "";
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-number {
  position: absolute;
  top: 0;
  left: 22%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--tone);
  font-weight: 900;
}

.step-icon {
  width: 78px;
  height: 78px;
  margin-bottom: 14px;
  border: 1px solid color-mix(in srgb, var(--tone) 22%, var(--line));
}

.step-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 2.6;
}

.faq-list {
  width: min(100%, 1010px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}

details {
  border-bottom: 1px solid var(--line);
}

details:last-child {
  border-bottom: 0;
}

summary {
  position: relative;
  padding: 13px 54px 13px 26px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: 180ms ease;
}

details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

details p {
  margin: 0;
  padding: 0 54px 16px 26px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  padding-top: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 233, 149, 0.11), transparent 18rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

label.full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input {
  min-height: 46px;
  padding: 0 14px;
}

textarea {
  min-height: 116px;
  padding: 12px 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 233, 149, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 233, 149, 0.12);
}

.contact-form .form-button,
.contact-form .form-note {
  grid-column: 1 / -1;
}

.form-button {
  border-color: rgba(0, 233, 149, 0.58);
  background: rgba(0, 233, 149, 0.2);
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 0.8fr 0.8fr 1.45fr;
  gap: 34px;
  align-items: start;
  padding: 30px 10px 0;
  color: var(--muted);
}

.footer-brand p,
.newsletter p {
  max-width: 260px;
  margin: 10px 0 0;
  line-height: 1.6;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-row a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.075);
  font-family: var(--font-display);
  font-weight: 900;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h3,
.newsletter h3 {
  color: var(--text);
}

.footer-column a {
  width: fit-content;
}

.footer-column a:hover,
.social-row a:hover {
  color: var(--accent);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter-form input {
  min-width: 0;
}

.newsletter-form button {
  border: 1px solid rgba(0, 233, 149, 0.46);
  border-radius: 7px;
  color: var(--text);
  background: rgba(0, 233, 149, 0.22);
  padding: 0 18px;
  font-weight: 800;
}

.copyright,
.made-with {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.copyright {
  grid-column: 2 / 4;
}

.made-with {
  grid-column: 5 / 6;
  text-align: right;
}

dialog {
  width: min(92vw, 470px);
  border: 0;
  padding: 0;
  color: var(--text);
  background: transparent;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.dialog-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: var(--surface-muted);
  font-weight: 900;
}

.stats-dialog {
  width: min(92vw, 640px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0;
}

.stats-grid div {
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.stats-grid span {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
}

.stats-grid p {
  margin: 6px 0 0;
  font-size: 0.78rem;
}

.ghost-button {
  min-height: 48px;
  background: transparent;
}

.section-heading.align-left {
  text-align: left;
}

.section-heading.align-left p {
  margin-left: 0;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: end;
  padding-top: 26px;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.page-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 233, 149, 0.1), transparent 11rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.page-panel h2,
.prose-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.05em;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.resource-card {
  display: block;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(35, 136, 255, 0.1), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 233, 149, 0.42);
}

.resource-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.resource-card p {
  margin: 12px 0 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.resource-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 800;
}

.compact-card {
  min-height: 0;
}

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

.prose-shell {
  width: min(100%, 920px);
  margin: 0 auto;
}

.prose-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.prose-card + .prose-card {
  margin-top: 18px;
}

.prose-card p,
.prose-card li,
.page-panel li {
  color: var(--muted-strong);
  line-height: 1.78;
}

.copy-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.copy-list li + li {
  margin-top: 8px;
}

.footer-note {
  margin: 0;
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 620ms ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 80ms;
}

.reveal:nth-child(3) {
  animation-delay: 140ms;
}

.reveal:nth-child(4) {
  animation-delay: 200ms;
}

.reveal:nth-child(5) {
  animation-delay: 260ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-hero,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control-card {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .five-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand,
  .newsletter {
    grid-column: span 3;
  }

  .copyright,
  .made-with {
    grid-column: span 3;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 0 16px 22px;
  }

  .site-header {
    gap: 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .stats-button span {
    display: none;
  }

  .stats-button {
    min-width: 46px;
    padding: 0 12px;
  }

  .hero {
    padding-top: 22px;
  }

  .page-hero,
  .resource-grid,
  .two-up {
    grid-template-columns: 1fr;
  }

  .feature-row {
    gap: 14px;
  }

  .control-card {
    min-height: auto;
    padding: 24px 18px 18px;
  }

  .power-button {
    width: 168px;
    height: 168px;
  }

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

  .duration-button:last-child {
    grid-column: 1 / -1;
  }

  .five-up,
  .steps,
  .contact-card,
  .contact-form,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 30px;
  }

  .steps::before {
    display: none;
  }

  .step-number {
    left: calc(50% - 58px);
  }

  .contact-card {
    padding: 22px;
  }

  .contact-form .form-button,
  .contact-form .form-note,
  label.full {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .footer-brand,
  .newsletter,
  .copyright,
  .made-with {
    grid-column: auto;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
