/* =========================================================
   RENATA — AI Receptionist · Design System v1
   Concept: "Florida Deco Sunset" — Miami art-deco arches,
   palm shadows, sunset coral, palm-night green, warm sand.
   ========================================================= */

:root {
  --night: #0F2A24;      /* palm night — deep brand dark */
  --palm: #1D5B4A;       /* palm green — primary brand */
  --palm-2: #2E7D66;
  --coral: #FF6A4D;      /* sunset coral — action / Renata's color */
  --coral-deep: #E04E2F;
  --sun: #FFB84D;        /* golden hour */
  --lagoon: #3CC8B4;     /* "live" / online signal */
  --sand: #F7F0E5;       /* page background */
  --sand-2: #EFE3D0;
  --shell: #FFFBF5;      /* cards */
  --ink: #14201C;        /* text */
  --muted: #5B6A64;
  --line: rgba(20, 32, 28, .12);

  --f-display: "Gloock", "Times New Roman", serif;
  --f-body: "Onest", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-arch: 999px 999px 28px 28px;
  --shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 60px -24px rgba(15, 42, 36, .35);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
/* film grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--coral); color: #fff; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--palm); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.02; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(38px, 5.2vw, 72px); }
h3 { font-size: 26px; line-height: 1.15; }
em.it { font-style: italic; color: var(--coral); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--coral); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 16px/1 var(--f-body); letter-spacing: .01em;
  box-shadow: 0 10px 30px -10px rgba(224, 78, 47, .7);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); background: var(--coral-deep); box-shadow: 0 16px 40px -12px rgba(224, 78, 47, .8); }
.btn.ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { --fg: #fff; background: var(--ink); }
.btn.light { --bg: var(--sand); --fg: var(--night); box-shadow: none; }
.btn.light:hover { background: #fff; }
.btn .ring { width: 10px; height: 10px; border-radius: 50%; background: #fff; position: relative; }
.btn .ring::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #fff; animation: ping 1.6s infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in srgb, var(--sand) 78%, transparent);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; font-family: var(--f-display); font-size: 30px; color: var(--night); letter-spacing: -.02em; }
.logo .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); display: inline-block; margin-left: 3px; box-shadow: 0 0 0 0 rgba(255,106,77,.6); animation: live 2.2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255,106,77,.55); } 70% { box-shadow: 0 0 0 10px rgba(255,106,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,77,0); } }
.logo small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); margin-left: 8px; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink); opacity: .78; }
.nav-links a:hover { opacity: 1; color: var(--coral-deep); }
.lang { display: inline-flex; border-radius: 999px; padding: 3px; background: var(--sand-2); font-family: var(--f-mono); font-size: 12px; }
.lang a { padding: 6px 10px; border-radius: 999px; text-decoration: none; opacity: .7; }
.lang a[aria-current="true"] { background: var(--night); color: var(--sand); opacity: 1; }
.nav .btn { padding: 12px 18px; font-size: 14px; }
@media (max-width: 900px) { .nav-links .hide-m { display: none; } }
@media (max-width: 560px) { .nav .btn span.t { display: none; } .logo small { display: none; } .nav-links { gap: 10px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(56px, 8.4vw, 124px); color: var(--night); }
.hero h1 .l2 { display: block; font-style: italic; color: var(--coral); font-size: .52em; line-height: 1.08; margin-top: 10px; letter-spacing: -.01em; }
.hero .lead { margin: 26px 0 34px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .micro { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero .micro span::before { content: "✓ "; color: var(--palm-2); font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--shell); box-shadow: var(--shadow); font-family: var(--f-mono); font-size: 12px; margin-bottom: 26px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 0 4px rgba(60,200,180,.2); }

/* the arch stage */
.stage { position: relative; aspect-ratio: 4/5; max-width: 520px; justify-self: end; width: 100%; }
.sun { position: absolute; width: 118%; aspect-ratio: 1; left: -9%; top: -6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--sun) 0%, var(--coral) 46%, rgba(255,106,77,0) 70%); opacity: .9; filter: blur(2px); animation: breathe 9s ease-in-out infinite; }
.sun::after { /* deco sun stripes */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-linear-gradient(180deg, transparent 0 18px, var(--sand) 18px 22px);
  mask: linear-gradient(180deg, transparent 52%, #000 72%); -webkit-mask: linear-gradient(180deg, transparent 52%, #000 72%); opacity: .8; }
@keyframes breathe { 50% { transform: scale(1.03); } }
.arch { position: absolute; inset: 0; border-radius: var(--r-arch); overflow: hidden; background: var(--palm); box-shadow: 0 40px 80px -30px rgba(15,42,36,.55); border: 8px solid var(--shell); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; animation: rise 1.2s .2s cubic-bezier(.2,.8,.2,1) both; }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(15,42,36,.35)); }
.palm-shadow { position: absolute; right: -60px; top: -40px; width: 340px; opacity: .14; pointer-events: none; transform-origin: top right; animation: sway 7s ease-in-out infinite; z-index: 3; }
@keyframes sway { 50% { transform: rotate(-4deg); } }
@keyframes rise { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }

