/* crontastic.app: the site's one stylesheet. Tokens and rules from DESIGN.md
   ("Shipped with macOS"); based on docs/brand/directions/apple-native.html. */
:root {
  --bg: #000000;
  --bg-2: #101012;          /* Elevated */
  --bg-3: #1C1C1E;          /* Tile Grey */
  --label: #F5F5F7;
  --label-2: #A1A1A6;       /* Secondary Label */
  --label-3: #6E6E73;       /* Tertiary Label: 18px and up only */
  --sep: rgba(255,255,255,.12);
  --accent: #FF9F0A;        /* Crontastic Orange */
  --accent-deep: #E8790A;
  --accent-hover: #FFB340;
  --ink: #1D1300;           /* Ember Ink: text on orange */
  --green: #30D158; --red: #FF453A;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --win-shadow: 0 0 0 .5px rgba(255,255,255,.22), 0 0 0 1px rgba(0,0,0,.7), 0 28px 70px -10px rgba(0,0,0,.7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scrollbar-color: #3a3a3c #000; scrollbar-width: thin; }
::selection { background: rgba(255,159,10,.42); color: #fff; }
body { margin: 0; background: var(--bg); color: var(--label); font: 400 17px/1.47 var(--sans); letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; overflow-x: hidden; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(255,159,10,.7); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
code, kbd, pre, .mono { font-family: var(--mono); letter-spacing: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 20; background: var(--bg-3); padding: 8px 12px; border-radius: 8px; }

/* ---------- nav ---------- */
.gnav { position: sticky; top: 0; z-index: 10; height: 52px; background: rgba(22,22,23,.78);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,.06); }
.gnav .wrap { height: 100%; display: flex; align-items: center; gap: 36px; max-width: 1040px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 600 17px var(--display); letter-spacing: -0.02em; }
.brand img { width: 26px; height: 26px; }
.gnav ul { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 30px; font-size: 13px; letter-spacing: -0.01em; }
.gnav ul a { text-decoration: none; color: rgba(245,245,247,.8); }
.gnav ul a:hover, .gnav ul a[aria-current] { color: #fff; }

/* ---------- buttons and links ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 980px; text-decoration: none; font-weight: 500;
  background: var(--accent); color: var(--ink); transition: background .2s; border: 0; cursor: pointer; }
.pill:hover { background: var(--accent-hover); }
.pill:active { background: var(--accent-deep); }
.pill-sm { font-size: 13px; padding: 5px 14px; }
/* Until the first release and the checkout exist: a button that's there but not yet live. */
.pill.soon, .pill.soon:hover { background: rgba(255,255,255,.12); color: var(--label-2); cursor: default; }
.pill-lg { font-size: 17px; padding: 13px 24px; }
.pill-lg svg { width: 17px; height: 17px; }
.grey { display: inline-flex; align-items: center; border-radius: 980px; text-decoration: none; font-weight: 500;
  background: rgba(255,255,255,.12); color: var(--label); font-size: 17px; padding: 13px 24px; }
.grey:hover { background: rgba(255,255,255,.18); }
.more { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); text-decoration: none; font-size: 17px; }
.more:hover { text-decoration: underline; }
.more::after { content: "›"; font-size: 1.1em; line-height: 1; }
.cta { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
.micro { font-size: 13px; color: var(--label-2); margin: 14px 0 0; letter-spacing: -0.01em; }
.ex { display: inline-block; font-size: 12px; color: var(--label-2); border: 1px solid rgba(255,255,255,.22); border-radius: 5px; padding: 0 6px; letter-spacing: 0; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
.display-h { font: 700 clamp(40px, 4.6vw, 66px)/1.05 var(--display); letter-spacing: -0.035em; margin: 0 auto; max-width: 24ch; }
.display-h span { display: block; color: var(--label-2); }
.headline { font: 700 clamp(36px, 4.4vw, 64px)/1.05 var(--display); letter-spacing: -0.035em; margin: 0 0 18px; }
.lede { font: 400 clamp(18px, 1.5vw, 21px)/1.4 var(--display); letter-spacing: -0.015em; color: var(--label-2); max-width: 46ch; margin: 16px 0 24px; }
.lede b { color: var(--label); font-weight: 600; }
.statement { font: 600 clamp(28px, 3.4vw, 48px)/1.12 var(--display); letter-spacing: -0.03em; color: var(--label-3); max-width: 24ch; margin: 0; text-wrap: pretty; }
.statement b { color: var(--label); font-weight: 600; }
.statement em { font-style: normal; color: var(--accent); }
h2 em { font-style: normal; color: var(--accent); }  /* a gold word in a heading */

/* ---------- home: hero ---------- */
.hero { text-align: center; padding-top: 64px; }
.hero .lede { margin: 16px auto 24px; }
.shot { margin: 48px auto 0; max-width: 1180px; position: relative; }
.win-img { border-radius: 12px; box-shadow: var(--win-shadow); }
.shot figcaption, .fig figcaption { font-size: 13px; color: var(--label-2); margin-top: 18px; text-align: center; letter-spacing: -0.01em; }

/* The Mac screen: a picture that scales as one piece (sizes in cqw of the screen's width). */
.mac { padding: 12px 12px 0; border-radius: 26px 26px 0 0; background: linear-gradient(180deg, #2a2a2d, #141416 30%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.screen, .desk { position: relative; overflow: hidden; container-type: inline-size; text-align: left;
  background:
    radial-gradient(70% 55% at 72% 108%, #FFB25A 0%, rgba(255,120,50,.85) 22%, rgba(214,74,92,.55) 45%, rgba(214,74,92,0) 70%),
    radial-gradient(60% 50% at 10% 100%, rgba(255,136,64,.6), rgba(255,136,64,0) 60%),
    radial-gradient(80% 70% at 30% 20%, #23285a 0%, rgba(35,40,90,0) 70%),
    linear-gradient(180deg, #070a1c 0%, #141a44 38%, #3b2a68 66%, #8a3f6c 100%); }
.screen { border-radius: 15px 15px 0 0; aspect-ratio: 1180 / 600; }
.desk { border-radius: 22px; aspect-ratio: 1 / 1; }
.hills { position: absolute; inset: auto 0 0 0; width: 100%; height: 60%; }
.mb { position: relative; z-index: 2; height: 2.3cqw; display: flex; align-items: center; gap: 1.55cqw; padding: 0 1.2cqw;
  background: rgba(20,18,40,.38); backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6);
  font: 500 1.12cqw var(--sans); letter-spacing: -0.01em; color: rgba(255,255,255,.92); white-space: nowrap; }
.mb b { font-weight: 700; }
.mb .r { margin-left: auto; display: flex; align-items: center; gap: 1.35cqw; }
.mb svg { display: block; height: 1.15cqw; width: auto; }
.mb .on { background: rgba(255,255,255,.2); border-radius: .45cqw; padding: .3cqw .5cqw; display: inline-flex; }
.mb .on svg { height: 1.25cqw; }
.screen .app { position: absolute; z-index: 1; left: 3.7cqw; top: 4.6cqw; width: 66cqw; max-width: none;
  border-radius: 1cqw; box-shadow: var(--win-shadow); }
.screen .notif { position: absolute; z-index: 3; top: 3.2cqw; right: 1.5cqw; width: 28cqw; border-radius: 1.35cqw; padding: 1cqw 1.2cqw;
  display: grid; grid-template-columns: 3.2cqw 1fr; gap: .95cqw; align-items: start;
  background: rgba(60,58,70,.6); backdrop-filter: blur(36px) saturate(1.8); -webkit-backdrop-filter: blur(36px) saturate(1.8);
  box-shadow: 0 0 0 .5px rgba(255,255,255,.22), 0 12px 34px -6px rgba(0,0,0,.55); font: 1.1cqw/1.35 var(--sans); color: rgba(255,255,255,.92); }
.screen .notif img { width: 3.2cqw; height: 3.2cqw; }
.screen .notif b { display: block; font-weight: 600; }
.screen .notif .t { float: right; color: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: no-preference) {
  .notif.live { animation: banner .9s cubic-bezier(.16,1,.3,1) .8s both; }
  @keyframes banner { from { transform: translateX(30cqw); opacity: 0; } to { transform: none; opacity: 1; } }
}
/* The desk: the menu open under its menu bar glyph. */
.desk .mb { height: 5.2cqw; font-size: 2.6cqw; gap: 3.2cqw; padding: 0 2.6cqw; }
.desk .mb .r { gap: 3cqw; }
.desk .mb svg { height: 2.5cqw; }
.desk .mb .on { padding: .6cqw 1cqw; border-radius: 1cqw; }
.desk .mb .on svg { height: 2.7cqw; }
.desk .menu-img { position: absolute; z-index: 1; top: 6.4cqw; right: 12cqw; width: 58cqw; max-width: none; border-radius: 2.2cqw;
  box-shadow: 0 0 0 .5px rgba(255,255,255,.25), 0 0 0 1px rgba(0,0,0,.6), 0 22px 50px -8px rgba(0,0,0,.6); }

/* ---------- home: sections ---------- */
.sec { padding: 140px 0 0; }
.sec:last-of-type { padding-bottom: 140px; }
.split { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; align-items: center; }
.split.flip { grid-template-columns: minmax(0,7fr) minmax(0,5fr); }
.split.flip > :first-child { order: 2; }
.split h2 { font: 700 clamp(32px, 3.4vw, 48px)/1.08 var(--display); letter-spacing: -0.03em; margin: 0 0 18px; }
.split p { color: var(--label-2); font-size: 19px; margin: 0 0 14px; max-width: 38ch; }
.split p b { color: var(--label); font-weight: 600; }
.tile { border-radius: 28px; background: var(--bg-3); padding: 56px; overflow: hidden; }
.tile.flush { padding-bottom: 0; }
.tile.flush .win-img { border-radius: 12px 12px 0 0; }
.window-bar { margin: 28px 0 0; }
.window-bar svg { width: 100%; height: auto; display: block; }
.well { background: var(--bg-3); border-radius: 8px; padding: 14px 16px; font: 14px/1.6 var(--mono); color: rgba(245,245,247,.9); overflow-x: auto; white-space: pre; margin: 0; }
.tile .well { background: #0c0c0d; }
.well .c { color: var(--label-2); }
.well .k { color: var(--accent); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 56px; }
.feat { background: var(--bg-3); border-radius: 20px; padding: 28px; }
.feat h3 { font: 600 19px/1.25 var(--display); letter-spacing: -0.02em; margin: 0 0 8px; }
.feat p { margin: 0; color: var(--label-2); font-size: 15px; line-height: 1.45; }
.feat .dots { display: flex; gap: 5px; margin-bottom: 16px; }
.feat .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.feat .dots i.o { background: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.feat .dots i.g { background: #4A4A50; }
.final { text-align: center; }
.final .headline { margin: 0 auto 16px; max-width: 18ch; }
.final .lede { margin: 0 auto 28px; }

/* ---------- inner pages ---------- */
.page-head { padding: 88px 0 48px; }
.page-head.center { text-align: center; }
.page-head.center .lede { margin-left: auto; margin-right: auto; }
.prose { max-width: 720px; }
.prose h2 { font: 700 30px/1.15 var(--display); letter-spacing: -0.025em; margin: 64px 0 14px; }
.prose h3 { font: 600 21px/1.25 var(--display); letter-spacing: -0.02em; margin: 40px 0 10px; }
.prose p, .prose li { color: rgba(245,245,247,.88); }
.prose p { margin: 0 0 16px; max-width: 65ch; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin: 0 0 8px; }
.prose a { color: var(--accent); }
.prose code { font-size: .88em; background: var(--bg-3); border-radius: 5px; padding: 1px 5px; }
.prose pre { background: var(--bg-3); border-radius: 8px; padding: 14px 16px; font: 14px/1.6 var(--mono); overflow-x: auto; margin: 0 0 20px; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--sep); vertical-align: top; }
.prose th { font-weight: 600; color: var(--label); }
.prose td { color: rgba(245,245,247,.85); }
.prose .note { background: var(--bg-2); border: 1px solid var(--sep); border-radius: 14px; padding: 16px 20px; margin: 0 0 22px; }
.prose .note p:last-child { margin: 0; }
.prose figure { margin: 8px 0 28px; }
.prose figure img { border-radius: 12px; box-shadow: var(--win-shadow); }
.prose figcaption { font-size: 13px; color: var(--label-2); margin-top: 12px; }
.updated { font-size: 13px; color: var(--label-2); margin: 0 0 32px; }

/* docs: side nav + content */
.docs { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 56px; padding: 56px var(--gutter) 140px; }
.docnav { position: sticky; top: 76px; align-self: start; font-size: 14px; }
.docnav h4 { margin: 0 0 10px; font: 600 12px var(--sans); color: var(--label-2); text-transform: uppercase; letter-spacing: .04em; }
.docnav ul { list-style: none; margin: 0; padding: 0; }
.docnav a { display: block; padding: 6px 10px; border-radius: 7px; text-decoration: none; color: rgba(245,245,247,.8); }
.docnav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.docnav a[aria-current] { background: rgba(255,159,10,.16); color: var(--label); }
.docs .prose h1 { font: 700 clamp(34px, 3.6vw, 48px)/1.08 var(--display); letter-spacing: -0.03em; margin: 0 0 14px; }
.docs .prose > .lede { margin: 0 0 40px; }
.docs .prose h2:first-of-type { margin-top: 48px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--sep); }
.pager a { color: var(--accent); text-decoration: none; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin: 0 auto; }
.plan { background: var(--bg-3); border-radius: 28px; padding: 44px; display: flex; flex-direction: column; }
.plan h2 { font: 600 24px var(--display); letter-spacing: -0.02em; margin: 0; }
.plan .price { font: 700 56px/1 var(--display); letter-spacing: -0.035em; margin: 18px 0 6px; }
.plan .price small { font: 400 17px var(--sans); color: var(--label-2); letter-spacing: -0.01em; margin-left: 6px; }
.plan .sub { color: var(--label-2); margin: 0 0 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.plan li { padding: 10px 0 10px 28px; border-top: 1px solid var(--sep); position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--label-2); }
.plan.lic li::before { background: var(--accent); }
.plan .actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.facts-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; max-width: 920px; margin: 16px auto 0; }
.facts-row div { background: var(--bg-2); border: 1px solid var(--sep); border-radius: 20px; padding: 24px; }
.facts-row b { display: block; font: 600 17px var(--display); margin-bottom: 6px; }
.facts-row p { margin: 0; color: var(--label-2); font-size: 15px; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--sep); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--sep); }
.faq summary { font: 600 19px var(--display); letter-spacing: -0.02em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--label-2); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--label-2); margin: 12px 0 0; max-width: 62ch; }
.faq details a { color: var(--accent); }

/* download */
.dl { text-align: center; }
.dl .icon { width: 128px; height: 128px; margin: 0 auto 28px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)) drop-shadow(0 18px 30px rgba(0,0,0,.4)); }
.req { max-width: 720px; margin: 72px auto 0; }

/* footer */
footer { border-top: 1px solid var(--sep); padding: 32px 0 48px; font-size: 13px; color: var(--label-2); }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; max-width: 1040px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; color: rgba(245,245,247,.8); }
footer a:hover { color: #fff; }
footer p { margin: 0; }

/* ---------- small screens ---------- */
@media (max-width: 1000px) {
  .gnav ul { display: none; }
  .gnav .pill-sm { margin-left: auto; }
  .split, .split.flip { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .tile { padding: 32px 22px; border-radius: 22px; }
  .grid3 { grid-template-columns: 1fr; }
  .sec { padding-top: 100px; }
  .sec:last-of-type { padding-bottom: 100px; }
  .mac { padding: 6px 6px 0; border-radius: 14px 14px 0 0; }
  .docs { grid-template-columns: minmax(0,1fr); gap: 24px; padding-top: 32px; }
  .docnav { position: static; }
  .docnav ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .plans, .facts-row { grid-template-columns: 1fr; }
  .plan { padding: 32px 24px; border-radius: 22px; }
  footer .wrap { grid-template-columns: 1fr; }
  .page-head { padding-top: 56px; }
}
