/* Arrivella landing: minimal. Ground, ink, one warm accent, the product itself. */
:root {
  --ground: #f6f3ef;
  --surface: #ffffff;
  --tone: #ece6dd;
  --ink: #232323;
  --muted: #5f5a54;
  --accent: #8a7355;
  --gold: #d8c59c;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --margin: clamp(20px, 4vw, 56px);
  --wide: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--gold); }

/* Buttons: one shape (full round), two tones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: transform .18s var(--ease), background-color .18s var(--ease); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: #000; }
.btn-quiet { background: var(--tone); }
.btn-quiet:hover { background: #e3dbcf; }
.btn-light { background: var(--ground); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; max-width: calc(var(--wide) + 2 * var(--margin)); margin: 0 auto; padding: 18px var(--margin); background: var(--ground); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; }
.mark { width: 30px; height: 30px; flex: none; }
.mark rect { fill: var(--ink); }
.mark path { fill: none; stroke: var(--ground); stroke-width: 4.8; stroke-linecap: round; }
.mark circle { fill: var(--gold); }
.nav nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); transition: color .16s; }
.nav nav a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; background: var(--tone); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; font: 500 13px var(--font); color: var(--muted); cursor: pointer; transition: background-color .16s, color .16s; }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); }

/* Hero */
.hero { max-width: 980px; margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--margin) 0; text-align: center; }
.hero h1 { font-size: clamp(44px, 7vw, 96px); }
.lead { max-width: 40rem; margin: 28px auto 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Product shots: the real dashboard */
.shot { margin: 0; overflow: hidden; border-radius: 20px; background: var(--surface); }
.shot img { width: 100%; height: auto; }
.hero-shot { max-width: var(--wide); margin: clamp(56px, 7vw, 96px) auto 0; width: calc(100% - 2 * var(--margin)); }

/* Features: a plain list in two columns */
.features { max-width: var(--wide); margin: 0 auto; padding: clamp(120px, 13vw, 180px) var(--margin) 0; display: grid; grid-template-columns: 4fr 7fr; gap: 64px; }
.features h2, .split h2, .faq h2 { font-size: clamp(34px, 4vw, 56px); }
.features h2 { max-width: 8em; }
.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px 40px; }
.list h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.list h3::before { content: ''; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-bottom: 16px; }
.list p { color: var(--muted); font-size: 16px; }

/* Split: one apartment */
.split { max-width: var(--wide); margin: clamp(120px, 13vw, 180px) auto 0; padding: clamp(40px, 5vw, 72px); width: calc(100% - 2 * var(--margin)); background: var(--tone); border-radius: 28px; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-copy p { margin-top: 24px; font-size: 17px; max-width: 30rem; }
.split .works { color: var(--muted); font-size: 15px; }
.split .shot { border-radius: 14px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; padding: clamp(120px, 13vw, 180px) var(--margin) 0; }
.faq h2 { margin-bottom: 40px; }
.qa { display: grid; gap: 8px; }
.qa details { background: var(--surface); border-radius: 16px; padding: 0 24px; }
.qa summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-size: 18px; font-weight: 500; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .2s var(--ease); }
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa details p { padding-bottom: 22px; color: var(--muted); max-width: 52ch; }

/* Closing */
.cta { max-width: var(--wide); width: calc(100% - 2 * var(--margin)); margin: clamp(120px, 13vw, 180px) auto 0; padding: clamp(56px, 8vw, 110px) var(--margin); background: var(--ink); color: var(--ground); border-radius: 28px; text-align: center; display: grid; justify-items: center; gap: 32px; }
.cta h2 { font-size: clamp(34px, 4.6vw, 64px); max-width: 12em; }

.foot { max-width: calc(var(--wide) + 2 * var(--margin)); margin: 0 auto; padding: 56px var(--margin) 40px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; }
.foot .wordmark { color: var(--ink); font-size: 16px; }
.foot .mark { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav-end { margin-left: auto; }
  .features { grid-template-columns: 1fr; gap: 40px; }
  .list { grid-template-columns: 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; }
  .shot { border-radius: 14px; }
}
@media (max-width: 600px) {
  .nav { gap: 12px; }
  .nav-end { gap: 8px; }
  .nav .btn { padding: 0 16px; }
  .wordmark span { font-size: 17px; }
  .actions .btn { width: 100%; }
  .hero-shot { width: min(340px, calc(100% - 2 * var(--margin))); border-radius: 28px; background: var(--tone); padding: 12px 12px 0; }
  .hero-shot img { border-radius: 18px 18px 0 0; }
}

/* Motion: a calm entrance, once */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero-shot { transform: translateY(32px) scale(.985); opacity: 0; animation: rise 1.1s var(--ease) .25s forwards; }
  @keyframes rise { to { transform: none; opacity: 1; } }
  .shot img { transition: transform .8s var(--ease); }
  .split .shot:hover img { transform: scale(1.02); }
}
