/* Vaulora landing page. The indigo gradient and white type match the App Store screenshots. */
:root {
  color-scheme: light dark;
  --accent: #585BD1;
  --accent-light: #898CF4;
  --ink: #1b1b22;
  --muted: #62626d;
  --bg: #f6f6f9;
  --card: #ffffff;
  --line: rgba(20, 20, 40, 0.08);
  --shadow: 0 1px 2px rgba(20, 20, 60, 0.06), 0 8px 24px rgba(20, 20, 60, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #9a9cf7;
    --ink: #f2f2f7;
    --muted: #a3a3ae;
    --bg: #0e0e13;
    --card: #1a1a22;
    --line: rgba(255, 255, 255, 0.08);
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }

/* Hero */
.hero {
  color: #fff;
  text-align: center;
  padding: 64px 0 0;
  background: linear-gradient(180deg, #898CF4 0%, #585BD1 100%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  /* A faint grain, like the screenshots' texture. */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 5px 5px;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 30px rgba(20, 20, 70, 0.35); }
.brand { margin: 14px 0 0; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; opacity: 0.85; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); margin: 10px auto 14px; max-width: 14em; }
.lead { font-size: clamp(17px, 2.2vw, 21px); max-width: 34em; margin: 0 auto; opacity: 0.92; }
.cta { margin: 28px 0 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.badge {
  display: inline-block;
  background: #fff;
  color: #3d3fb0;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(20, 20, 70, 0.25);
}
.note { font-size: 15px; opacity: 0.85; }

/* Screenshot strip: scrolls sideways on small screens, centered on large ones. */
.screens { position: relative; margin-top: 44px; padding-bottom: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.strip { display: flex; gap: 18px; padding: 0 20px; width: max-content; margin: 0 auto; }
.strip img {
  width: 230px;
  height: auto;
  border-radius: 22px;
  scroll-snap-align: center;
  box-shadow: 0 16px 40px rgba(20, 20, 70, 0.35);
}

/* Sections */
main { padding: 56px 20px 24px; }
section { margin: 0 0 56px; }
h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 24px; text-align: center; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.feature svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin: 12px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px clamp(20px, 4vw, 44px); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 0 auto 18px; max-width: 42em; }
.checks li { position: relative; padding-left: 32px; margin: 0 0 12px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.panel p { text-align: center; margin: 0; }
.price p { max-width: 40em; margin: 0 auto; color: var(--muted); }

/* Footer */
footer { text-align: center; color: var(--muted); font-size: 15px; padding-bottom: 48px; }
footer nav { margin: 0 0 14px; }
footer nav a { margin: 0 10px; display: inline-block; }
.languages a { color: var(--muted); text-decoration: none; }
.languages a[aria-current] { color: var(--ink); font-weight: 600; }
footer p { margin: 18px 0 0; }

@media (max-width: 520px) {
  .hero { padding-top: 44px; }
  .strip img { width: 200px; }
  main { padding-top: 40px; }
}
