/* PasteSentry — site-specific styles on top of ease.css.
   Page layout mirrors apps/one-thing; only tokens from ease.css, no new colors or fonts. */

a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; 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-5); }
.nav .links a { display: inline-flex; align-items: center; min-height: 24px; color: var(--ink-2); font: var(--t-secondary); }
.nav .links a:hover { color: var(--ink); }

/* hero */
.hero { padding: 74px 0 40px; text-align: center; }
.hero .ease-label { display: block; margin-bottom: 18px; }
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: 30px; padding: 14px 24px; border-radius: 13px; font-size: 15px; }
.ease-btn small { font: inherit; font-weight: 400; color: inherit; opacity: 0.75; }
.sub { margin-top: 14px; font: var(--t-secondary); color: var(--ink-3); }

/* the intercepted paste: ⌘V, the sentry card, Return, and the path that lands instead */
.demo { margin: 54px auto 0; max-width: 900px; }
.screen { position: relative; height: 420px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, var(--card-2), var(--paper)); border: 1px solid var(--hair); box-shadow: var(--shadow-card); }
.chatbox { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); width: min(560px, calc(100% - 48px)); min-height: 58px;
  padding: 18px 20px; text-align: left; background: var(--card); border: 1px solid var(--hair); border-radius: 18px; box-shadow: var(--shadow-soft); }
.chatbox .placeholder, .chatbox .pasted-path { position: absolute; left: 20px; right: 20px; top: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatbox .placeholder { color: var(--ink-3); animation: ph 9s infinite; }
.chatbox .pasted-path { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--lilac-txt); opacity: 0; animation: pathIn 9s infinite; }
.caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--lilac); vertical-align: text-bottom; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes ph { 0%, 55% { opacity: 1; } 60%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes pathIn { 0%, 57% { opacity: 0; } 62%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }

.keys { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 8px; }
.keycap { font-family: var(--mono); font-size: 13px; color: var(--ink-2); background: var(--card); border: 1px solid var(--hair); border-bottom-width: 2.5px; border-radius: 9px; padding: 7px 12px; box-shadow: var(--shadow-soft); }
.keys .cmdv { animation: press 9s infinite; }
.keys .ret { animation: press2 9s infinite; }
@keyframes press { 0%, 16% { transform: none; } 19%, 21% { transform: translateY(2px); border-bottom-width: 1px; } 24%, 100% { transform: none; } }
@keyframes press2 { 0%, 50% { transform: none; } 53%, 55% { transform: translateY(2px); border-bottom-width: 1px; } 58%, 100% { transform: none; } }

.sentry-card { position: absolute; left: 50%; top: 44px; width: min(400px, calc(100% - 48px)); padding: 20px 22px 16px; text-align: left;
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); box-shadow: var(--shadow-card);
  transform: translateX(-50%) translateY(8px) scale(0.96); opacity: 0; animation: cardIn 9s infinite; }
@keyframes cardIn {
  0%, 22% { opacity: 0; transform: translateX(-50%) translateY(8px) scale(0.96); }
  26%, 52% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  56%, 100% { opacity: 0; transform: translateX(-50%) translateY(-4px) scale(0.98); }
}
.sc-head { display: flex; align-items: center; gap: 12px; }
.sc-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--apricot-tint); color: var(--apricot-txt); display: grid; place-items: center; }
.sc-ico svg { width: 16px; height: 16px; }
.sc-title { font: var(--t-heading); }
.sc-sub { font: var(--t-secondary); color: var(--ink-2); }
.sc-chip { margin: 12px 0 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.sc-primary { text-align: center; padding: 10px; border-radius: 11px; background: var(--lilac-deep); color: #fff; font: var(--t-secondary); font-weight: 500; animation: primaryFlash 9s infinite; }
@keyframes primaryFlash { 0%, 52% { filter: none; } 54% { filter: brightness(1.12); } 57%, 100% { filter: none; } }
.sc-quiet { display: flex; justify-content: space-between; margin-top: 10px; font: var(--t-secondary); color: var(--ink-3); }
.caption { text-align: center; margin: 16px auto 0; font: var(--t-secondary); color: var(--ink-3); }

/* sections */
.sect { padding: 64px 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-bottom: 14px; }
h2 .quiet { color: var(--ink-3); font-weight: 500; }
.sect p { color: var(--ink-2); margin: 10px 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.ease-tile h3 { margin: 0 0 6px; }
.ease-tile p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* what it classifies */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips .ease-chip { font-family: var(--mono); font-size: 12px; background: var(--card-2); }

/* the swap */
.swap { margin-top: 24px; max-width: 560px; font-family: var(--mono); font-size: 13px; display: grid; gap: 10px; }
.swap .row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 13px 16px; background: var(--card-2); border: 1px solid var(--hair); border-radius: 13px; }
.swap .tag { flex: 0 0 56px; font: var(--t-caption); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.swap .was { flex: 1 1 0; min-width: 0; color: var(--ink-3); text-decoration: line-through; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swap .now { flex: 1 1 0; min-width: 0; color: var(--lilac-txt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the honest small print */
.faq details { border-top: 1px solid var(--hair); padding: 16px 0; margin-top: 26px; }
.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; 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 { font-size: 15px; }

/* download + footer */
.get { text-align: center; padding: 70px 0 30px; }
.get h2 { font-size: 46px; }
.footer { text-align: center; padding: 34px 0 48px; font: var(--t-secondary); color: var(--ink-3); }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .sect .ease-card { padding: 28px 22px; }
  .screen { height: 440px; }
  .sentry-card { top: 24px; }
  .chatbox { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .sentry-card { opacity: 1; transform: translateX(-50%); animation: none; }
  .chatbox .placeholder { animation: none; }
  .chatbox .pasted-path { animation: none; opacity: 0; }
  .keys .cmdv, .keys .ret, .sc-primary, .caret { animation: none; }
}
