/* Plain — website styles. Black and Helvetica Neue, to match the app. */

:root {
  --bg: #000;
  --fg: #f5f5f5;
  --muted: #8c8c8c;
  --line: #262626;
  --line-strong: #3d3d3d;
  --panel: #0a0a0a;
  --font: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
  --gutter: 24px;
  --max: 1120px;
  color-scheme: dark;
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

::selection { background: var(--fg); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--fg);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  z-index: 20;
}
.skip:focus { top: 12px; }

/* Header */

.site-header { border-bottom: 1px solid transparent; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 12px 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--fg); }

@media (max-width: 400px) {
  .nav-links { gap: 20px; }
  .nav-links .optional { display: none; }
}

/* Type */

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 500;
  font-size: 17px;
}

.display {
  margin: 0;
  font-weight: 300;
  font-size: clamp(50px, 8.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  margin: 24px 0 0;
  max-width: 30ch;
  color: var(--muted);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.45;
}

.body {
  margin: 16px 0 0;
  max-width: 36ch;
  color: var(--muted);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.5;
  text-wrap: pretty;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: var(--fg); }

/* Hero */

.hero {
  display: grid;
  gap: 64px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 104px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    padding-top: 72px;
    padding-bottom: 128px;
  }
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 13px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
}
.soon::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg);
}

/* Phone */

.phone {
  justify-self: center;
  width: min(300px, 100%);
  aspect-ratio: 300 / 630;
  padding: 10px;
  border-radius: 54px;
  background: #121212;
  box-shadow:
    0 0 0 1px #2c2c2c,
    inset 0 0 0 1px #1f1f1f;
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 44px;
  background: #000;
  overflow: hidden;
}

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px 0 32px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.battery {
  position: relative;
  width: 24px;
  height: 12px;
  border: 1.5px solid rgba(245, 245, 245, 0.5);
  border-radius: 4px;
  padding: 1.5px;
}
.battery::before {
  content: "";
  display: block;
  width: 72%;
  height: 100%;
  border-radius: 1.5px;
  background: var(--fg);
}
.battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: rgba(245, 245, 245, 0.5);
}

.launcher {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.rows {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0 38px;
  text-align: center;
}
.rows li {
  height: 44px;
  line-height: 44px;
  font-weight: 500;
  font-size: 23px;
  white-space: nowrap;
}
.rows[hidden] { display: none; }
.rows.fade-in { animation: fade-in 0.35s ease both; }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.page-dots {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.page-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--fg);
  transition: background 0.2s ease;
}
.page-dots span.on { background: var(--fg); }

.home-indicator {
  width: 112px;
  height: 4px;
  margin: 0 auto 9px;
  border-radius: 2px;
  background: var(--fg);
}

/* Features */

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

.feature {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: 0; }

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    padding: 112px 0;
  }
  .feature:nth-child(even) .picture { order: -1; }
}

.details {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  max-width: 440px;
  border-top: 1px solid var(--line);
}
.details li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 17px;
}

.picture {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  padding: 44px 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
  overflow: hidden;
}

@media (max-width: 480px) {
  .picture { min-height: 380px; padding: 36px 20px; border-radius: 26px; }
}

/* Picture: widgets carousel */

.cards {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.card {
  flex: none;
  width: 190px;
  text-align: center;
}
.card.side { opacity: 0.3; }

.card-face {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 350 / 566;
  border: 1.5px dashed var(--fg);
  border-radius: 20px;
}
.card-face ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.card-face li {
  font-weight: 500;
  font-size: 16px;
  line-height: 32px;
}
.card-face .plus {
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
}

.card-caption {
  margin-top: 18px;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
}
.card-caption small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(140, 140, 140, 0.4);
}
.dots span.on { background: var(--fg); }

/* Picture: block schedules */

.app-screen {
  width: 100%;
  max-width: 400px;
}

.app-screen-title {
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.01em;
}

