/* rolengine.com: the product's front page. Same colours and type as the app at app.rolengine.com. */

:root {
  --ink: #17201b;
  --text: #46534b;
  --muted: #7b857f;
  --line: #e6e9e6;
  --page: #fafbfa;
  --surface: #ffffff;
  --fill: #eef0ee;
  --danger: #b3261e;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
h1 { margin: 0 0 8px; color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -0.3px; }
h2 { margin: 28px 0 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; }
p { margin: 0 0 16px; }
strong { color: var(--ink); font-weight: 600; }
button, input { font: inherit; }
.muted { color: var(--muted); }
.grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.button { height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; white-space: nowrap; cursor: pointer; }
.button:hover:not(:disabled) { background: #2a3630; }
.button:disabled { opacity: 0.4; cursor: default; }
.button.wide { width: 100%; margin-top: 12px; }
.button:focus-visible, .link:focus-visible, .row:focus-visible, .wordmark:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.button.small { height: 34px; padding: 0 14px; font-size: 13px; }
.fine-print { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.fine-print a { color: inherit; }
.button.big { height: 52px; padding: 0 28px; border-radius: 12px; font-size: 16px; }
.button.quiet { background: var(--fill); color: var(--ink); }
.button.quiet:hover:not(:disabled) { background: var(--line); }

/* The landing page: what a visitor sees before signing in. Same colours and type as the app, more air. */
html { scroll-behavior: smooth; }
.landing { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.landing h2 { margin: 0 0 12px; color: var(--ink); font-size: 30px; font-weight: 600; letter-spacing: -0.6px; line-height: 1.2; text-transform: none; }
.landing h3 { margin: 0 0 6px; color: var(--ink); font-size: 16px; font-weight: 600; }
.landing a.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.landing-top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.landing-top nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.landing-top nav a:not(.button) { color: var(--text); text-decoration: none; }
.landing-top nav a:not(.button):hover { color: var(--ink); }

.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { max-width: 720px; margin: 0 auto 20px; font-size: 60px; font-weight: 650; letter-spacing: -2.2px; line-height: 1.04; }
.lead { max-width: 560px; margin: 0 auto 28px; color: var(--text); font-size: 19px; line-height: 1.5; }
.tag { display: inline-block; margin: 0 0 24px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.4px; }
.button.big { height: 52px; padding: 0 28px; border-radius: 12px; font-size: 16px; }
.button.quiet { background: var(--fill); color: var(--ink); }
.button.quiet:hover:not(:disabled) { background: var(--line); }
.hero .fine-print { margin-top: 14px; }

/* The drawing of the app. */
.preview { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(23, 32, 27, 0.25), 0 2px 6px rgba(23, 32, 27, 0.04); font-size: 13px; }
.preview-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--page); }
.preview-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.preview-body { position: relative; display: grid; grid-template-columns: 220px 1fr; min-height: 360px; text-align: left; }
.preview aside { padding: 16px 10px; border-right: 1px solid var(--line); background: var(--page); }
.preview aside div + div { margin-top: 18px; }
.preview aside b { display: block; padding: 0 10px 6px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.preview aside span { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text); }
.preview aside span.open { background: var(--fill); color: var(--ink); font-weight: 600; }
.preview main { display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 20px; }
.preview main header { display: flex; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.preview main header em { color: var(--muted); font-size: 12px; font-style: normal; }
.preview .pill { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.preview main p { display: flex; gap: 10px; margin: 0; color: var(--text); }
.preview main p strong { display: block; font-size: 12px; }
.face { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fill); color: var(--ink); font-size: 12px; font-weight: 600; }
.face.leo { background: #e3ebe6; }
.face.ana { background: #ece9e1; }
.composer { margin-top: auto; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; color: #a9b1ac; }
.clock { display: flex; align-items: center; gap: 8px; margin: -3px 0 -3px auto; color: var(--text); font-size: 12px; }
.clock strong { font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e62; }

.parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 72px 0 0; }
.parts p, .promises p { margin: 0; color: var(--text); }
.rollout { margin: 28px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.band { margin-top: 88px; padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2 { max-width: 480px; margin-bottom: 40px; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }

.pricing { padding: 88px 0 24px; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.plan { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.plan.chosen { border-color: var(--ink); }
.price { margin: 8px 0 20px; color: var(--ink); font-size: 40px; font-weight: 650; letter-spacing: -1.4px; line-height: 1; }
.price span { margin-right: 2px; font-size: 20px; font-weight: 600; letter-spacing: 0; vertical-align: 14px; }
.price small { margin-left: 4px; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.plan ul { flex: 1; margin: 0 0 24px; padding: 0; list-style: none; }
.plan li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--text); }
.pricing .fine-print { margin-top: 24px; }

.landing-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 72px; padding: 28px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.landing-foot span { margin-right: auto; }
.landing-foot a { color: inherit; text-decoration: none; }
.landing-foot a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero { padding: 40px 0 40px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.2px; }
  .landing-top nav a[href='#pricing'] { display: none; }
  .preview-body { grid-template-columns: 1fr; }
  .preview aside { display: none; }
  .parts, .promises, .plans { grid-template-columns: 1fr; }
  .parts { gap: 24px; padding-top: 48px; }
}
