/* MonKey website. Colors follow the app icon: the green of income, the gold of the key. */
:root {
  --green: #3F9A6B;
  --green-deep: #2C7A53;
  --green-light: #55B083;
  --gold: #E3B04B;
  --gold-deep: #B8842F;
  --cream: #FFF7E6;
  --bg: #F7F4EC;
  --surface: #FFFFFF;
  --ink: #1F2A24;
  --muted: #56655C;
  --line: #E4DFD2;
  --phone: #17201B;
  --radius: 20px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111713;
    --surface: #1A231D;
    --ink: #EDF2EE;
    --muted: #A6B5AB;
    --line: #2A362E;
    --gold-deep: #E3B04B;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
@media (prefers-color-scheme: dark) { a { color: #7BC9A0; } }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-weight: 800; font-size: 22px; }
.brand img { width: 34px; height: auto; }
.brand em { font-style: normal; color: var(--gold); }
.site-header nav a { color: var(--cream); text-decoration: none; font-weight: 700; margin-left: 22px; opacity: 0.9; }
.site-header nav a:hover { opacity: 1; text-decoration: underline; }

/* hero */
.hero {
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.10), transparent 40%),
    linear-gradient(135deg, var(--green-light) 0%, var(--green) 45%, var(--green-deep) 100%);
  padding: 120px 0 0;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; }
.hero-copy { padding-bottom: 72px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.5px; margin: 0 0 18px; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 19px; margin: 0 0 28px; max-width: 30em; opacity: 0.95; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--phone); color: #fff; border-radius: 14px; padding: 12px 22px 12px 18px;
  text-decoration: none; font-weight: 700; line-height: 1.2;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-weight: 600; font-size: 12px; opacity: 0.75; letter-spacing: 0.3px; text-transform: uppercase; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.pills li { background: var(--cream); color: var(--green-deep); font-weight: 800; font-size: 15px; border-radius: 999px; padding: 6px 15px; }

.phones { position: relative; height: 520px; }
.phone {
  position: absolute; width: 240px; padding: 8px; border-radius: 30px; background: var(--phone);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}
.phone img { border-radius: 22px; width: 100%; height: auto; }
.phones .back { left: 4%; top: 60px; transform: rotate(-7deg); }
.phones .front { left: 42%; top: 20px; transform: rotate(5deg); }

/* sections */
section { padding: 88px 0; }
.eyebrow { color: var(--gold-deep); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.3px; font-weight: 900; }
.section-intro { color: var(--muted); max-width: 36em; margin: 0 0 48px; font-size: 18px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 28px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .shot { order: 2; }
.feature h3 { font-size: 26px; line-height: 1.2; margin: 0 0 10px; font-weight: 800; }
.feature p { color: var(--muted); margin: 0 0 12px; }
.feature ul { color: var(--muted); padding-left: 20px; margin: 0; }
.feature li { margin: 4px 0; }
.shot { display: flex; justify-content: center; }
.shot .phone { position: static; width: 260px; transform: none; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(63, 154, 107, 0.12); color: var(--green); margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; }

.privacy-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-band .grid { margin-top: 8px; }
.grid.spaced { margin-top: 32px; }
.more-link { margin: 28px 0 0; font-weight: 700; }

.site-footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.site-footer nav a { margin-right: 20px; }

/* privacy policy page */
.page-header { background: linear-gradient(135deg, var(--green-light), var(--green-deep)); color: var(--cream); padding: 110px 0 44px; }
.page-header h1 { margin: 0 0 6px; font-size: clamp(32px, 4.5vw, 46px); font-weight: 900; }
.page-header p { margin: 0; opacity: 0.9; }
.policy { max-width: 760px; padding-top: 48px; padding-bottom: 32px; }
.policy h2 { font-size: 24px; margin: 40px 0 8px; }
.policy p, .policy li { color: var(--ink); }
.policy .summary { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 14px; padding: 18px 22px; }
.policy .summary p { margin: 0; }

/* narrow screens */
@media (max-width: 860px) {
  .hero { padding-top: 100px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .phones { height: 400px; }
  .phone { width: 190px; }
  .phones .back { left: calc(50% - 200px); top: 40px; }
  .phones .front { left: calc(50% - 10px); top: 10px; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature:nth-child(even) .shot { order: 0; }
  .grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .site-header nav a { margin-left: 16px; }
}
@media (max-width: 420px) {
  .phones { height: 340px; }
  .phone { width: 160px; }
  .phones .back { left: calc(50% - 168px); }
  .phones .front { left: calc(50% - 6px); }
  .site-header nav a:first-child { display: none; }
}
.light-link { color: var(--cream); font-weight: 700; }
