/* Reyuko marketing site — palette ported from the actual app's design tokens
   (reyuko-v2/src/shared/styles/tokens.css) so the marketing site and the
   product look like the same brand. */
:root {
  --accent: #2A6FDB;
  --accent-hover: #1D62C4;
  --accent-dark: #0E3FA3;
  --yellow: #FFC107;
  --yellow-dark: #E6AC00;
  --bg: #ECF0F6;
  --bg-card: #FFFFFF;
  --text-primary: #16243B;
  --text-secondary: #4C5C77;
  --text-tertiary: #7B8AA6;
  --stroke: rgba(0, 57, 140, 0.10);
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
header.nav {
  background: linear-gradient(180deg, #0E3FA3 0%, #1550C4 100%);
  color: #fff;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}
.brand:hover { color: #fff; text-decoration: none; }
nav.links { display: flex; align-items: center; gap: 28px; }
nav.links a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 14.5px; }
nav.links a:hover { color: #fff; text-decoration: none; }
.btn-nav {
  background: var(--yellow);
  color: #16243B !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.btn-nav:hover { background: var(--yellow-dark); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, #0E3FA3 0%, #1550C4 60%, #1550C4 100%);
  color: #fff;
  padding: 72px 0 120px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 680px;
  font-weight: 800;
}
.hero .accent { color: var(--yellow); }
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 36px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 15px;
}
.btn-primary { background: var(--yellow); color: #16243B; }
.btn-primary:hover { background: var(--yellow-dark); text-decoration: none; }
.btn-secondary { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); text-decoration: none; }

/* ── Hero split layout: copy left, stacked product screenshots right ───── */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px; align-items: center; }
.hero-shots { position: relative; height: 400px; }
.hero-shot {
  position: absolute;
  width: 76%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,0.38);
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-shot img { display: block; width: 100%; height: auto; }
.hero-shot.s1 { top: 0; right: 0; z-index: 3; }
.hero-shot.s2 { top: 60px; right: 56px; z-index: 2; opacity: 0.94; transform: rotate(-3deg); }
.hero-shot.s3 { top: 120px; right: 100px; z-index: 1; opacity: 0.85; transform: rotate(4deg); }

/* ── Download badges (hero) ─────────────────────────────────────────────── */
.download-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0B1220;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 9px 16px;
  border-radius: 10px;
  position: relative;
}
.download-btn:hover { background: #16243B; text-decoration: none; }
.download-btn .glyph { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; }
.download-btn .glyph svg { width: 100%; height: 100%; }
.download-btn .txt { display: flex; flex-direction: column; line-height: 1.2; }
.download-btn .txt small { font-size: 9.5px; opacity: 0.75; letter-spacing: 0.3px; }
.download-btn .txt strong { font-size: 13px; font-weight: 700; }
.download-btn.disabled { opacity: 0.55; cursor: default; pointer-events: none; }
.download-btn .soon {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--yellow);
  color: #16243B;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}
.more-link { display: inline-block; margin-top: 18px; color: rgba(255,255,255,0.75); font-size: 14px; }
.more-link:hover { color: #fff; }

/* ── Sections ────────────────────────────────────────────────────────── */
section { padding: 72px 0; }
section.alt { background: var(--bg-card); }
h2.section-title {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
}
p.section-sub {
  text-align: center;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 16px;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 4px rgba(0,0,0,.04);
}
.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #EDF4FF;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--text-secondary); font-size: 14.5px; }

/* ── Pricing comparison table ───────────────────────────────────────────── */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 2px 4px rgba(0,0,0,.04);
}
.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}
.compare-table thead th {
  vertical-align: top;
  padding: 24px 16px 20px;
  border-bottom: 2px solid var(--stroke);
}
.compare-table th.feat-col { width: 30%; }
.compare-table th.plan-col {
  text-align: center;
  border-left: 1px solid var(--stroke);
}
.compare-table th.plan-col.featured {
  background: linear-gradient(180deg, rgba(42,111,219,0.07), rgba(42,111,219,0));
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  position: relative;
}
.plan-badge {
  display: inline-block;
  background: var(--yellow);
  color: #16243B;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.plan-badge.spacer { visibility: hidden; }
.plan-name { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.plan-price { font-size: 26px; font-weight: 800; color: var(--text-primary); }
.plan-price span { font-size: 13px; font-weight: 500; color: var(--text-tertiary); margin-left: 2px; }
.plan-price-sub { font-size: 12px; color: var(--text-tertiary); margin: 4px 0 14px; min-height: 28px; }
.compare-table thead .btn { display: inline-block; padding: 9px 18px; font-size: 13.5px; }

.compare-table tbody tr:hover { background: rgba(42,111,219,0.03); }
.compare-table tbody td.c { text-align: center; border-left: 1px solid var(--stroke); }
.compare-table tbody td.c.small { font-size: 12.5px; color: var(--text-secondary); }
.compare-table td:first-child { color: var(--text-secondary); }
.compare-table th.plan-col.featured, .compare-table td.c:nth-child(4) {
  background: rgba(42,111,219,0.03);
}

.group-row td {
  background: var(--bg);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-tertiary);
  padding: 10px 16px;
  border-bottom: 1px solid var(--stroke);
}

td.yes::before, td.no::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
td.yes::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A6FDB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
td.no::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B8AA6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='6' y1='18' x2='18' y2='6'/%3E%3C/svg%3E");
  opacity: 0.55;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 4px 6px;
}
.step-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.step-btn:hover { background: #EDF4FF; }
.step-value { font-weight: 800; font-size: 14px; min-width: 16px; text-align: center; }
.stepper-hint { font-size: 10.5px; color: var(--text-tertiary); margin-top: 6px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
  background: #0E1A33;
  color: rgba(255,255,255,0.65);
  padding: 48px 0 32px;
  font-size: 14px;
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
footer a { color: rgba(255,255,255,0.75); }
footer a:hover { color: #fff; }
footer .cols { display: flex; gap: 56px; flex-wrap: wrap; }
footer .col h4 { color: #fff; font-size: 13px; margin: 0 0 12px; }
footer .col a { display: block; margin-bottom: 8px; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ── Highlight banner (hero sub-banner) ─────────────────────────────────── */
.highlight-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,193,7,0.14);
  border: 1px solid rgba(255,193,7,0.4);
  color: var(--yellow);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.highlight-banner svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Hero-style heading, reused on the highlight sections (blue + yellow) ── */
.title-hero {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--accent-dark);
  margin: 0 0 20px;
}
.title-hero .hl { color: var(--yellow-dark); }

/* ── Highlight sections (one "why Reyuko" point per full-width section) ── */
.highlight-section { text-align: center; max-width: 760px; margin: 0 auto; }
.highlight-section .section-sub { margin-bottom: 28px; }
.highlight-section .section-sub.last { margin-bottom: 0; }

/* ── Reason list (argument bullets inside highlight sections) ───────────── */
.reason-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 620px;
  text-align: left;
  display: grid;
  gap: 14px;
}
.reason-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}
.reason-list li .ri {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: #EDF4FF;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.reason-list li .ri svg { width: 14px; height: 14px; }
.reason-list li strong { color: var(--text-primary); }

/* ── Product screenshots ─────────────────────────────────────────────────── */
.shot-frame {
  border-radius: 14px;
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 60px rgba(14,63,163,0.18);
  overflow: hidden;
  background: #fff;
}
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-caption {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 14px;
}

/* ── Platform availability row ───────────────────────────────────────────── */
.platform-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.platform-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px 14px;
}
.platform-card .icon {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: #EDF4FF;
  color: var(--accent);
}
.platform-card .icon svg { width: 20px; height: 20px; }
.platform-card h4 { margin: 0 0 4px; font-size: 14.5px; }
.platform-card .status {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.platform-card .status.live { background: #E6F7EE; color: #1A9A5C; }
.platform-card .status.soon { background: #FFF4DE; color: #B5790A; }

@media (max-width: 860px) {
  nav.links { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1, .title-hero { font-size: 32px; }
  .platform-row { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shots { display: none; }
}

/* Blog comparison tables (reyuko.net/blog) */
.cmp-table { width:100%; border-collapse:collapse; margin:28px 0; font-size:15px; }
.cmp-table caption { caption-side:top; text-align:left; font-size:13.5px; color:#6b7690; margin-bottom:8px; }
.cmp-table th, .cmp-table td { border:1px solid #e2e8f5; padding:10px 12px; text-align:left; vertical-align:top; }
.cmp-table thead th { background:#eef3ff; color:#1a2233; font-weight:700; font-size:14px; }
.cmp-table tbody th { font-weight:600; white-space:nowrap; }
.cmp-table tbody tr:nth-child(even) { background:#f9fbff; }
.cmp-table tr.reyuko-row { background:#eefaf0 !important; }
.cmp-table tr.reyuko-row th { color:#0f7b0f; }
.cmp-table .yes { color:#0f7b0f; font-weight:600; }
.cmp-table .no { color:#b91c1c; }
@media (max-width:640px){ .cmp-table { font-size:12.5px; display:block; overflow-x:auto; } .cmp-table th, .cmp-table td { padding:7px 9px; } }

/* Blog internal-link "Related reading" block */
.related { margin-top:40px; padding-top:22px; border-top:1px solid #e2e6ee; }
.related h3 { font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:#6b7690; margin:0 0 12px; }
.related ul { list-style:none; padding:0; margin:0; }
.related li { margin:8px 0; font-size:15.5px; }
.related a { color:#2563eb; font-weight:500; }
