/* rz.pe registry - nic.rz.pe
   Vibrant, rounded, modern. One stylesheet, system fonts, no libraries. */

:root {
  --blue: #0b63ff;
  --blue-ink: #0a4fd0;
  --violet: #7c5cff;
  --ink: #0d1430;
  --text: #3a4256;
  --muted: #6b7384;
  --muted-2: #9aa2b1;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --line: #eceff5;
  --line-2: #e2e7f1;

  --tint-blue: #eef3ff;
  --tint-violet: #f3efff;
  --tint-green: #e9faef;
  --tint-orange: #fff3ea;
  --tint-cyan: #e7f6ff;
  --tint-yellow: #fff7e4;

  --c-green: #19b24a;
  --c-orange: #f4720b;
  --c-cyan: #0b9fe8;
  --c-yellow: #e6a50a;
  --c-red: #e23350;

  --grad: linear-gradient(92deg, var(--violet), var(--blue) 70%);
  --radius: 26px;
  --radius-m: 18px;
  --radius-s: 14px;
  --pill: 999px;
  --shadow-sm: 0 4px 16px rgba(17,24,48,.06);
  --shadow: 0 14px 40px rgba(17,24,48,.09);
  --shadow-lg: 0 24px 60px rgba(17,24,48,.12);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--blue); text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- Header ---------- */
header.site { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .logo { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; box-shadow: 0 6px 16px rgba(11,99,255,.28); display: block; }
.brand .wm { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.brand .wm span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 15px; padding: 10px 15px; border-radius: var(--pill); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-cta { color: #fff !important; background: var(--blue); box-shadow: 0 8px 20px rgba(11,99,255,.3); }
.nav-cta:hover { background: var(--blue-ink) !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-size: 18px; color: var(--ink); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: var(--pill); font-weight: 700; font-size: 15.5px; border: 1.5px solid transparent; background: #fff; color: var(--ink); cursor: pointer; transition: transform .14s ease, box-shadow .15s, background .15s; box-shadow: var(--shadow-sm); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(11,99,255,.32); }
.btn-primary:hover { background: var(--blue-ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #060a1c; }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-danger { background: var(--c-red); color: #fff; box-shadow: 0 12px 26px rgba(226,51,80,.28); }
.btn-danger:hover { background: #c32742; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 60px; text-align: center; background:
  radial-gradient(900px 420px at 15% -10%, rgba(124,92,255,.14), transparent 60%),
  radial-gradient(900px 440px at 90% 0%, rgba(11,99,255,.14), transparent 60%),
  linear-gradient(180deg, #fbfcff, #fff); }
.hero .pill-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 7px 15px; border-radius: var(--pill); margin-bottom: 26px; }
.hero .pill-badge .d { width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); }
.hero h1 { font-size: clamp(36px, 6.4vw, 70px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 850; color: var(--ink); }
.rotator { display: inline-flex; align-items: baseline; gap: 2px; }
.rotator .word { display: inline-block; min-width: 2ch; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .25s, transform .25s; }
.hero p.lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); margin: 22px auto 0; max-width: 56ch; }

/* search */
.search { margin: 34px auto 0; max-width: 680px; }
.search form { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--pill); padding: 8px 8px 8px 22px; box-shadow: var(--shadow-lg); transition: border-color .15s, box-shadow .15s; }
.search form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,99,255,.12), var(--shadow-lg); }
.search .mag { width: 20px; height: 20px; color: var(--muted-2); flex: 0 0 auto; }
.search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 17px; color: var(--ink); padding: 12px 4px; }
.search input::placeholder { color: var(--muted-2); }
.search .btn { padding: 14px 26px; }
.hero .sub { margin-top: 16px; color: var(--muted-2); font-size: 14px; }

/* marquee of example names */
.marquee { margin-top: 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); overflow: hidden; }
.marquee .track { display: inline-flex; gap: 14px; white-space: nowrap; animation: slide 36s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: var(--pill); padding: 10px 20px; font-weight: 650; color: var(--ink); box-shadow: var(--shadow-sm); font-size: 15px; }
.chip b { color: var(--blue); font-weight: 800; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
section { padding: 78px 0; }
.sec-head { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 750; font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
h2 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 820; color: var(--ink); }
.sec-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fcard .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; }
.fcard .ic svg { width: 27px; height: 27px; }
.ic.b { background: var(--tint-blue); color: var(--blue); }
.ic.v { background: var(--tint-violet); color: var(--violet); }
.ic.g { background: var(--tint-green); color: var(--c-green); }
.ic.o { background: var(--tint-orange); color: var(--c-orange); }
.ic.c { background: var(--tint-cyan); color: var(--c-cyan); }
.ic.y { background: var(--tint-yellow); color: var(--c-yellow); }
.fcard h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 9px; font-weight: 750; color: var(--ink); }
.fcard p { color: var(--muted); font-size: 15.5px; }

