/* RentIT public website - shared stylesheet (no external dependencies) */
:root {
  --blue: #0b4fd7;
  --blue-2: #1d65f0;
  --navy: #061a44;
  --ink: #071631;
  --muted: #5b6477;
  --line: #e6ecf5;
  --soft: #f7faff;
  --bg: #f8fafe;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 26, 68, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; }

a { color: var(--blue); }
a:hover { color: var(--navy); }

h1, h2, h3 { line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .8rem; }
h3 { font-size: 1.1rem; margin: 0 0 .4rem; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.3rem; }
.brand strong { color: var(--blue); }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.main-nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a.active { background: #eaf1ff; color: var(--blue); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  padding: 72px 0 80px;
}
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; max-width: 640px; color: #dbe6ff; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero-card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 24px; }
.hero-card ul { margin: 0; padding-left: 1.1rem; }
.hero-card li { margin: .35rem 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: #fff; color: var(--blue); }
.btn-primary:hover { background: #eaf1ff; color: var(--navy); }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); color: #fff; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.card h3 { margin-bottom: .5rem; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 18px 50px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps li strong { display: block; color: var(--navy); }
.steps li span { color: var(--muted); }

.cat { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.cat .ico { width: 38px; height: 38px; border-radius: 10px; background: #eaf1ff; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: 0 0 38px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flow .card { box-shadow: none; }
.flow .num { font-size: .8rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }

.notice { background: #eaf1ff; border: 1px solid #c9dafc; border-radius: 12px; padding: 16px 18px; color: var(--navy); }
.notice.warn { background: #fff8e6; border-color: #f3dc9c; }

.store-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 10px; padding: 10px 16px; text-decoration: none; opacity: .85; }
.store-badge small { display: block; font-size: .7rem; opacity: .8; line-height: 1.1; }
.store-badge b { display: block; font-size: 1.05rem; line-height: 1.2; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq details p { margin: .7rem 0 0; color: var(--muted); }

/* Page hero + legal */
.page-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 44px 0 28px; }
.page-hero .lead { color: var(--muted); margin: 0 0 .4rem; }
.updated { display: inline-block; margin: .4rem 0 0; font-size: .9rem; color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.legal { padding-top: 32px; padding-bottom: 56px; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal h3 { margin-top: 1.2rem; }
.legal p, .legal li { color: #243049; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: var(--white); font-size: .95rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--soft); color: var(--navy); }
.table-wrap { overflow-x: auto; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); }

/* Footer */
.site-footer { background: var(--navy); color: #c8d4ef; padding: 48px 0 24px; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #bcd0ff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer-brand { font-size: 1.4rem; color: #fff; margin: 0 0 .5rem; }
.footer-brand strong { color: #7fa8ff; }
.footer-title { font-size: 1rem; color: #fff; margin: 0 0 .8rem; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin: .35rem 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 32px; padding-top: 20px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.pay-badges img { display: block; height: 32px; width: auto; max-width: 100%; }
.pay-band { margin: 24px 0 0; }
.pay-band img { display: block; height: 32px; width: auto; max-width: 100%; }
.small { font-size: .88rem; }

/* 404 */
.notfound { text-align: center; padding: 96px 20px; }
.notfound .code { font-size: 5rem; font-weight: 800; color: var(--blue); margin: 0; line-height: 1; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4, .flow { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .flow, .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .main-nav a { padding: 6px 8px; font-size: .9rem; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 44px 0; }
}