/* Reaudia marketing site — styles */

:root {
  --bg: #fff7e6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(17, 17, 17, 0.1);
  --text: #141414;
  --muted: rgba(20, 20, 20, 0.72);
  --muted-2: rgba(20, 20, 20, 0.55);

  /* Extracted from logo palette */
  --amber: #fcd484;
  --amber-2: #f4dca4;
  --paper: #ececec;

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --radius-sm: 14px;

  --font-text: "EB Garamond", "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", "Palatino", serif;
  --font-display: "IM Fell English", "EB Garamond", "Garamond", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
  }
  .typing {
    border-right: none;
    width: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(252, 212, 132, 0.55), transparent 55%),
    radial-gradient(900px 600px at 85% 0%, rgba(244, 220, 164, 0.65), transparent 55%),
    repeating-linear-gradient(
      0deg,
      rgba(30, 22, 10, 0.03),
      rgba(30, 22, 10, 0.03) 1px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(30, 22, 10, 0.025),
      rgba(30, 22, 10, 0.025) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 65%, #ffffff 120%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid rgba(17, 17, 17, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand span {
  font-family: var(--font-display);
  font-size: 2.7rem;
}

.brand img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(20, 20, 20, 0.78);
  font-weight: 560;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 12px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.nav-mobile {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  font-weight: 650;
  text-decoration: none !important;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.11);
  background: rgba(255, 255, 255, 0.85);
}

.btn.primary {
  border-color: rgba(92, 59, 0, 0.18);
  background: linear-gradient(135deg, rgba(252, 212, 132, 0.95), rgba(244, 220, 164, 0.8));
}

.btn.primary:hover {
  background: linear-gradient(135deg, rgba(252, 212, 132, 1), rgba(244, 220, 164, 0.95));
}

.btn.small {
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: rgba(20, 20, 20, 0.78);
  font-weight: 600;
  font-size: 0.92rem;
}

.badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(92, 59, 0, 0.35);
  box-shadow: 0 0 0 6px rgba(252, 212, 132, 0.35);
}

main {
  padding-bottom: 64px;
}

section {
  padding: 54px 0;
}

.hero {
  padding-top: 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.hero-grid.hero-single {
  grid-template-columns: 1fr;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.hero-brand img {
  width: 116px;
  height: 116px;
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.hero-brand span {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.kicker {
  font-weight: 700;
  color: rgba(92, 59, 0, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

h1 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-line {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15em;
}

.hero-rest {
  display: inline;
}

.lead {
  margin: 14px 0 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}

.highlight,
mark {
  background: linear-gradient(120deg, rgba(252, 212, 132, 0.9), rgba(244, 220, 164, 0.55));
  padding: 0 0.2em;
  border-radius: 8px;
  box-decoration-break: clone;
}

.typing {
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid rgba(92, 59, 0, 0.6);
  white-space: nowrap;
  width: 7ch;
  font-size: 1em;
  line-height: 1.12;
  vertical-align: baseline;
  transform: translateY(0);
  animation: caret 900ms step-end infinite;
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.fine-print {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.95rem;
  line-height: 1.45;
}

.mock {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background:
    radial-gradient(600px 400px at 20% 0%, rgba(252, 212, 132, 0.75), transparent 58%),
    radial-gradient(520px 360px at 90% 20%, rgba(244, 220, 164, 0.75), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62));
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 18px;
}

.mock::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.6), transparent 50%),
    radial-gradient(400px 200px at 30% 0%, rgba(255, 255, 255, 0.8), transparent 60%);
  opacity: 0.7;
}

.mock-card {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  padding: 18px 16px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
}

.mock-card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.mock-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.mini-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.mini-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(20, 20, 20, 0.82);
  font-weight: 600;
}

.check {
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: rgba(252, 212, 132, 0.6);
  border: 1px solid rgba(92, 59, 0, 0.18);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.check svg {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 10px 0 0;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.card {
  border-radius: 12px;
  border: 1px solid rgba(67, 47, 18, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 252, 0.95), rgba(248, 242, 226, 0.88));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
  padding: 14px 13px;
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.card .icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(252, 212, 132, 0.92), rgba(244, 220, 164, 0.72));
  border: 1px solid rgba(92, 59, 0, 0.2);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.card .icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.3;
  color: rgba(66, 46, 16, 0.95);
}

.card h3 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.card p {
  margin: 8px 0 0;
  color: rgba(28, 20, 8, 0.78);
  line-height: 1.42;
  font-size: 0.92rem;
}

.engine-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.engine-list {
  border-radius: var(--radius);
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  padding: 20px 18px;
}

.engine-list .mini-list {
  margin-top: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.callout {
  border-radius: var(--radius);
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  padding: 18px 16px;
}

.callout h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.callout ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.cta {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(17, 17, 17, 0.12);
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(252, 212, 132, 0.6), transparent 58%),
    radial-gradient(900px 500px at 90% 100%, rgba(244, 220, 164, 0.6), transparent 62%),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.cta h3 {
  margin: 8px 0 0;
  letter-spacing: -0.02em;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

footer {
  padding: 26px 0 42px;
  border-top: 1px solid rgba(17, 17, 17, 0.07);
  color: rgba(20, 20, 20, 0.7);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page {
  padding-top: 38px;
}

.prose {
  margin-top: 18px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  padding: 22px 18px;
}

.prose h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

.prose h2 {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.75;
}

.prose p {
  margin: 12px 0 0;
}

.prose ul {
  margin: 12px 0 0;
}

.toc {
  margin-top: 14px;
  padding: 14px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.toc strong {
  display: block;
  margin-bottom: 6px;
}

.toc a {
  color: rgba(92, 59, 0, 0.82);
}

.meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.95rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .engine-layout {
    grid-template-columns: 1fr;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .brand img {
    width: 48px;
    height: 48px;
  }
  .brand span {
    font-size: 2rem;
  }
  .hero-brand img {
    width: 86px;
    height: 86px;
  }
  .hero-brand span {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }
  .nav-links {
    display: none;
  }
  .nav-mobile {
    display: block;
  }

  details.nav-mobile > summary {
    list-style: none;
    cursor: pointer;
  }

  details.nav-mobile > summary::-webkit-details-marker {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    font-weight: 650;
  }

  details.nav-mobile[open] .menu-panel {
    margin-top: 10px;
  }

  .menu-panel {
    border-radius: var(--radius);
    border: 1px solid rgba(17, 17, 17, 0.1);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    padding: 10px;
    display: grid;
    gap: 6px;
    min-width: min(320px, 80vw);
  }

  .menu-panel a {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .menu-panel a:hover {
    background: rgba(252, 212, 132, 0.28);
    text-decoration: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