/* steps */
.alt { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); position: relative; }
.step .n { width: 46px; height: 46px; border-radius: 15px; background: var(--grad); color: #fff; font-weight: 850; display: grid; place-items: center; margin-bottom: 18px; font-size: 18px; box-shadow: 0 10px 22px rgba(11,99,255,.28); }
.step h3 { font-size: 20px; margin-bottom: 8px; font-weight: 750; color: var(--ink); }
.step p { color: var(--muted); font-size: 15.5px; }

/* big split panel */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: stretch; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.panel-card.tint { background: linear-gradient(140deg, var(--tint-violet), var(--tint-blue)); border: none; }
.panel-card h3 { font-size: 24px; letter-spacing: -0.01em; color: var(--ink); font-weight: 800; }
.panel-card p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.panel-card .big { font-size: clamp(34px,5vw,56px); font-weight: 850; letter-spacing: -0.03em; }

/* CTA band */
.cta-band { background: var(--ink); border-radius: 32px; padding: 54px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(124,92,255,.35), transparent 60%), radial-gradient(600px 320px at 90% 100%, rgba(11,99,255,.35), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(26px,4vw,40px); }
.cta-band p { color: #c3c9db; margin: 14px auto 26px; max-width: 52ch; font-size: 17px; }
.cta-band .acts { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Legal / doc pages ---------- */
.doc { padding: 60px 0 50px; max-width: 820px; }
.doc .tag { display: inline-block; font-size: 12.5px; font-weight: 750; color: var(--blue); background: var(--tint-blue); padding: 6px 13px; border-radius: var(--pill); letter-spacing: 0.04em; text-transform: uppercase; }
.doc h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.03em; font-weight: 850; color: var(--ink); margin-top: 16px; }
.doc .updated { color: var(--muted-2); margin-top: 12px; font-size: 14px; }
.doc h2 { font-size: 23px; margin: 38px 0 12px; letter-spacing: -0.01em; font-weight: 780; color: var(--ink); }
.doc h3 { font-size: 18px; margin: 26px 0 8px; font-weight: 720; color: var(--ink); }
.doc p, .doc li { color: var(--text); font-size: 16.5px; }
.doc p { margin: 13px 0; }
.doc ul, .doc ol { margin: 13px 0 13px 22px; }
.doc li { margin: 8px 0; }
.doc strong { color: var(--ink); }
.callout { background: var(--tint-blue); border-radius: var(--radius-m); padding: 20px 22px; margin: 22px 0; }
.callout p { margin: 0; color: var(--ink); }
.mail-line a { font-weight: 750; }

/* form */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin: 24px 0; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14.5px; font-weight: 650; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; background: var(--bg-soft); border: 1.5px solid var(--line-2); color: var(--ink); padding: 13px 15px; border-radius: var(--radius-s); font-size: 15.5px; outline: none; font-family: inherit; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11,99,255,.1); }
.hint { color: var(--muted-2); font-size: 13.5px; margin-top: 7px; }

/* ---------- Footer ---------- */
footer.site { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 58px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; }
.foot-grid h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 15px; font-weight: 700; }
.foot-grid a { display: block; color: var(--muted); font-size: 15px; padding: 6px 0; }
.foot-grid a:hover { color: var(--ink); }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 36ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line-2); margin-top: 40px; padding-top: 24px; color: var(--muted-2); font-size: 13.5px; }
.foot-bottom a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px 20px; transform: translateY(-130%); transition: transform .22s ease; box-shadow: var(--shadow); }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: inline-grid; place-items: center; }
  .cards, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .search form { flex-wrap: wrap; border-radius: 26px; padding: 14px; }
  .search input { width: 100%; }
  .search .btn { width: 100%; justify-content: center; }
  .cta-band { padding: 38px 24px; border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) { *, .marquee .track { animation: none !important; transition: none !important; } }
