/* Vinci website. Colours come from the app icon: deep purple frame, orange "V". */
:root {
  --ink: #241f31;
  --ink-2: #3d3846;
  --muted: #5e5c64;
  --orange: #e66100;
  --orange-light: #ffbe6f;
  --accent: linear-gradient(135deg, var(--orange-light), var(--orange));
  --bg: #fafafb;
  --surface: #ffffff;
  --text: #241f31;
  --text-2: #5e5c64;
  --line: #e6e4ea;
  --link: #c45400;
  --radius: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1724;
    --surface: #241f31;
    --text: #f3f1f6;
    --text-2: #b9b5c2;
    --line: #3d3846;
    --link: #ffbe6f;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Cantarell, Ubuntu, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(10px);
  color: #fff;
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 32px; height: 32px; }
.top nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.top nav a { color: #e6e4ea; text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--orange-light); }
.lang { border: 1px solid #5e5c64; border-radius: 999px; padding: 2px 12px; }
@media (max-width: 760px) { .top nav a:not(.lang) { display: none; } }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 70% -10%, #5e3a6e55, transparent),
              linear-gradient(180deg, var(--ink-2), var(--ink));
  color: #fff;
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 span { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: #d9d6df; margin: 0 0 28px; }
.hero .shot { border-radius: 14px; box-shadow: 0 30px 80px #0008; transform: rotate(1deg); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: #241f31; box-shadow: 0 8px 24px #e6610055; }
.btn.ghost { color: #fff; border: 1px solid #ffffff44; }
.small { font-size: 14px; color: #b9b5c2; margin-top: 14px; }
.small a { color: var(--orange-light); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 12px; letter-spacing: -0.01em; }
.sub { color: var(--text-2); margin: 0 0 36px; max-width: 720px; }
h3 { margin: 0 0 6px; font-size: 19px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .steps li { background: var(--bg); }
.steps li::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-weight: 800; margin-bottom: 12px;
}
.steps ol, ol.steps { padding: 0; margin: 0; }
.steps p { margin: 0; color: var(--text-2); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: var(--bg); }
.card p { margin: 0; color: var(--text-2); font-size: 16px; }
.card .ico { font-size: 26px; line-height: 1; margin-bottom: 10px; display: block; }

table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
section.alt table { background: var(--bg); }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); }
tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.tag { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tag.ok { background: #26a26933; color: #1c7a4f; }
.tag.exp { background: #e6610026; color: #b04a00; }
@media (prefers-color-scheme: dark) { .tag.ok { color: #6fdca8; } .tag.exp { color: #ffbe6f; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.shot-frame { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 16px 40px #241f3122; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr; } }
.shots figure { margin: 0; }
.shots figcaption { color: var(--text-2); font-size: 15px; margin-top: 8px; text-align: center; }

ul.check { padding: 0; margin: 0; }
ul.check li { list-style: none; padding-left: 30px; position: relative; margin: 8px 0; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }

pre { background: var(--ink); color: #f3f1f6; padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: 15px; }
code { font-family: "JetBrains Mono", ui-monospace, "DejaVu Sans Mono", monospace; }
:not(pre) > code { background: color-mix(in srgb, var(--orange) 12%, transparent); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
section.alt details { background: var(--bg); }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--text-2); margin: 10px 0 0; }

.note { border-left: 4px solid var(--orange); background: color-mix(in srgb, var(--orange) 8%, transparent); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--text); }

footer { background: var(--ink); color: #b9b5c2; padding: 40px 0; font-size: 14px; }
footer a { color: var(--orange-light); }
footer .wrap { display: grid; gap: 10px; }
footer .about {
  grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding-bottom: 32px; margin-bottom: 28px; border-bottom: 1px solid #3d3846;
}
@media (max-width: 760px) { footer .about { grid-template-columns: 1fr; } }
footer .about h2 { color: #fff; font-size: 24px; margin: 0 0 8px; }
footer .about p { margin: 0 0 8px; font-size: 16px; color: #d9d6df; }
footer .about p.credits { font-size: 14px; color: #b9b5c2; }
footer .about .btn { justify-self: start; }