/* floating live cards */
.fcard { position: absolute; z-index: 4; background: var(--shell); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 14px 16px; font-size: 14px; min-width: 220px; opacity: 0; transform: translateY(12px) scale(.98); transition: all .6s cubic-bezier(.2,.8,.2,1); }
.fcard.on { opacity: 1; transform: none; }
.fcard .k { white-space: nowrap; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.fcard .v { font-weight: 600; margin-top: 4px; }
.c-call { left: -40px; top: 9%; }
.c-call .wave { display: flex; gap: 3px; align-items: center; height: 22px; margin-top: 8px; }
.c-call .wave b { width: 3px; border-radius: 2px; background: var(--coral); animation: wv 1s ease-in-out infinite; }
@keyframes wv { 0%,100% { height: 4px; } 50% { height: 20px; } }
.c-say { right: -26px; top: 40%; max-width: 270px; }
.c-say .v { font-weight: 400; font-style: italic; font-family: var(--f-display); font-size: 18px; line-height: 1.3; }
.c-wa { left: -30px; bottom: 7%; max-width: 300px; background: #E7F8EE; border: 1px solid rgba(37,211,102,.25); }
.c-wa .k { color: #128C4A; }
.c-wa ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; }
.c-wa li { padding: 2px 0; }
.c-wa li b { font-weight: 600; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { justify-self: center; max-width: 420px; margin-top: 30px; }
  .c-call { left: -8px; } .c-say { right: -8px; } .c-wa { left: -8px; }
}
@media (max-width: 560px) {
  .stage { margin-bottom: 70px; }
  .fcard { min-width: 0; font-size: 12.5px; padding: 10px 12px; }
  .c-call { top: auto; bottom: 30%; left: -6px; max-width: 200px; }
  .c-say { display: none; }
  .c-wa { left: auto; right: -6px; bottom: -64px; max-width: 250px; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--night); color: var(--sand); padding: 18px 0; overflow: hidden; border-block: 1px solid rgba(255,255,255,.06); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: mq 38s linear infinite; font-family: var(--f-display); font-size: 26px; font-style: italic; white-space: nowrap; }
.marquee .track span::after { content: "✦"; color: var(--coral); margin-left: 48px; font-style: normal; font-size: 16px; vertical-align: middle; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 120px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.sec-head .lead { justify-self: end; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 20px; } .sec-head .lead { justify-self: start; } .sec { padding: 84px 0; } }

/* night timeline */
.night { background: radial-gradient(1200px 600px at 80% -10%, rgba(255,106,77,.18), transparent 60%), var(--night); color: var(--sand); overflow: hidden; }
.night .eyebrow { color: var(--sun); }
.night .lead { color: rgba(247,240,229,.7); }
.clock { font-family: var(--f-display); font-size: clamp(90px, 16vw, 230px); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(247,240,229,.35); letter-spacing: -.03em; }
.clock b { color: var(--coral); -webkit-text-stroke: 0; font-weight: 400; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid rgba(247,240,229,.18); }
.tl { padding: 28px 24px 0 0; position: relative; }
.tl::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--night); border: 2px solid var(--coral); }
.tl .t { font-family: var(--f-mono); color: var(--sun); font-size: 13px; letter-spacing: .08em; }
.tl h3 { margin: 10px 0 8px; font-size: 24px; color: var(--sand); }
.tl p { color: rgba(247,240,229,.68); font-size: 15px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* languages */
.langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lcard { background: var(--shell); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.lcard:hover { transform: translateY(-6px) rotate(-.4deg); }
.lcard .flag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.lcard blockquote { margin: 18px 0 0; font-family: var(--f-display); font-size: 27px; line-height: 1.18; }
.lcard .big { position: absolute; right: -10px; bottom: -40px; font-family: var(--f-display); font-size: 160px; color: var(--sand-2); line-height: 1; z-index: 0; font-style: italic; }
.lcard > * { position: relative; z-index: 1; }
.lcard:nth-child(2) { background: var(--palm); color: var(--sand); }
.lcard:nth-child(2) .flag { color: rgba(247,240,229,.7); }
.lcard:nth-child(2) .big { color: rgba(255,255,255,.07); }
@media (max-width: 860px) { .langs { grid-template-columns: 1fr; } }

/* included bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { background: var(--shell); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); grid-column: span 2; display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.tile.w3 { grid-column: span 3; }
.tile.dark { background: var(--night); color: var(--sand); }
.tile.dark p { color: rgba(247,240,229,.72); }
.tile.coral { background: var(--coral); color: #fff; }
.tile.coral p { color: rgba(255,255,255,.88); }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sand-2); color: var(--palm); }
.tile.dark .ico, .tile.coral .ico { background: rgba(255,255,255,.12); color: inherit; }
.tile p { color: var(--muted); font-size: 15px; margin: 0; }
.tile .tag { margin-top: auto; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .tile.w3 { grid-column: span 1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.calc .in { background: var(--shell); padding: 44px; }
.calc .out { background: var(--palm); color: var(--sand); padding: 44px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc .out::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,184,77,.35), transparent 65%); }
.field { margin-bottom: 26px; }
.field label { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 10px; }
.field output { font-family: var(--f-mono); color: var(--coral-deep); font-weight: 500; }
input[type=range] { width: 100%; accent-color: var(--coral); }
.money { font-family: var(--f-display); font-size: clamp(54px, 7vw, 92px); line-height: 1; color: var(--sun); }
.calc .out small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.calc .out p { color: rgba(247,240,229,.78); margin-top: 18px; }
.calc .note { font-size: 12px; opacity: .6; margin-top: 10px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc .in, .calc .out { padding: 30px; } }

/* industries */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 14px 22px; border-radius: 999px; background: transparent; border: 1.5px solid var(--ink); font-size: 16px; transition: all .25s; }
.chip:hover { background: var(--night); color: var(--sand); border-color: var(--night); }
.cities { margin-top: 28px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); letter-spacing: .06em; }