.block-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  border-bottom: 1px solid var(--line);
}
.block-row > div { min-width: 0; }
.block-row strong {
  display: block;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
}
.block-row .sub {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge {
  flex: none;
  margin-left: auto;
  padding: 5px 12px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.badge.filled { background: var(--fg); color: var(--bg); }
.badge.off { border-color: var(--line-strong); color: var(--muted); }

/* Picture: breathing */

.breathe {
  position: relative;
  display: grid;
  place-items: center;
  width: 260px;
  height: 260px;
}

.ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--fg);
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.04);
  transform: scale(0.55);
  animation: breathe 10s ease-in-out infinite;
}

.breathe-label {
  grid-area: 1 / 1;
  font-weight: 500;
  font-size: 22px;
}
.breathe-label.in { animation: label-in 10s linear infinite; }
.breathe-label.out { animation: label-out 10s linear infinite; }

.breathe-note {
  margin-top: 36px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  text-align: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.pill {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
}
.pill.filled { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* In for four seconds, out for six, like the app. */
@keyframes breathe {
  0% { transform: scale(0.55); }
  40% { transform: scale(1); }
  100% { transform: scale(0.55); }
}
@keyframes label-in {
  0%, 37% { opacity: 1; }
  41%, 96% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes label-out {
  0%, 37% { opacity: 0; }
  41%, 96% { opacity: 1; }
  100% { opacity: 0; }
}

/* Picture: stats */

.stat-label {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}

.stat-big {
  margin: 2px 0 0;
  font-weight: 300;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.stat-pair {
  display: flex;
  gap: 32px;
  margin-top: 12px;
}
.stat-pair strong {
  display: block;
  font-weight: 500;
  font-size: 22px;
}
.stat-pair span {
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}

.bars {
  display: flex;
  align-items: flex-end;
  height: 96px;
  margin-top: 28px;
}
.bars span {
  flex: 1;
  display: flex;
  justify-content: center;
}
.bars span::before {
  content: "";
  width: 6px;
  height: var(--h);
  border-radius: 3px;
  background: rgba(140, 140, 140, 0.6);
}
.bars span.today::before { background: var(--fg); }

.days {
  display: flex;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}
.days span { flex: 1; text-align: center; }

.top-apps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.top-apps li {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 16px;
}
.top-apps li span:last-child { color: var(--muted); }

/* Sections */

.section {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .feature { padding: 72px 0; }
}

.split {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 96px;
  }
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.45;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  color: var(--muted);
}

.note {
  margin-top: 40px;
}
.note h3 {
  margin: 0;
  font-weight: 500;
  font-size: 24px;
}
.note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
}

/* Privacy statement */

.statement {
  max-width: 880px;
}
.statement .title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
}
.statement .body { max-width: 46ch; font-size: clamp(19px, 2vw, 22px); margin-top: 24px; }

/* FAQ */

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

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

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--fg), var(--fg)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--fg), var(--fg)) center / 1.5px 12px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  margin: -6px 0 24px;
  max-width: 60ch;
  color: var(--muted);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
}

.contact {
  margin-top: 40px;
  font-weight: 500;
  font-size: 19px;
}
.contact a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 5px;
}
.contact a:hover { text-decoration-color: var(--fg); }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
}
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer a { text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--fg); }

/* Privacy policy page */

.policy {
  max-width: 44rem;
  padding: 56px 0 112px;
}

.policy h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.policy .effective {
  margin: 20px 0 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 16px;
}

.policy .intro {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  line-height: 1.6;
}

.policy h2 {
  margin: 64px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  scroll-margin-top: 24px;
}

.policy p,
.policy li {
  color: #d6d6d6;
  font-size: 18px;
  line-height: 1.65;
}

.policy p { margin: 18px 0 0; }

.policy strong { color: var(--fg); font-weight: 500; }

.policy ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.policy li {
  position: relative;
  padding-left: 24px;
  margin-top: 14px;
}
.policy li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 8px;
  height: 1.5px;
  background: var(--muted);
}

.policy a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.policy a:hover { text-decoration-color: var(--fg); }

.policy .refs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* Motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring { animation: none; transform: scale(1); }
  .breathe-label.in { animation: none; opacity: 1; }
  .breathe-label.out { animation: none; opacity: 0; }
  .rows.fade-in { animation: none; }
}
