:root {
  --white: #fff;
  --ink: #471515;
  --muted: #7d6767;
  --coral: #ff7c7c;
  --coral-dark: #d95757;
  --coral-soft: #fff0ed;
  --line: #f2d8d4;
  --teal: #267c77;
  --max: 72rem;
  --shadow: 0 1.5rem 3rem rgb(71 21 21 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  padding: 0.9rem max(1.5rem, calc((100vw - var(--max)) / 2));
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid rgb(71 21 21 / 7%);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.065em;
  text-decoration: none;
}

.brand img {
  border-radius: 0.55rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav>a:not(.button) {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.menu-toggle {
  display: none;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 7rem 2rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.065em;
  line-height: 0.96;
}

h1 {
  max-width: 8.6ch;
  margin-bottom: 1.8rem;
  font-size: clamp(3.35rem, 6.2vw, 5.8rem);
}

h2 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.45rem, 4.25vw, 4.35rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.28rem;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-number {
  margin-bottom: 1.3rem;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.4rem;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--coral);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0.65rem 1.3rem rgb(217 87 87 / 20%);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.button:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
}

.button--small {
  min-height: 2.9rem;
  padding: 0.6rem 1rem;
  font-size: 0.84rem;
}

.button--timer {
  min-height: 2.7rem;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
}

.button--dark {
  background: var(--ink);
  box-shadow: none;
}

.button--dark:hover {
  background: #260a0a;
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.availability {
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
}

.availability::before {
  content: "◦";
  margin-right: 0.4rem;
  color: var(--teal);
}

.availability--dark {
  color: #754f4f;
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 2rem;
  min-height: calc(100svh - 4.75rem);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero__copy>p {
  max-width: 29rem;
  margin-bottom: 1.8rem;
  font-size: 1.2rem;
}

.hero__media {
  display: grid;
  place-items: center;
  margin: 0;
}

.hero__media img {
  display: block;
  width: min(100%, 40rem);
  height: auto;
}

.product {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 4rem;
  border-top: 1px solid var(--line);
}

.product__copy>p:not(.section-number) {
  max-width: 25rem;
}

.app-window {
  overflow: hidden;
  border: 1px solid #eadede;
  border-radius: 1.1rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border-bottom: 1px solid #eee3e2;
  color: var(--muted);
  font-size: 0.68rem;
}

.window-bar span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #ff8383;
}

.window-bar span:nth-child(2) {
  background: #ffc55a;
}

.window-bar span:nth-child(3) {
  background: #78c785;
}

.window-bar b {
  margin: 0 auto;
  font-weight: 700;
}

.app-screen {
  display: grid;
  grid-template-columns: 0.85fr 1fr 0.85fr;
  min-height: 22rem;
}

.task-panel,
.settings-panel {
  padding: 1.35rem;
  background: #fffafa;
}

.task-panel {
  border-right: 1px solid #f0e4e2;
}

.settings-panel {
  border-left: 1px solid #f0e4e2;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  font-size: 0.76rem;
}

.panel-heading button {
  border: 0;
  background: transparent;
  color: var(--coral-dark);
  font-size: 1.25rem;
  cursor: pointer;
}

.task-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.65rem 0;
  color: var(--muted);
  font-size: 0.66rem;
}

.task-row input {
  accent-color: var(--coral);
}

.focus-panel {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.75rem;
  min-width: 0;
  overflow: hidden;
}

.timer-dial {
  position: relative;
  display: grid;
  width: 10.4rem;
  aspect-ratio: 1;
  place-content: center;
  justify-items: center;
  gap: 0.2rem;
}

.timer-dial::before {
  position: absolute;
  inset: 0;
  content: "";
  border: 4px solid #ffd7d4;
  border-right-color: var(--coral);
  border-radius: 50%;
  transform: rotate(-35deg);
}

.timer-dial>* {
  position: relative;
  z-index: 1;
}

.timer-dial>span,
.focus-panel small {
  color: var(--muted);
  font-size: 0.67rem;
}

.timer-dial strong {
  font-size: 2.3rem;
  letter-spacing: -0.08em;
}

.settings-panel>strong {
  font-size: 0.76rem;
}

.settings-panel dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 0.6rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.65rem;
}

.settings-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.notification-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid #f0e4e2;
  color: var(--muted);
  font-size: 0.65rem;
}

.notification-toggle input {
  position: absolute;
  opacity: 0;
}

.notification-toggle i {
  width: 1.8rem;
  height: 1rem;
  border-radius: 999px;
  background: #d8c9c7;
}

.notification-toggle i::after {
  content: "";
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  margin: 0.15rem;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s;
}

.notification-toggle input:checked+i {
  background: var(--teal);
}

.notification-toggle input:checked+i::after {
  transform: translateX(0.8rem);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 2.5rem;
}

