/* ClipNotch — site styles on Ease. Only tokens from ease.css; the notch mock below is the one site-specific thing. */

/* Page rhythm on Ease. Every value here is a token from ease.css (loaded first). */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-1) var(--s-2); }
.nav-links a { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: var(--r-control); color: var(--ink-2); font: var(--t-secondary); }
.nav-links a:hover { color: var(--ink); }

.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { max-width: 22ch; margin: var(--s-4) auto var(--s-5); }
h1 em { font-style: normal; color: var(--lilac-txt); }
.lede { max-width: 640px; margin: 0 auto; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.hero > .ease-btn, .get > .ease-btn { margin-top: var(--s-8); padding: 12px 22px; font-size: 15px; }
.ease-btn small { font: inherit; font-weight: 400; color: inherit; opacity: 0.8; }
.sub { margin: var(--s-4) auto 0; max-width: 640px; font: var(--t-secondary); color: var(--ink-3); }
.sub a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
/* inline text links keep their layout but get a 24 px hit box */
.sub a, .footer a, .faq a { display: inline-block; padding: 5px 0; margin: -5px 0; }
.sub kbd { margin-right: 1px; }

.sect { padding: var(--s-14) 0 0; }
.sect .ease-card { padding: 38px 42px; }
.sect h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 var(--s-3); }
h2 .quiet { color: var(--ink-3); font-weight: 500; }
.sect .ease-card > p { color: var(--ink-2); font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.grid + .grid { margin-top: var(--s-4); }
.ease-tile h3 { margin: 0 0 var(--s-1); }
.ease-tile p { margin: 0; font-size: 14.5px; color: var(--ink-2); max-width: none; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

ol.steps { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-3); counter-reset: s; }
ol.steps li { position: relative; padding: var(--s-4) var(--s-5) var(--s-4) 60px; border-radius: var(--r-row); background: var(--card-2); border: 1px solid var(--hair); }
ol.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: var(--s-5); top: var(--s-4); width: 24px; height: 24px; border-radius: 50%;
  background: var(--lilac-tint); color: var(--lilac-txt); font: var(--t-caption); font-weight: 600; display: flex; align-items: center; justify-content: center; }
ol.steps h3 { margin: 0 0 var(--s-1); }
ol.steps p { margin: 0; color: var(--ink-2); }

.faq details { border-top: 1px solid var(--hair); padding: var(--s-4) 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); }

.get { text-align: center; padding: 70px 0 30px; }
.get h2 { font-size: 46px; letter-spacing: -0.02em; margin: 0 0 var(--s-2); }
.get .lede { font-size: 17px; }
.get .alt { margin-top: var(--s-4); }
.footer { text-align: center; padding: var(--s-8) 0 48px; font: var(--t-secondary); color: var(--ink-3); }
.footer p { margin: var(--s-1) auto; max-width: none; }
.footer a { color: var(--ink-2); }

kbd { display: inline-block; padding: 1px 6px; border: 1px solid var(--hair-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--card);
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink); }
pre { margin: var(--s-3) 0 0; padding: var(--s-3) var(--s-4); background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-row);
  overflow-x: auto; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--ink); }
pre code { background: none; padding: 0; font-size: 12px; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .sect .ease-card { padding: 28px 22px; }
  .get h2 { font-size: 38px; }
}

/* ---- the notch demo: the top of a MacBook screen, the dot, and the history hanging below ---- */
.demo { margin: 54px auto 0; max-width: 760px; }
.screen { position: relative; padding-bottom: 44px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, var(--paper), var(--card-2)); border: 1px solid var(--hair); box-shadow: var(--shadow-card); }
.screen-top { position: relative; height: 30px; background: var(--card); border-bottom: 1px solid var(--hair); display: flex; justify-content: center; align-items: flex-start; }
.notch { width: 180px; height: 30px; background: var(--ink); border-radius: 0 0 14px 14px; }
/* the notch is hardware: it stays dark when the page goes dark */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .notch { background: var(--paper); } }
:root[data-theme="dark"] .notch { background: var(--paper); }
.notch-dot { position: absolute; left: calc(50% + 100px); top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-tint); }
.notch-pill { width: 86%; max-width: 360px; margin: 0 auto; padding: 8px 8px 12px; text-align: left;
  background: var(--card); border: 1px solid var(--hair); border-top: 0; border-radius: 0 0 18px 18px; box-shadow: var(--shadow-card); }
.np-row { padding: 8px 12px; border-radius: var(--r-control); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.np-row.np-current { background: var(--lilac-tint); color: var(--ink); }
.caption { text-align: center; margin-top: var(--s-4); font: var(--t-secondary); color: var(--ink-3); }
.caption .ease-dot { margin-right: 4px; }
.get .note { margin-top: var(--s-5); color: var(--ink-2); }
