/* ==========================================================================
   Rolmono — marketing site
   Design tokens grounded in the product's actual UI (near-black + violet,
   mint-green for "done", amber for urgent, red reserved for destructive).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg: #0B0A10;
  --bg-soft: #100E17;
  --surface: #17151F;
  --surface-2: #1E1B29;
  --border: #2A2733;

  --violet: #7C5CFF;
  --violet-dim: #5B3FE0;
  --violet-glow: rgba(124,92,255,.35);

  --mint: #34D399;
  --amber: #F5A524;
  --red: #F0555A;

  --ink: #F5F3F7;
  --ink-soft: #C9C6D4;
  --ink-mute: #928FA0;

  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

img{ max-width:100%; display:block; }
a{ color: inherit; }
button{ font-family: inherit; }

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap;
}

:focus-visible{
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

/* subtle backdrop texture — a soft violet glow low in the viewport, nothing busy */
.glow{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 82% 6%, rgba(124,92,255,.16), transparent 60%),
    radial-gradient(500px 380px at 10% 40%, rgba(52,211,153,.06), transparent 60%);
}

/* ---------- Nav ---------- */
header.nav{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,10,16,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.logo{
  display:flex; align-items:center;
  flex: none;
  text-decoration:none;
}
/* The logo is the outlined brand SVG (mark + "rolmono" wordmark), generated
   in the app repo by scripts/brand/generate_brand_assets.py. */
.logo img{
  display:block;
  height: 30px; width:auto;
}
/* Mark-only logo on phones, where the nav row has no room for the wordmark. */
.logo .logo-mark{ display:none; }
.nav-links{
  display:flex; align-items:center; gap: 34px;
  list-style:none; margin:0; padding:0;
}
.nav-links a{
  text-decoration:none; color: var(--ink-soft); font-size: 15px; font-weight:500;
  transition: color .15s ease;
}
.nav-links a:hover{ color: var(--ink); }
.nav-right{ display:flex; align-items:center; gap: 18px; }
.lang-switch{
  display:flex; border:1px solid var(--border); border-radius: 999px; overflow:hidden;
  font-size: 13px; font-weight:600;
}
.lang-switch a{
  padding: 7px 13px; text-decoration:none; color: var(--ink-mute);
}
.lang-switch a.active{ background: var(--surface-2); color: var(--ink); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border: none;
  cursor:pointer;
  text-decoration:none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--violet);
  color: white;
  box-shadow: 0 8px 24px -8px var(--violet-glow);
}
.btn-primary:hover{ background:#8C6FFF; transform: translateY(-1px); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover{ border-color:#3c3850; background: var(--surface); }
.btn-sm{ padding: 9px 16px; font-size: 13.5px; }

.menu-toggle{ display:none; }

.mobile-menu{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  border-top: 1px solid transparent;
}
.mobile-menu.open{
  max-height: 300px;
  border-top-color: var(--border);
}
.mobile-menu a{
  display:block;
  padding: 14px 0;
  color: var(--ink-soft);
  text-decoration:none;
  font-size: 15.5px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child{ border-bottom:none; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding: 88px 0 60px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items:center;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--surface); border:1px solid var(--border);
  padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: 13.5px; font-weight:600; color: var(--ink-soft);
}
.pill-dot{ width:7px; height:7px; border-radius:50%; background: var(--amber); flex:none; }

.hero h1{
  font-size: clamp(38px, 4.6vw, 60px);
  margin: 22px 0 20px;
  max-width: 15ch;
}
.hero p.lead{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 34px;
}
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.hero-note{
  margin-top:16px; font-size: 13.5px; color: var(--ink-mute);
}

/* phone mockup shell, reused across the page */
.phone{
  width: 100%;
  max-width: 300px;
  aspect-ratio: 300 / 610;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  border: 1px solid #2E2A3C;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  position: relative;
}
.phone-screen{
  width:100%; height:100%;
  background: var(--bg-soft);
  border-radius: 28px;
  overflow:hidden;
  position:relative;
  display:flex; flex-direction:column;
}
.phone-notch{
  position:absolute; top:12px; left:50%; transform:translateX(-50%);
  width: 90px; height: 20px; background:#000; border-radius: 12px; z-index:5;
}
.screen-pad{ padding: 34px 16px 14px; flex:1; overflow:hidden; }
.screen-title{ font-family: var(--font-display); font-weight:700; font-size:19px; margin-bottom:14px; }

.mini-tabbar{
  display:flex; justify-content:space-around; align-items:center;
  padding: 10px 4px; border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.mini-tabbar span{ width:16px; height:16px; border-radius:5px; background: var(--surface-2); }
.mini-tabbar span.on{ background: var(--violet); }

.hero-visual{
  position:relative;
  display:flex; justify-content:center;
}
.hero-chip{
  position:absolute;
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight:600;
  color: var(--ink-soft);
  display:flex; align-items:center; gap:7px;
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.6);
  opacity:0;
  animation: chip-in .7s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-chip .dot{ width:6px; height:6px; border-radius:50%; }
.chip-1{ top:2%; left:-8%; animation-delay:.15s; }
.chip-1 .dot{ background: var(--amber); }
.chip-2{ top:34%; right:-12%; animation-delay:.35s; }
.chip-2 .dot{ background: var(--mint); }
.chip-3{ bottom:8%; left:-10%; animation-delay:.55s; }
.chip-3 .dot{ background: var(--violet); }

@keyframes chip-in{
  from{ opacity:0; transform: translateY(14px) scale(.92); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}
.phone-wrap{ opacity:0; animation: phone-in .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay:.05s; }
@keyframes phone-in{
  from{ opacity:0; transform: translateY(22px) scale(.96); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}

/* dashboard mock content inside phone */
.mock-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 10px;
}
.mock-thumb{
  width:100%; height:64px; border-radius:10px; margin-bottom:9px;
  background: linear-gradient(135deg, #4632A8, #7C5CFF);
}
.mock-thumb.alt{ background: linear-gradient(135deg, #1a7a5e, #34D399); }
.mock-row{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.mock-title{ font-weight:700; font-size:13.5px; }
.mock-status{
  font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:999px;
  background: var(--surface-2); color: var(--ink-mute);
}
.mock-status.review{ background: rgba(245,165,36,.16); color: var(--amber); }
.mock-status.progress{ background: rgba(124,92,255,.18); color: #B7A6FF; }
.mock-status.done{ background: rgba(52,211,153,.16); color: var(--mint); }
.mock-bar{ height:5px; border-radius:4px; background: var(--surface-2); margin-top:9px; overflow:hidden; }
.mock-bar i{ display:block; height:100%; background: var(--mint); }

/* ---------- Section shell ---------- */
section{ position:relative; padding: 110px 0; z-index:1; }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(30px, 3.4vw, 42px); }
.section-head p{ color: var(--ink-soft); font-size:17.5px; margin-top:16px; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Problem ---------- */
.problem-list{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow:hidden;
}
.problem-list li{
  background: var(--bg);
  padding: 26px 28px;
  font-size: 16.5px;
  color: var(--ink-soft);
  display:flex; gap:14px;
}
.problem-list li strong{ color: var(--ink); }
.problem-mark{ color: var(--red); font-size:20px; line-height:1; flex:none; margin-top:2px; }
.problem-out{
  margin-top: 30px;
  font-size: 18px;
  color: var(--ink);
  display:flex; align-items:center; gap:12px;
}
.problem-out .arrow{ color: var(--mint); font-family: var(--font-display); font-size:22px; }

/* ---------- Workflow stepper ---------- */
.stepper{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 0;
  position:relative;
}
.stepper::before{
  content:"";
  position:absolute; top:19px; left:6%; right:6%; height:2px;
  background: var(--border);
}
.step{ position:relative; padding: 0 18px 0 0; }
.step-num{
  width:40px; height:40px; border-radius:50%;
  background: var(--surface); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size:15px;
  color: var(--ink-soft);
  position:relative; z-index:2; margin-bottom:22px;
}
.step:nth-child(1) .step-num{ border-color: var(--amber); color: var(--amber); }
.step:nth-child(2) .step-num{ border-color: var(--violet); color:#B7A6FF; }
.step:nth-child(3) .step-num{ border-color: #E0913B; color:#E0913B; }
.step:nth-child(4) .step-num{ border-color: var(--mint); color: var(--mint); }
.step h3{ font-size:19px; margin-bottom:8px; }
.step p{ color: var(--ink-soft); font-size:15px; margin:0; padding-right:10px; }

/* ---------- Features ---------- */
.feature-rows{ display:flex; flex-direction:column; }
.feature-row{
  display:grid; grid-template-columns: 44px 1fr 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  align-items:flex-start;
}
.feature-rows .feature-row:last-child{ border-bottom: 1px solid var(--border); }
.feature-icon{
  width:44px; height:44px; border-radius:13px;
  background: var(--surface); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color: var(--violet);
  flex:none;
}
.feature-row h3{ font-size:19px; margin-bottom:2px; }
.feature-row p{ color: var(--ink-soft); margin:0; font-size:15.5px; max-width:44ch; }

/* ---------- Audience ---------- */
.audience-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.audience-card{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.audience-card h3{ font-size:19px; margin-bottom:10px; }
.audience-card p{ color: var(--ink-soft); font-size:15px; margin:0; }
.audience-tag{
  display:inline-block; font-size:12.5px; font-weight:700; color: var(--mint);
  margin-bottom:14px; letter-spacing: .01em;
}

/* ---------- Showcase ---------- */
.showcase-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 28px;
  align-items:start;
}
.showcase-item{ text-align:center; }
.showcase-item .phone{ margin: 0 auto 22px; }
.showcase-item h3{ font-size:17px; margin-bottom:6px; }
.showcase-item p{ color: var(--ink-mute); font-size:14.5px; margin:0; }

/* mock kanban (workflow showcase phone) */
.mock-kanban{ display:flex; gap:8px; height:100%; }
.mock-col{ flex:1; min-width:0; }
.mock-col-head{ font-size:10px; font-weight:700; color: var(--ink-mute); margin-bottom:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mock-col-card{
  background: var(--surface); border:1px solid var(--border); border-radius:8px;
  height:46px; margin-bottom:7px;
}

/* mock checklist (roll detail showcase phone) */
.mock-check{ display:flex; align-items:center; gap:9px; padding:9px 0; border-bottom:1px solid var(--border); font-size:12.5px; }
.mock-check:last-child{ border-bottom:none; }
.mock-box{ width:16px; height:16px; border-radius:5px; border:1.5px solid #45415A; flex:none; }
.mock-box.checked{ background: var(--mint); border-color: var(--mint); position:relative; }
.mock-box.checked::after{ content:"✓"; position:absolute; inset:0; color:#06231A; font-size:11px; display:flex; align-items:center; justify-content:center; font-weight:700; }
.mock-check.done span{ text-decoration: line-through; color: var(--ink-mute); }

/* mock chat (comments showcase) */
.mock-bubble{ max-width:78%; padding:9px 12px; border-radius:14px; font-size:12px; margin-bottom:9px; }
.mock-bubble.them{ background: var(--surface); border:1px solid var(--border); border-bottom-left-radius:4px; }
.mock-bubble.me{ background: var(--violet); color:#fff; margin-left:auto; border-bottom-right-radius:4px; }

/* ---------- Pricing ---------- */
.pricing-grid{ display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; align-items:stretch; }
.pricing-card{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display:flex; flex-direction:column;
}
.pricing-card.featured{
  border-color: var(--violet);
  background: var(--surface-2);
  box-shadow: 0 20px 50px -24px var(--violet-glow);
}
.pricing-tag{
  display:inline-block; font-size:12px; font-weight:700; color: var(--ink-mute);
  letter-spacing:.02em; margin-bottom:16px;
}
.pricing-card.featured .pricing-tag{ color:#B7A6FF; }
.pricing-card h3{ font-size:19px; margin-bottom:14px; }
.pricing-price{
  font-family: var(--font-display); font-weight:700; font-size:34px; color: var(--ink);
  display:flex; align-items:baseline; gap:4px;
}
.pricing-price span{ font-family: var(--font-body); font-weight:500; font-size:14px; color: var(--ink-mute); }
.pricing-period{ font-size:13px; color: var(--ink-mute); margin: 8px 0 22px; min-height:34px; }
.pricing-features{ list-style:none; margin:0 0 26px; padding:0; display:flex; flex-direction:column; gap:10px; flex:1; }
.pricing-features li{ font-size:14.5px; color: var(--ink-soft); padding-left:22px; position:relative; }
.pricing-features li::before{ content:"✓"; position:absolute; left:0; color: var(--mint); font-weight:700; }
.pricing-card .btn{ width:100%; white-space:normal; text-align:center; }
.pricing-note{ margin-top:26px; font-size:13.5px; color: var(--ink-mute); text-align:center; }

/* ---------- Newsletter ---------- */
.newsletter{
  background: linear-gradient(155deg, #171029, #0F0D16 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align:center;
  position: relative;
  overflow:hidden;
}
.newsletter::before{
  content:"";
  position:absolute; width:340px; height:340px; border-radius:50%;
  background: radial-gradient(circle, var(--violet-glow), transparent 70%);
  top:-160px; right:-100px; pointer-events:none;
}
.newsletter h2{ font-size: clamp(28px,3vw,38px); margin-bottom:14px; }
.newsletter p{ color: var(--ink-soft); font-size:16.5px; max-width:44ch; margin: 0 auto 32px; }
.newsletter-form{
  display:flex; gap:10px; max-width:440px; margin: 0 auto; position:relative; z-index:1;
}
.newsletter-form input{
  flex:1; min-width:0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 20px;
  color: var(--ink);
  font-size:15px;
  font-family: inherit;
}
.newsletter-form input::placeholder{ color: var(--ink-mute); }
.newsletter-form input:focus{ outline:none; border-color: var(--violet); }
.newsletter-fine{ margin-top:16px; font-size:13px; color: var(--ink-mute); }
.form-msg{ margin-top:16px; font-size:14.5px; font-weight:600; min-height:20px; }
.form-msg.ok{ color: var(--mint); }
.form-msg.err{ color: var(--red); }

/* ---------- Contact ---------- */
.contact-wrap{
  display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center;
}
.contact-list{ list-style:none; margin: 26px 0 0; padding:0; display:flex; flex-direction:column; gap:16px; }
.contact-list li{ display:flex; align-items:center; gap:12px; font-size:15.5px; color: var(--ink-soft); }
.contact-list a{ color: var(--ink); text-decoration:none; font-weight:600; }
.contact-list a:hover{ color: var(--violet); }
.contact-icon{
  width:38px; height:38px; border-radius:11px; background: var(--surface); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color: var(--violet); flex:none;
}
.contact-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding: 30px;
}
.contact-card textarea, .contact-card input{
  width:100%; background: var(--bg); border:1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; color: var(--ink); font-family:inherit; font-size:14.5px; margin-bottom:12px;
}
.contact-card textarea{ resize:vertical; min-height:100px; }
.contact-card input:focus, .contact-card textarea:focus{ outline:none; border-color: var(--violet); }
.contact-card label{ font-size:13px; color: var(--ink-mute); display:block; margin-bottom:6px; }

/* ---------- Footer ---------- */
footer{
  border-top:1px solid var(--border);
  padding: 50px 0 34px;
}
.footer-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:24px; margin-bottom: 34px;}
.footer-links{ display:flex; gap:28px; list-style:none; padding:0; margin:0; flex-wrap:wrap; }
.footer-links a{ color: var(--ink-mute); text-decoration:none; font-size:14.5px; }
.footer-links a:hover{ color: var(--ink); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; color: var(--ink-mute); font-size:13.5px; border-top:1px solid var(--border); padding-top:24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px){
  .pricing-grid{ grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 920px){
  .nav-links{ display:none; }
  .menu-toggle{
    display:flex; width:40px; height:40px; align-items:center; justify-content:center;
    background:none; border:1px solid var(--border); border-radius:10px; color:var(--ink);
  }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; margin-bottom: 10px; }
  .hero h1{ max-width: none; }
  .problem-list{ grid-template-columns: 1fr; }
  .stepper{ grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .stepper::before{ display:none; }
  .audience-grid{ grid-template-columns: 1fr; }
  .showcase-grid{ grid-template-columns: 1fr; max-width:320px; margin:0 auto; }
  .feature-row{ grid-template-columns: 40px 1fr; }
  .feature-row > p{ grid-column: 2; }
  .contact-wrap{ grid-template-columns: 1fr; gap:36px; }
  section{ padding: 76px 0; }
  .newsletter{ padding: 46px 26px; }
  .newsletter-form{ flex-direction:column; }
}
@media (max-width: 560px){
  .nav .logo .logo-full{ display:none; }
  .nav .logo .logo-mark{ display:block; }
  .nav-row{ gap: 12px; }
  .nav-right{ gap: 10px; }
  .stepper{ grid-template-columns: 1fr; }
  .hero-chip{ display:none; }
  .pricing-grid{ grid-template-columns: 1fr; }
}
