:root {
  --ruby: #c2123f;
  --ruby-dark: #8e0c2d;
  --ruby-deep: #2a0a1a;
  --ink: #241319;
  --muted: #5b4850;
  --bg: #fff;
  --tint: #fdf1f4;
  --line: #f0d6dd;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(142, 12, 45, .14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ruby-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--ruby-deep); color: #fff;
  padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid #ff7a99; outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-size: 1.35rem; }
.brand strong { color: var(--ruby); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--ruby); }
.nav-toggle {
  display: none; background: none; border: 0; padding: .6rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block; border: 2px solid var(--ruby); background: var(--ruby); color: #fff;
  padding: .85rem 1.6rem; border-radius: 999px; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--ruby-dark); border-color: var(--ruby-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-small { padding: .5rem 1.1rem; }
.btn-ghost { background: transparent; color: var(--ruby-dark); }
.btn-ghost:hover { color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(194,18,63,.14), transparent 45%),
    linear-gradient(180deg, var(--tint), #fff);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--ruby); margin-bottom: .8rem; }
.grad { background: linear-gradient(90deg, var(--ruby), #ff5a7e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-art img { border-radius: 20px; box-shadow: 0 24px 60px rgba(142,12,45,.3); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--ruby), var(--ruby-dark));
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.steps li { background: #fff; border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ruby); color: #fff; font-weight: 700; margin-bottom: 1rem;
}

.promo-frame { margin: 0 auto 2rem; max-width: 960px; }
.promo-frame img { width: 100%; border-radius: 20px; box-shadow: 0 24px 60px rgba(142,12,45,.3); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.ticks li { padding-left: 2rem; position: relative; margin-bottom: .6rem; font-weight: 500; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ruby); color: #fff; font-size: .8rem; display: grid; place-items: center;
}
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: .75rem .9rem;
  border: 1.5px solid #d9b9c3; border-radius: 10px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #ffc2d0; border-color: var(--ruby); }
[data-rubyai-success] {
  margin-top: 1rem; padding: 1rem; border-radius: 10px; background: #e8f7ee; color: #14502b; font-weight: 600;
}

/* Footer */
.site-footer { background: var(--ruby-deep); color: #f3d9e0; padding: 2.2rem 0; }
.site-footer .brand { color: #fff; font-size: 1.2rem; }
.site-footer .brand strong { color: #ff7a99; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-inner a { color: #f3d9e0; text-decoration: none; }
.footer-inner a:hover { color: #fff; text-decoration: underline; }
.footer-inner p { margin: 0; font-size: .9rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem;
    border-bottom: 1px solid var(--line); display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: .9rem; text-align: center; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}