:root {
  font-family: Arial, Helvetica, sans-serif;
  color-scheme: light;
  --bg: #f5f3ee;
  --ink: #20201e;
  --muted: #67665f;
  --line: #d8d5cd;
  --orange: #b73e09;
  --surface: #eeece6;
  background: var(--bg);
  color: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141414;
  --ink: #f2f0e9;
  --muted: #a5a49c;
  --line: #363633;
  --orange: #ff8b4d;
  --surface: #1d1d1c;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #141414;
    --ink: #f2f0e9;
    --muted: #a5a49c;
    --line: #363633;
    --orange: #ff8b4d;
    --surface: #1d1d1c;
  }
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
p, h1, h2 { margin: 0; }
.wrap { width: min(880px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 18px; font-weight: 600; letter-spacing: -.4px; }
.wordmark span { color: var(--orange); }
.theme-toggle { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 24px; background: transparent; color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; }
.theme-toggle:hover { background: var(--surface); }
.theme-toggle[hidden] { display: none; }
.sun { display: none; }
[data-theme="dark"] .sun { display: block; }
[data-theme="dark"] .moon { display: none; }
main { padding-block: 54px; }
h1 { margin-bottom: 30px; font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -.7px; }
.app { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.app + .app { margin-top: 24px; }
.app-copy { padding: 34px; align-self: center; }
.app-identity { display: flex; align-items: center; gap: 15px; }
.app-icon { border-radius: 12px; }
.app h2 { font-size: 19px; font-weight: 500; letter-spacing: -.4px; line-height: 1.4; }
.app-copy > p { margin-top: 24px; max-width: 490px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.app-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--orange); font-size: 13px; white-space: nowrap; }
.app-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.app-copy > .app-context { margin-top: 16px; font-size: 12px; }
.app-context a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px 18px; background: var(--ink); color: var(--bg); z-index: 1; }
.skip-link:focus { top: 12px; }
.not-found p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
@media (max-width: 600px) {
  .site-header { height: 76px; }
  .theme-toggle { width: 44px; padding: 0; }
  .theme-label { display: none; }
  main { padding-block: 38px; }
  h1 { font-size: 25px; margin-bottom: 24px; }
  .app { grid-template-columns: 1fr; }
  .app-copy { padding: 26px; }
  .app-icon { width: 48px; height: 48px; }

}

.app-art { display: flex; align-items: center; justify-content: center; min-height: 440px; overflow: hidden; background-color: #ed702e; background-image: linear-gradient(#4420090d 1px, transparent 1px), linear-gradient(90deg, #4420090d 1px, transparent 1px); background-size: 32px 32px; color: #24241f; }
.workout-art {
  background-color: #252623;
  background-image: radial-gradient(ellipse at center, #93bf2026, transparent 72%);
  background-size: 100% 100%;
  padding: 30px;
}
.app-phone {
  position: relative;
  box-sizing: border-box;
  width: 184px;
  max-width: 100%;
  aspect-ratio: 71.9 / 150;
  border: 1px solid #626568;
  border-radius: 14% / 6.7%;
  background: #08090a;
  box-shadow:
    inset 0 0 0 2px #202225,
    0 2px 3px #0005,
    0 18px 36px #0005;
}
.app-phone__screen {
  position: absolute;
  inset: 2%;
  display: block;
  width: 96%;
  height: 96%;
  object-fit: contain;
  border-radius: 12% / 5.7%;
  background: #000;
}
.app-phone::before,
.app-phone::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}
.app-phone::before {
  top: 3%;
  width: 28%;
  height: 3%;
  border-radius: 999px;
  background: #08090a;
  box-shadow: inset 0 0 0 1px #17181b;
}
.app-phone::after {
  bottom: 2.8%;
  width: 30%;
  height: 0.65%;
  border-radius: 999px;
  background: #f5f5f7;
}
.notebook { position: relative; width: 270px; padding: 23px 22px 20px; border-left: 8px solid #dfd7c7; border-radius: 5px 17px 17px 5px; background: #f6f2e8; box-shadow: -5px 4px 0 #d4cbbb, -8px 7px 0 #e5ddce, 16px 22px 30px #68300835; transform: rotate(-6deg); }
.notebook-header { display: flex; align-items: center; gap: 9px; font-size: 20px; letter-spacing: -1px; }
.notebook-header img { border-radius: 8px; }
.notebook-plus { margin-left: auto; color: #66645c; font-size: 25px; }
.notebook-heading { padding: 26px 0 13px; border-bottom: 1px solid #dcd6ca; color: #727066; font: 10px ui-monospace, monospace; }
.collection { display: flex; align-items: center; gap: 11px; padding: 17px 0; border-bottom: 1px solid #dcd6ca; font-size: 13px; letter-spacing: -.25px; }
.collection small { display: block; margin-top: 4px; color: #767268; font-size: 9px; }
.collection-icon { display: grid; place-items: center; width: 29px; height: 32px; border-radius: 4px; font-size: 19px; }
.notes { color: #70639d; background: #e9e3f0; }
.tasks { color: #527a67; background: #e0e9db; }
.recipes { color: #a26b3e; background: #efe2cc; }
.collection-arrow { margin-left: auto; color: #888174; font-size: 12px; }
.notebook-bottom { display: flex; align-items: center; gap: 6px; padding-top: 22px; color: #777166; font: 8px ui-monospace, monospace; }
.small-dot { width: 4px; height: 4px; border-radius: 50%; background: #7b8e6d; }
.index-tab { position: absolute; right: -12px; width: 12px; height: 45px; border-radius: 0 4px 4px 0; }
.tab-one { top: 96px; background: #9c8ab4; }
.tab-two { top: 145px; background: #8eaa83; }
.tab-three { top: 194px; background: #d7aa6c; }
@media (min-width: 601px) and (max-width: 760px) { .notebook { width: 240px; padding-inline: 15px; } .app-copy { padding: 24px; } }
@media (max-width: 360px) { .notebook { width: 240px; padding-inline: 15px; } }