/* pricing */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.ticket { position: relative; background: var(--night); color: var(--sand); border-radius: var(--r-lg); padding: 48px; overflow: hidden; }

.ticket .price { font-family: var(--f-display); font-size: clamp(80px, 10vw, 128px); line-height: .9; }
.ticket .price sup { font-size: .32em; vertical-align: top; position: relative; top: .5em; margin-right: 4px; }
.ticket .price sub { font-size: .2em; font-family: var(--f-body); opacity: .7; vertical-align: baseline; }
.ticket .badge { display: inline-block; background: var(--coral); color: #fff; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; padding: 8px 12px; border-radius: 8px; text-transform: uppercase; transform: rotate(-3deg); margin-bottom: 18px; }
.ticket ul { list-style: none; padding: 32px 0 0; border-top: 2px dashed rgba(247,240,229,.18); margin: 36px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 15px; }
.ticket li::before { content: "✦ "; color: var(--coral); }
.ticket .fine { font-size: 13px; opacity: .6; margin-top: 16px; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } .ticket { padding: 32px; } .ticket ul { grid-template-columns: 1fr; } }

/* demo */
.demo { background: linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%); }
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.demo-card { border-radius: var(--r-lg); padding: 40px; background: var(--shell); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.demo-card.phone { background: var(--coral); color: #fff; }
.demo-card .num { font-family: var(--f-display); font-size: clamp(34px, 4vw, 52px); line-height: 1; }
@media (max-width: 760px) { .demo-grid { grid-template-columns: 1fr; } .demo-card { padding: 28px; } }

/* onboarding steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--shell); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.steps li:nth-child(2) { background: var(--palm); color: var(--sand); }
.steps li:nth-child(2) p { color: rgba(247,240,229,.78); }
.steps .n { font-family: var(--f-display); font-size: 64px; line-height: 1; color: var(--coral); display: block; margin-bottom: 14px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
/* welcome */
.welcome { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.cal-card { background: var(--shell); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 12px; border-top: 6px solid var(--coral); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li::before { content: "✦ "; color: var(--coral); }
@media (max-width: 900px) { .welcome { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-body); font-weight: 300; font-size: 32px; line-height: .8; color: var(--coral); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 16px 0 0; color: var(--muted); max-width: 70ch; }

/* contact form */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
form.lead-form { background: var(--shell); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { font-size: 13px; font-weight: 500; display: grid; gap: 6px; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 0; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,106,77,.15); }
.lead-form .consent { font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.lead-form .consent input { margin-top: 3px; }
.lead-form .ok { display: none; grid-column: 1/-1; background: #E7F8EE; padding: 16px; border-radius: 12px; }
.lead-form.sent .ok { display: block; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } form.lead-form { grid-template-columns: 1fr; padding: 26px; } }

/* blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { text-decoration: none; background: var(--shell); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s; }
.post:hover { transform: translateY(-5px); }
.post .cover { aspect-ratio: 16/9; background: var(--palm); position: relative; overflow: hidden; }
.post .cover span { position: absolute; left: 22px; bottom: 16px; right: 22px; font-family: var(--f-display); font-size: 30px; line-height: 1.05; color: var(--sand); font-style: italic; }
.post:nth-child(2) .cover { background: var(--coral); }
.post:nth-child(3) .cover { background: var(--night); }
.post .cover::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -30%; border-radius: 50%; background: repeating-linear-gradient(180deg, rgba(255,255,255,.14) 0 8px, transparent 8px 14px); }
.post .body { padding: 24px; }
.post .meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: 23px; margin-top: 8px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* final cta */
.final { background: var(--coral); color: #fff; text-align: center; padding: 130px 0; overflow: hidden; }
.final h2 { font-size: clamp(48px, 8vw, 120px); }
.final .lead { color: rgba(255,255,255,.9); margin: 22px auto 36px; }
.final .sunset { position: absolute; left: 50%; bottom: -55%; width: 900px; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: repeating-linear-gradient(180deg, rgba(255,184,77,.45) 0 22px, transparent 22px 34px); pointer-events: none; }
.final .wrap { position: relative; }

/* footer */
footer { background: var(--night); color: rgba(247,240,229,.72); padding: 72px 0 40px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin: 0 0 14px; }
footer a { text-decoration: none; display: block; padding: 4px 0; }
footer a:hover { color: #fff; }
footer .logo { color: var(--sand); }
footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(247,240,229,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.hero .stagger > * { opacity: 0; animation: up .9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero .stagger > *:nth-child(1) { animation-delay: .05s; }
.hero .stagger > *:nth-child(2) { animation-delay: .18s; }
.hero .stagger > *:nth-child(3) { animation-delay: .32s; }
.hero .stagger > *:nth-child(4) { animation-delay: .46s; }
.hero .stagger > *:nth-child(5) { animation-delay: .6s; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- article (blog) ---------- */
.article-hero { padding: 64px 0 40px; }
.article-hero h1 { font-size: clamp(40px, 6vw, 76px); max-width: 18ch; color: var(--night); }
.article-hero .meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; }
.crumbs { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--coral-deep); }
.article { display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 64px; padding-bottom: 100px; }
.prose { font-size: 19px; line-height: 1.72; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 56px 0 18px; line-height: 1.08; }
.prose h3 { font-size: 24px; margin: 36px 0 12px; }
.prose p, .prose li { color: #2B3934; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 34px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--coral); font-family: var(--f-display); font-size: 26px; line-height: 1.3; color: var(--night); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 24px 0; background: var(--shell); border-radius: 14px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--night); color: var(--sand); font-weight: 500; }
.answer { background: var(--shell); border-radius: var(--r-md); padding: 24px 26px; box-shadow: var(--shadow); border-left: 4px solid var(--coral); margin-bottom: 40px; }
.answer strong.k { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 8px; font-weight: 500; }
.answer p { margin: 0; font-size: 18px; }
.aside { position: sticky; top: 100px; align-self: start; display: grid; gap: 18px; }
.aside .card { background: var(--night); color: var(--sand); border-radius: var(--r-lg); padding: 28px; overflow: hidden; position: relative; }
.aside .card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--coral); margin-bottom: 14px; }
.aside .card p { color: rgba(247,240,229,.75); font-size: 15px; }
.author { display: flex; gap: 16px; align-items: center; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.author .av { width: 56px; height: 56px; border-radius: 50%; background: var(--palm); color: var(--sand); display: grid; place-items: center; font-family: var(--f-display); font-size: 24px; flex: none; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .aside { position: static; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .hero .stagger > *, .fcard { opacity: 1 !important; transform: none !important; }
}
.demo-grid > :only-child { grid-column: 1 / -1; }
