/* RollKeep website. Same palette and type as the app. Fonts are self-hosted: no third-party requests. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #0D0E13;
  --card: #171922;
  --card2: #22252F;
  --paper: #F4F3EE;
  --muted: rgba(244, 243, 238, 0.72);
  --faint: rgba(244, 243, 238, 0.6);
  --line: rgba(244, 243, 238, 0.12);
  --lime: #CDF548;
  --lavender: #B8A6FF;
  --peach: #FFB27A;
  --coral: #FF7E93;
  --mint: #6EE7C0;
  --sky: #7CD4FF;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(20px, 6vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--lime); }
a:hover { color: #E4FF8A; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 999px; }

/* Header */
.site-header { display: flex; align-items: center; gap: 32px; height: 84px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.5px; color: var(--lime); text-decoration: none; }
.site-nav { display: flex; gap: 28px; flex: 1; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 16px; }
.site-nav a:hover { color: var(--paper); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-weight: 700; text-decoration: none;
}
.btn:hover { background: #DBFF6A; color: var(--ink); }
.btn-lg { min-height: 60px; padding: 0 30px; font-family: var(--display); font-size: 20px; }
.btn-dark { background: var(--ink); color: var(--lime); }
.btn-dark:hover { background: #1c1e28; color: var(--lime); }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* Phone frames around real screenshots */
.phone { border: 10px solid var(--card2); border-radius: 50px; background: #000; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6); aspect-ratio: 603 / 1311; }
.phone img { width: 100%; height: auto; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; padding: 40px 0 80px; }
.hero h1 { font-size: clamp(46px, 6vw, 84px); line-height: 0.96; letter-spacing: -0.035em; margin: 26px 0 24px; }
.hero .lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 30px 0 18px; }
.hero-visual { position: relative; min-height: 740px; }
.hero-visual .phone.main { position: absolute; left: 12%; top: 10px; width: 330px; }
.hero-visual .phone.back { position: absolute; left: 50%; top: 70px; width: 290px; transform: rotate(7deg); opacity: 0.5; box-shadow: none; }
.sticker { position: absolute; padding: 12px 20px; border-radius: 999px; color: var(--ink); font-weight: 700; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); white-space: nowrap; }
.sticker.keep { left: 0; top: 150px; background: var(--lavender); font-family: var(--display); font-weight: 800; font-size: 22px; border-radius: 18px; transform: rotate(-6deg); }
.sticker.local { left: 52%; top: 470px; background: var(--mint); transform: rotate(4deg); display: inline-flex; gap: 8px; align-items: center; }
.sticker.approve { left: 4%; top: 620px; background: var(--lime); transform: rotate(-3deg); }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; margin: 0; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 600; }

/* Sections */
.section { padding: 110px 0 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 820px; }
.section-head h2, .feature h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -0.03em; }
#honest .section-head { max-width: none; }   /* headline stays on one line; the paragraph keeps the reading width */
#honest .section-head p { max-width: 820px; }
.center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 28px; padding: 30px; }
.step-num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 24px; margin-bottom: 16px; }
.card h3 { font-size: 28px; margin-bottom: 8px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; padding: 110px 0 0; }
.feature .copy { display: flex; flex-direction: column; gap: 22px; }
.feature .copy .lede { font-size: 19px; color: var(--muted); }
.phones { position: relative; min-height: 720px; }
.phones .phone { position: absolute; width: 300px; }
.phones .phone:first-child { left: 0; top: 40px; }
.phones .phone:last-child { left: 240px; top: 0; box-shadow: -30px 40px 80px rgba(0, 0, 0, 0.6); }
.feature .solo { width: 330px; justify-self: center; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex-shrink: 0; margin-top: 2px; }
.minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.minis .card { padding: 20px; border-radius: 20px; }
.minis h3 { font-family: var(--body); font-size: 17px; font-weight: 700; margin-bottom: 4px; }

