/* rosen-ai.com — one small stylesheet. Brand gradient taken from the R mark. */
:root {
  --ink: #12131a;
  --muted: #5d6170;
  --line: #e6e7ee;
  --bg: #ffffff;
  --soft: #f5f6fb;
  --violet: #8b3dff;
  --blue: #4f7cff;
  --cyan: #22d3ee;
  --grad: linear-gradient(120deg, var(--violet), var(--blue) 50%, var(--cyan));
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg);
}
a { color: var(--blue); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.top .logo img { height: 30px; width: auto; }
.top nav { margin-left: auto; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--blue); }
.btn {
  display: inline-block; padding: .65rem 1.15rem; border-radius: 10px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: #fff; white-space: nowrap;
}
.btn.primary { background: var(--grad); color: #fff; border: 0; }
.btn:hover { filter: brightness(1.05); }

/* Hero */
.hero { background: #0d0e16; color: #f2f3f8; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(79,124,255,.35), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -50% -10%; width: 60%; height: 120%;
  background: radial-gradient(closest-side, rgba(139,61,255,.30), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.12; margin: 0 0 16px; letter-spacing: -.02em; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: #c7cad6; margin: 0 0 28px; max-width: 34rem; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn:not(.primary) { background: transparent; color: #f2f3f8; border-color: rgba(255,255,255,.25); }
.hero .mark { justify-self: center; width: min(260px, 70%); filter: drop-shadow(0 20px 60px rgba(79,124,255,.45)); border-radius: 24px; }

/* Sections */
section { padding: 72px 0; }
section.soft { background: var(--soft); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 10px; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 40rem; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps .card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.who { display: flex; flex-wrap: wrap; gap: 10px; }
.who span { padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .95rem; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 2rem; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.doc p, .doc li { color: #2b2e3a; }
.doc ul { padding-left: 1.2rem; }

/* Footer */
footer { background: #0d0e16; color: #aeb2c0; font-size: .92rem; padding: 36px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer img { height: 24px; width: auto; }
footer a { color: #d8dbe6; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero .mark { width: 96px; order: -1; justify-self: start; }
  .top nav a:not(.btn) { display: none; }
  .contact { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}
