/* SafeKeeper landing page
   Ported from the Claude Design artboard "SafeKeeper Landing Page.dc.html".
   Desktop rendering matches the 940px artboard; breakpoints below are additions,
   since the artboard is a fixed-width canvas with no responsive behavior. */

:root {
  --bg: #ECECEC;
  --surface: #FFFFFF;
  --text: #1B1B1F;
  --text-secondary: #6E6E73;
  --text-tertiary: #9A9AA0;
  --accent: #0A6CFF;
  --accent-hover: #0757CC;
  --hairline: rgba(0, 0, 0, 0.1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius-card: 16px;
  --section-gap: 56px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { color: var(--accent-hover); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; }

.page {
  min-height: 100vh;
  padding: 88px 40px 96px;
}

.wrap {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Masthead ---- */

.masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  align-self: stretch;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  display: block;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.masthead-text {
  flex: 1;
  min-width: 0;
}

.masthead-text h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.5px;
}

.tagline {
  margin: 10px 0 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 460px;
  text-wrap: pretty;
}

.badge-link {
  flex-shrink: 0;
  margin-top: 10px;
  display: block;
}

.badge-link img {
  display: block;
  height: 54px;
  width: auto;
}

/* ---- Screenshot ---- */

.shot {
  margin-top: var(--section-gap);
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.shot picture,
.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Feature cards ---- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: var(--section-gap);
  width: 100%;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}

.card-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.card p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-green   { background: #E6F4E6; color: #34A853; }
.icon-blue    { background: #E7F0FF; color: #0A6CFF; }
.icon-magenta { background: #FBE7FC; color: #CC1AD6; }

/* ---- Call to action ---- */

.cta {
  margin-top: var(--section-gap);
  text-align: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(10, 108, 255, 0.28);
  transition: background 0.15s ease;
}

.cta-button:hover {
  background: var(--accent-hover);
  color: #fff;
}

.cta-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ---- Footer ---- */

.footer {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}

.copyright {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ---- Responsive ---- */

@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .page { padding: 48px 20px 64px; }

  .masthead {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .masthead-text { flex: none; }
  .masthead-text h1 { font-size: 40px; letter-spacing: -1px; }
  .tagline { max-width: none; }
  .badge-link { margin-top: 0; }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---- Content pages (support / privacy / about) ---- */

.content {
  align-self: stretch;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.content-nav {
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 500;
}

.content h1 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1px;
}

.content .lede {
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.content h2 {
  margin: 36px 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.content p,
.content li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.content p { margin: 0 0 14px; }

.content ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.content li { margin-bottom: 8px; }

.content .panel {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.04);
  margin-bottom: 14px;
}

.content .panel :last-child { margin-bottom: 0; }

.updated {
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-tertiary);
}

@media (max-width: 700px) {
  .content h1 { font-size: 32px; }
}

.content h3 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.content .panel h2:first-child { margin-top: 0; }