.features article {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.features svg {
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 1.3rem;
  fill: none;
  stroke: var(--coral-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.features p {
  max-width: 15rem;
  margin-bottom: 0;
  font-size: 0.93rem;
}

.download-band {
  display: grid;
  place-items: center;
  min-height: 29rem;
  padding: 4rem 2rem;
  background: var(--coral-soft);
  text-align: center;
}

.download-band>div {
  display: grid;
  justify-items: center;
}

.download-band h2 {
  font-family: ui-serif, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.faq {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 4rem;
}

.faq__items {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

summary::after {
  content: "+";
  color: var(--coral-dark);
  font-size: 1.35rem;
  line-height: 0.8;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 42rem;
  margin: 0.85rem 2rem 0 0;
  font-size: 0.94rem;
}

.site-footer {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  min-height: 7rem;
  margin: 0 auto;
  padding: 2rem max(2rem, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  background: #241313;
  color: var(--white);
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.site-footer::before {
  inset: 0;
  background:
    radial-gradient(ellipse 38% 120% at 4% 120%,
      rgb(255 106 69 / 72%),
      transparent 62%),
    radial-gradient(ellipse 26% 100% at 48% 110%,
      rgb(218 64 46 / 68%),
      transparent 60%),
    radial-gradient(ellipse 34% 100% at 92% 116%,
      rgb(255 123 68 / 55%),
      transparent 62%),
    linear-gradient(105deg,
      transparent 12%,
      rgb(255 99 61 / 16%) 27%,
      transparent 43%,
      rgb(255 130 66 / 18%) 61%,
      transparent 76%);
  background-size: 150% 100%;
  animation: lava-flow 14s linear infinite;
}

.site-footer::after {
  right: -15%;
  bottom: -3.4rem;
  left: -15%;
  height: 5.7rem;
  background: radial-gradient(ellipse at center,
      rgb(255 164 91 / 72%) 0 10%,
      rgb(255 86 53 / 52%) 18%,
      transparent 48%) 0 0 / 14rem 5.7rem repeat-x;
  filter: blur(8px);
  opacity: 0.8;
  animation: lava-glow 3.8s ease-in-out infinite;
}

.site-footer>* {
  position: relative;
  z-index: 1;
}

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

.site-footer p {
  margin: 0;
  color: #f3cfca;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem 1.15rem;
}

.footer-links a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

@keyframes lava-flow {
  to {
    background-position: 150% 0;
  }
}

@keyframes lava-glow {

  0%,
  100% {
    opacity: 0.58;
    transform: translateX(-2%) scaleY(0.92);
  }

  50% {
    opacity: 0.95;
    transform: translateX(2%) scaleY(1.08);
  }
}

@media (max-width: 800px) {
  .site-header {
    padding: 0.85rem 1.25rem;
  }

  .menu-toggle {
    display: grid;
    gap: 0.32rem;
    padding: 0.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 1.4rem;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .article-page .site-header {
    align-items: center;
    flex-wrap: wrap;
  }

  .article-page .site-nav {
    position: static;
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero,
  .product,
  .faq {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero__media {
    order: -1;
  }

  .hero__media img {
    width: min(100%, 28rem);
  }

  .product {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 4.5rem;
  }

  .features article {
    padding-top: 1.25rem;
  }

  .app-screen {
    grid-template-columns: 1fr 1.15fr;
    min-height: 19rem;
  }

  .settings-panel {
    display: none;
  }

  .download-band {
    min-height: 22rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem 1.25rem;
    gap: 0.8rem;
  }

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

.article-page {
  min-height: 100svh;
}

.article-main {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 5.5rem 2rem 7rem;
}

.article-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3.5rem;
  margin-bottom: 6rem;
}

.article-hero h1 {
  max-width: 8ch;
}

.article-hero p {
  max-width: 31rem;
  font-size: 1.16rem;
}

.article-hero figure,
.article-visual {
  margin: 0;
}

.article-hero img,
.article-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.article-content {
  width: min(100%, 47rem);
  margin: 0 auto;
}

.article-content h2 {
  margin-top: 4.5rem;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
}

.article-content h3 {
  margin-top: 2.1rem;
}

.article-content p,
.article-content li {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.article-content ol {
  display: grid;
  gap: 1rem;
  padding-left: 1.4rem;
}

.article-content li::marker {
  color: var(--coral-dark);
  font-weight: 800;
}

.article-note {
  margin: 3rem 0;
  padding: 1.5rem;
  border-left: 3px solid var(--coral);
  background: var(--coral-soft);
  color: var(--ink);
}

.article-source {
  margin-top: 3.5rem;
  font-size: 0.88rem !important;
}

.article-source a {
  color: var(--ink);
  font-weight: 700;
}

.article-visual {
  width: min(100%, 56rem);
  margin: 4rem auto;
}

.legal-page {
  width: min(100%, 46rem);
  margin: 0 auto;
  padding: 5.5rem 2rem 7rem;
}

.legal-page h1 {
  max-width: 12ch;
}

.legal-page h2 {
  margin-top: 3.6rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page ul {
  display: grid;
  gap: 0.6rem;
}

.legal-page time {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 800px) {

  .article-main,
  .legal-page {
    padding: 4rem 1.25rem 5rem;
  }

  .article-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .article-hero figure {
    order: -1;
    margin: 0 -1.25rem;
  }

  .article-content h2 {
    margin-top: 3.5rem;
  }
}

@media (max-width: 420px) {
  .article-page .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-screen {
    grid-template-columns: 1fr;
    min-height: 18rem;
  }

  .task-panel {
    display: none;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 4rem 1.25rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .hero__media {
    margin: 0 -1.25rem;
  }

  .app-window {
    margin: 0 -1.25rem;
    border-radius: 0;
  }

  .task-panel {
    padding: 1rem;
  }

  .focus-panel strong {
    font-size: 2rem;
  }

  .download-band {
    padding: 3.5rem 1.25rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .site-footer::before,
  .site-footer::after {
    animation: none;
  }
}