/* Renlyo public website: the landing page, Support and Privacy Policy. Brand colors navy #082844, coral #FB6144, white
   (docs/RENLYO_BRAND.md); the logo is the supplied artwork, never redrawn. No scripts, no external requests. */

@font-face { font-family: "DejaVu Sans"; src: url("/static/fonts/DejaVuSans.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DejaVu Sans"; src: url("/static/fonts/DejaVuSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #082844;
  --navy-2: #0e3558;
  --coral: #fb6144;
  --coral-pressed: #e4553a;
  --white: #ffffff;
  --ink: var(--navy);
  --ink-2: rgba(8, 40, 68, 0.7);
  --ink-3: rgba(8, 40, 68, 0.5);
  --canvas: #f3f5f8;
  --hairline: rgba(8, 40, 68, 0.1);
  --coral-tint: rgba(251, 97, 68, 0.12);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(8, 40, 68, 0.06), 0 8px 24px rgba(8, 40, 68, 0.06);
  --shadow-phone: 0 24px 60px rgba(8, 40, 68, 0.22);
  --font: "DejaVu Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav .button { color: var(--white); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.button-primary { background: var(--coral); color: var(--white); }
.button-primary:hover { background: var(--coral-pressed); }
.button-secondary { background: var(--white); color: var(--navy); border-color: rgba(8, 40, 68, 0.2); }
.button-secondary:hover { border-color: var(--navy); }
.button-small { min-height: 36px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--canvas) 0%, var(--white) 100%); padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--coral); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--coral); }
.lede { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.availability { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.hero-phones { position: relative; display: flex; justify-content: center; gap: 18px; }
.hero-phones .phone:nth-child(2) { transform: translateY(36px); }

/* A genuine screenshot in a simple device frame (the screenshot itself is unmodified). */
.phone { margin: 0; flex: 0 1 260px; border-radius: 38px; padding: 9px; background: var(--navy); box-shadow: var(--shadow-phone); }
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; background: var(--canvas); }
.phone-small { flex-basis: 220px; border-radius: 32px; padding: 7px; }
.phone-small img { border-radius: 26px; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--canvas); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.feature { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--coral-tint); color: var(--coral); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.feature h3 { font-size: 18px; }
.feature p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step { counter-increment: step; position: relative; padding-top: 52px; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.step h3 { font-size: 17px; }
.step p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

.gallery { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 28px; margin: 0; list-style: none; }
.gallery li { scroll-snap-align: start; flex: 0 0 auto; width: 230px; }
.gallery figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-2); text-align: center; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--navy); color: var(--white); border-radius: 24px; padding: 40px; }
.contact h2 { font-size: 28px; }
.contact p { margin-top: 10px; color: rgba(255, 255, 255, 0.78); }
.contact a.mail { color: var(--white); font-weight: 700; }

/* Text pages (Support, Privacy Policy) */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(30px, 4vw, 40px); }
.page .meta { margin-top: 10px; color: var(--ink-3); font-size: 14px; }
.page h2 { font-size: 22px; margin-top: 40px; }
.page h3 { font-size: 17px; margin-top: 24px; }
.page p, .page li { color: var(--ink-2); }
.page p { margin-top: 12px; }
.page ul { padding-left: 22px; margin: 12px 0 0; }
.page li + li { margin-top: 6px; }
.page a { color: var(--navy); font-weight: 700; }
.callout { margin-top: 24px; padding: 18px 20px; border-radius: 12px; background: var(--canvas); border: 1px solid var(--hairline); }
.callout p:first-child { margin-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 36px 0; font-size: 14px; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-phones { margin-top: 8px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav .hide-small { display: none; }
  .nav { gap: 14px; }
  .brand img { height: 30px; }
  .hero { padding: 40px 0 24px; }
  .lede { font-size: 16px; }
  .hero-phones .phone { flex-basis: 46%; border-radius: 28px; padding: 6px; }
  .hero-phones .phone img { border-radius: 23px; }
  .hero-phones .phone:nth-child(2) { transform: translateY(24px); }
  .section { padding: 56px 0; }
  .features, .steps { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; }
  .gallery li { width: 200px; }
}
