/* Keysreallysafe marketing site.
   Light paper ground, brass accent (the Keychain key), Bricolage Grotesque for
   display type, the Mac system face for everything else. */
:root {
  --paper: #f4f5f7;
  --paper-2: #ffffff;
  --ink: #14161a;
  --ink-2: #4c5563;
  --ink-3: #8a919d;
  --line: #e2e5ea;
  --brass: #b8781e;
  --brass-deep: #8f5a10;
  --brass-tint: #fbf3e4;
  --navy: #0f1b2d;
  --navy-2: #16253c;
  --mint: #3ecf8e;
  --coral: #f0875a;
  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.accent { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; }
.brand svg { width: 28px; height: 28px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(20,22,26,.35); }
.btn.primary { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn.primary:hover { background: var(--brass-deep); }
nav .btn { padding: 9px 16px; font-size: 14px; }

/* hero */
.hero { text-align: center; padding: 72px 0 0; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; max-width: 16ch; margin: 0 auto 22px; }
.hero .lead { font-size: 20px; color: var(--ink-2); max-width: 52ch; margin: 0 auto 30px; }
.hero .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.guarantee { margin: 18px 0 0; color: var(--ink-3); font-size: 14px; }
.guarantee strong { color: var(--ink-2); font-weight: 600; }

/* the desk: a macOS menu bar with the app's dropdown open, dashboard peeking below */
.desk { position: relative; margin: 56px auto 0; max-width: var(--max); border-radius: 22px 22px 0 0; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #2c4a7a 0%, var(--navy-2) 45%, var(--navy) 100%); padding: 0 0 0; box-shadow: 0 40px 100px -40px rgba(15,27,45,.7); }
.menubar { display: flex; align-items: center; gap: 22px; height: 30px; padding: 0 16px; background: rgba(255,255,255,.08); backdrop-filter: blur(20px); color: #fff; font-size: 13px; font-weight: 500; }
.menubar .apple { font-size: 15px; }
.menubar .app { font-weight: 700; }
.menubar .spacer { flex: 1; }
.menubar .item { opacity: .85; font-variant-numeric: tabular-nums; }
.menubar .item.us { background: rgba(255,255,255,.22); padding: 3px 8px; border-radius: 5px; opacity: 1; font-weight: 700; }
.dropdown { position: relative; width: 420px; margin: 8px 0 0 auto; margin-right: 22%; background: #1e2025; color: #ecedef; border-radius: 12px; padding: 14px 16px 10px; font-size: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.dropdown .tabs { display: flex; justify-content: center; gap: 4px; margin-bottom: 14px; }
.dropdown .tabs span { padding: 3px 10px; border-radius: 6px; color: #c7c9ce; }
.dropdown .tabs .on { background: #3a3d44; color: #fff; }
.dropdown .title { font-weight: 700; font-size: 16px; }
.dropdown .when { color: #9a9ea6; font-size: 12px; margin-bottom: 10px; }
.dropdown .row { margin-top: 10px; }
.dropdown .row .l { display: flex; justify-content: space-between; font-size: 13px; color: #c7c9ce; }
.dropdown .row .l b { color: #ecedef; font-weight: 600; }
.dropdown .bar { height: 5px; border-radius: 3px; background: #3a3d44; margin-top: 5px; overflow: hidden; }
.dropdown .bar i { display: block; height: 100%; background: var(--mint); border-radius: 3px; }
.dropdown .menu { border-top: 1px solid #3a3d44; margin-top: 12px; padding-top: 8px; color: #ecedef; }
.dropdown .menu div { display: flex; justify-content: space-between; padding: 4px 0; }
.dropdown .menu kbd { background: none; border: 0; color: #9a9ea6; font: inherit; }
.window { margin: 26px 40px 0; border-radius: 12px 12px 0 0; overflow: hidden; background: #0b0d11; box-shadow: 0 -10px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.window .bar-top { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: #1b1d22; }
.window .bar-top i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window .bar-top i:nth-child(2) { background: #febc2e; }
.window .bar-top i:nth-child(3) { background: #28c840; }
.window .bar-top span { margin-left: 10px; color: #8a8e96; font-size: 12px; }
.window img { width: 100%; max-height: 330px; object-fit: cover; object-position: top; }

/* feature rows */
.rows { padding: 96px 0 40px; }
.row-f { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 40px 0; }
.row-f.flip { grid-template-columns: 7fr 5fr; }
.row-f.flip .text { order: 2; }
.row-f .eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; }
.row-f h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 14px; }
.row-f p { color: var(--ink-2); margin: 0 0 12px; max-width: 46ch; }
.row-f ul { margin: 12px 0 0; padding: 0; list-style: none; color: var(--ink-2); }
.row-f li { padding-left: 26px; position: relative; margin: 8px 0; }
.row-f li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 6px; border-left: 2.5px solid var(--brass); border-bottom: 2.5px solid var(--brass); transform: rotate(-45deg) translateY(-2px); }
.frame { border-radius: 14px; overflow: hidden; background: #0b0d11; box-shadow: 0 30px 70px -30px rgba(15,27,45,.55), 0 0 0 1px rgba(20,22,26,.08); }
.frame .bar-top { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: #1b1d22; }
.frame .bar-top i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.frame .bar-top i:nth-child(2) { background: #febc2e; }
.frame .bar-top i:nth-child(3) { background: #28c840; }
.frame .bar-top span { margin-left: 10px; color: #8a8e96; font-size: 12px; }
.term { background: var(--navy); color: #dfe4ec; border-radius: 14px; padding: 22px 24px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; white-space: pre; box-shadow: 0 30px 70px -30px rgba(15,27,45,.55); overflow-x: auto; }
.term .p { color: #7d8aa1; }
.term .c { color: #fff; font-weight: 600; }
.term .o { color: #9fb0c7; }
.term .ok { color: var(--mint); }
.term .no { color: var(--coral); }
.term .k { color: #e8c98a; }

/* privacy band */
.band { background: var(--navy); color: #e6e9ee; padding: 88px 0; }
.band h2 { font-size: clamp(30px, 4vw, 44px); color: #fff; max-width: 20ch; }
.band .sub { color: #a9b3c3; margin: 12px 0 40px; max-width: 58ch; font-size: 18px; }
.band .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.band h3 { font-size: 18px; color: #fff; margin-bottom: 12px; }
.band ul { margin: 0; padding: 0; list-style: none; }
.band li { padding-left: 26px; position: relative; margin: 10px 0; color: #c3cad6; font-size: 15.5px; }
.band li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 6px; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(-45deg) translateY(-2px); }
.band code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #fff; }
.band .fine { color: #8f9aad; font-size: 14px; margin-top: 36px; }
.band a { color: #fff; }

/* pricing */
.pricing { padding: 96px 0; text-align: center; }
.pricing h2 { font-size: clamp(30px, 4vw, 44px); }
.pricing .sub { color: var(--ink-2); font-size: 18px; margin: 12px 0 36px; }
.pcard { display: grid; grid-template-columns: 1fr 1fr; max-width: 880px; margin: 0 auto; background: var(--paper-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-align: left; box-shadow: 0 30px 70px -40px rgba(15,27,45,.4); }
.pcard .buy { padding: 36px; }
.pcard .what { padding: 36px; background: var(--brass-tint); border-left: 1px solid var(--line); }
.pcard h3 { font-size: 20px; }
.amount { font-family: var(--display); font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 12px 0 2px; }
.amount small { font-family: var(--body); font-size: 17px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: 6px; }
.per { color: var(--ink-3); font-size: 14px; margin: 0 0 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { padding-left: 26px; position: relative; margin: 9px 0; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 6px; border-left: 2.5px solid var(--brass); border-bottom: 2.5px solid var(--brass); transform: rotate(-45deg) translateY(-2px); }
.pcard .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pcard .what h3 { color: var(--brass-deep); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.pcard .what p { color: var(--ink-2); font-size: 15px; margin: 10px 0 0; }

/* faq */
.faq { padding: 0 0 96px; }
.faq h2 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 20px; }
.faq .list { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 10px 0 0; max-width: 62ch; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer a { color: var(--ink-2); text-decoration: none; margin-right: 20px; }
footer .legalline { max-width: 60ch; }

/* legal pages */
article.legal { max-width: 720px; padding: 56px 24px 96px; margin: 0 auto; }
article.legal h1 { font-size: 40px; margin-bottom: 6px; }
article.legal h2 { font-size: 22px; margin: 36px 0 8px; }
article.legal p, article.legal li { color: var(--ink-2); }
article.legal .meta { color: var(--ink-3); font-size: 14px; }

@media (max-width: 900px) {
  .row-f, .row-f.flip { grid-template-columns: 1fr; gap: 28px; }
  .row-f.flip .text { order: 0; }
  .band .cols { grid-template-columns: 1fr; gap: 28px; }
  .pcard { grid-template-columns: 1fr; }
  .pcard .what { border-left: 0; border-top: 1px solid var(--line); }
  .dropdown { width: min(420px, calc(100% - 32px)); margin: 8px auto 0; }
  .window { margin: 22px 16px 0; }
}
@media (max-width: 640px) {
  nav a:not(.btn) { display: none; }
  .hero { padding-top: 44px; }
  .hero .lead { font-size: 18px; }
  .rows { padding-top: 64px; }
  .band, .pricing { padding: 64px 0; }
  .menubar { gap: 14px; font-size: 12px; }
  .menubar .hide-s { display: none; }
  .dropdown { padding: 12px; }
}