.band { background: var(--card); margin-top: 110px; padding: 100px 0; }
.band .feature { padding: 0; }
.band .phone { border-color: #2C2F3A; }

.honest-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.honest-steps .card p.faint { font-size: 14px; font-weight: 700; }
.honest-steps h3 { font-size: 26px; margin: 8px 0; }
/* Lavender, peach, lime: the same three-step colors as the app's onboarding. */
.honest-steps .card { color: var(--ink); }
.honest-steps .card:nth-child(1) { background: var(--lavender); }
.honest-steps .card:nth-child(2) { background: var(--peach); }
.honest-steps .card:nth-child(3) { background: var(--lime); }
.honest-steps .muted, .honest-steps .faint { color: rgba(13, 14, 19, 0.7); }

.never { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.never li { display: flex; gap: 14px; padding: 24px; border-radius: 22px; border: 1px solid var(--line); }
.never svg { flex-shrink: 0; }
.never strong { display: block; margin-bottom: 4px; }

.widgets-img { width: 520px; height: auto; border-radius: 36px; justify-self: center; }

.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--card); border-radius: 28px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { outline: 2px solid var(--lime); outline-offset: -2px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 18px; }
.badge { padding: 4px 10px; border-radius: 999px; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.5px; }
.price { font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: -1px; line-height: 1; }
.price small { font-size: 20px; font-weight: 600; color: var(--faint); }
.plan hr { border: 0; height: 1px; background: var(--line); margin: 2px 0; width: 100%; }

.faq { display: grid; grid-template-columns: 360px 1fr; gap: 80px; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; }
.faq-list h3 { font-family: var(--body); font-size: 19px; font-weight: 700; margin-bottom: 8px; }

.cta { margin: 110px 0 0; background: var(--lime); color: var(--ink); border-radius: 44px; padding: clamp(36px, 6vw, 80px); display: flex; align-items: center; gap: 48px; }
.cta h2 { font-size: clamp(40px, 5vw, 72px); line-height: 0.98; letter-spacing: -0.035em; }
.cta p { color: rgba(13, 14, 19, 0.75); margin-top: 14px; font-size: 19px; }

.site-footer { margin-top: 90px; padding: 36px 0 56px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 26px; flex: 1; }
.site-footer nav a { color: var(--muted); }
.site-footer small { color: var(--faint); font-size: 14px; }

/* Legal and support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 0 0; }
.doc h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 14px; }
.doc h2 { font-size: 28px; letter-spacing: -0.01em; margin: 48px 0 12px; }
.doc h3 { font-family: var(--body); font-size: 18px; font-weight: 700; margin: 26px 0 6px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc li + li { margin-top: 8px; }
.doc strong { color: var(--paper); }
.summary { background: var(--card); border-radius: 24px; padding: 26px 28px; margin: 28px 0 8px; }
.summary ul { margin: 0; }
.contact { background: var(--lime); color: var(--ink); border-radius: 28px; padding: 30px; margin: 30px 0 8px; }
.contact p { color: rgba(13, 14, 19, 0.8); }
.contact a { color: var(--ink); font-weight: 700; font-family: var(--display); font-size: clamp(20px, 5.4vw, 26px); overflow-wrap: anywhere; }

/* Tablet and phone */
@media (max-width: 1100px) {
  .site-nav { display: none; }
  .hero, .feature, .faq { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 620px; max-width: 520px; }
  .hero-visual .phone.main { width: 270px; left: 14%; }
  .hero-visual .phone.back { width: 240px; }
  .sticker.local { top: 400px; }
  .sticker.approve { top: 540px; }
  .feature .copy { order: -1; }
  .phones { min-height: 600px; max-width: 480px; }
  .phones .phone { width: 250px; }
  .phones .phone:last-child { left: 200px; }
  .trust, .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .honest-steps, .never { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { height: 68px; }
  .site-header .btn span { display: none; }
  .hero { padding-top: 16px; }
  .hero-visual { min-height: 540px; }
  .hero-visual .phone.back { display: none; }
  .hero-visual .phone.main { left: 50%; transform: translateX(-50%); width: 240px; border-width: 8px; border-radius: 38px; }
  .sticker.keep { top: 90px; font-size: 18px; }
  .sticker.local { left: auto; right: 0; top: 380px; font-size: 15px; }
  .sticker.approve { display: none; }
  .trust, .pricing, .faq-list, .minis { grid-template-columns: 1fr; }
  .phones { min-height: auto; }
  .phones .phone { position: static; width: 250px; margin: 0 auto; }
  .phones .phone:first-child { display: none; }
  .feature .solo, .widgets-img { width: 100%; max-width: 300px; }
  .widgets-img { max-width: 100%; }
  .section, .feature { padding-top: 80px; }
  .band { margin-top: 80px; padding: 64px 0; }
  .site-footer nav { flex-basis: 100%; }
}
