/* Landing "3 years of AI in 2 hours" — Thomas Berton / Azuro AI
   Palette and type aligned with the conference deck. */

:root {
  --ink: #0f172a;
  --muted: #475569;
  --muted2: #64748b;
  --soft: #94a3b8;
  --blue: #2c5ba0;
  --blue-d: #234b85;
  --blue-bg: #eef3fa;
  --star: #f0a929;
  --star-d: #d8930f;
  --bg: #ffffff;
  --bg2: #f8fafc;
  --bg3: #f1f5f9;
  --bd: #e2e8f0;
  --bd2: #cbd5e1;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Lora", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.05), 0 10px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.10), 0 24px 48px rgba(15, 23, 42, 0.10);
  --radius: 18px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--bd);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--star); box-shadow: 0 0 0 4px rgba(240,169,41,0.18); }
.brand small { display: block; font-weight: 500; font-size: 12px; color: var(--muted2); letter-spacing: 0.02em; }
.header-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; color: var(--muted); }
.header-nav a:hover { color: var(--ink); }
.header-nav .back { display: inline-flex; align-items: center; gap: 6px; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center;
  background: var(--bg3); border: 1px solid var(--bd); border-radius: 999px;
  padding: 3px;
}
.lang-opt {
  font-family: var(--font-sans); font-weight: 700; font-size: 12.5px; letter-spacing: 0.03em;
  color: var(--muted2); background: transparent; border: none; cursor: pointer;
  padding: 5px 12px; border-radius: 999px; transition: all .14s ease;
}
.lang-opt:hover { color: var(--ink); }
.lang-opt.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* Social icons */
.socials { display: inline-flex; align-items: center; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--bd); color: var(--muted); transition: all .15s ease;
}
.socials a:hover { color: var(--blue-d); border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 92px 0 72px;
  background:
    radial-gradient(1000px 500px at 78% -10%, rgba(240,169,41,0.10), transparent 60%),
    radial-gradient(900px 520px at 12% 4%, rgba(44,91,160,0.10), transparent 62%),
    linear-gradient(180deg, var(--blue-bg) 0%, #ffffff 78%);
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue-d);
  background: #fff; border: 1px solid var(--bd); border-radius: 999px;
  padding: 6px 14px; box-shadow: var(--shadow-sm);
}
.kicker .star { color: var(--star); }
.hero h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 22px 0 0; max-width: 16ch;
}
.hero h1 .accent { color: var(--blue); }
.hero p.lead {
  margin-top: 20px; max-width: 60ch;
  font-size: clamp(17px, 2vw, 20px); color: var(--muted);
}

/* ---------- Action cards ---------- */
.actions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 52px;
}
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--bd); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  min-height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--bd2); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--blue-bg); color: var(--blue-d);
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; flex: 1; }
.card .go {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 15px; color: var(--blue-d);
}
.card .go svg { width: 16px; height: 16px; transition: transform .18s ease; }
.card:hover .go svg { transform: translateX(3px); }

.card.featured {
  background: linear-gradient(165deg, #21467a 0%, #2c5ba0 100%);
  border-color: transparent; color: #fff;
}
.card.featured .ic { background: rgba(255,255,255,0.14); color: #fff; }
.card.featured p { color: rgba(255,255,255,0.82); }
.card.featured .go { color: #fff; }
.card.featured .badge {
  align-self: flex-start; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink); background: var(--star);
  padding: 4px 11px; border-radius: 999px;
}

/* ---------- Contact strip ---------- */
.contact {
  margin-top: 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--bg2); border: 1px solid var(--bd); border-radius: var(--radius);
  padding: 22px 26px;
}
.contact .txt strong { display: block; font-size: 16px; }
.contact .txt span { color: var(--muted); font-size: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  cursor: pointer;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--bd2); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-star { background: var(--star); color: var(--ink); }
.btn-star:hover { background: var(--star-d); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Community (FR) ---------- */
.community {
  margin: 30px 0 0; position: relative; overflow: hidden;
  border-radius: 22px; padding: 40px 36px;
  background:
    radial-gradient(600px 300px at 88% 120%, rgba(240,169,41,0.16), transparent 60%),
    linear-gradient(160deg, #0f2748 0%, #16345f 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.community .c-kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--star);
}
.community h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 4vw, 34px); margin-top: 8px; letter-spacing: -0.01em; }
.community p { margin-top: 10px; max-width: 52ch; color: rgba(255,255,255,0.80); font-size: 16px; }
.community .c-side { flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px; border-top: 1px solid var(--bd);
  background: var(--bg2);
}
.site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; padding-bottom: 26px;
  font-size: 14px; color: var(--muted2);
}
.site-footer a:hover { color: var(--ink); }
.site-footer .f-links { display: flex; gap: 20px; }

/* ---------- Resources page ---------- */
.res-hero { padding: 70px 0 30px; background: linear-gradient(180deg, var(--blue-bg) 0%, #fff 90%); }
.res-hero h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.02em; margin-top: 18px; }
.res-hero p { margin-top: 14px; max-width: 62ch; color: var(--muted); font-size: 18px; }

.tabs {
  position: sticky; top: 64px; z-index: 40;
  display: flex; gap: 10px; padding: 14px 0;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bd);
}
.tabs a {
  font-weight: 600; font-size: 14px; color: var(--muted);
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--bd);
  background: #fff; transition: all .16s ease;
}
.tabs a:hover { color: var(--ink); border-color: var(--bd2); }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.section { padding: 48px 0 8px; }
.section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.section-head .num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  color: var(--blue); background: var(--blue-bg); padding: 4px 10px; border-radius: 8px;
}
.section-head h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.01em; }
.section-head p { width: 100%; color: var(--muted); margin-top: 6px; font-size: 16px; }

.group-title {
  margin: 34px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted2); display: flex; align-items: center; gap: 10px;
}
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--bd); }

.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool {
  display: block; background: #fff; border: 1px solid var(--bd); border-radius: 14px;
  padding: 16px 17px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--bd2); }
.tool .t-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tool .t-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.tool .t-ext { color: var(--soft); }
.tool:hover .t-ext { color: var(--blue); }
.tool .t-ext svg { width: 15px; height: 15px; }
.tool p { margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.integrations { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  background: #fff; border: 1px solid var(--bd); border-radius: 999px;
  padding: 8px 14px; transition: all .15s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue-d); transform: translateY(-1px); }
.chip svg { width: 13px; height: 13px; color: var(--soft); }

/* Prompts */
.prompt-block {
  background: #fff; border: 1px solid var(--bd); border-radius: 16px;
  overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.prompt-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; border-bottom: 1px solid var(--bd); background: var(--bg2);
}
.prompt-head .p-meta strong { display: block; font-size: 15px; font-weight: 700; }
.prompt-head .p-meta span { font-size: 13px; color: var(--muted2); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px; color: var(--ink);
  background: #fff; border: 1px solid var(--bd2); border-radius: 9px; padding: 8px 13px;
  cursor: pointer; transition: all .14s ease;
}
.copy-btn:hover { border-color: var(--blue); color: var(--blue-d); }
.copy-btn.done { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }
.copy-btn svg { width: 15px; height: 15px; }
.prompt-body {
  margin: 0; padding: 16px 18px; max-height: 340px; overflow: auto;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: #1e293b;
  white-space: pre-wrap; word-break: break-word;
}
.prompt-body.json { color: #0f172a; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .mini-grid { grid-template-columns: 1fr; } }
.mini {
  background: #fff; border: 1px solid var(--bd); border-radius: 14px; padding: 15px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.mini .m-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini code { font-family: var(--font-mono); font-size: 12.5px; color: var(--blue-d); background: var(--blue-bg); padding: 3px 7px; border-radius: 6px; }
.mini .m-title { font-weight: 700; font-size: 14.5px; }
.mini p { color: var(--muted); font-size: 13.5px; }

/* Tips & formats */
.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.li {
  display: flex; gap: 13px; background: #fff; border: 1px solid var(--bd);
  border-radius: 14px; padding: 16px 17px;
}
.li .li-ic {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; background: var(--blue-bg); color: var(--blue-d);
}
.li .li-ic svg { width: 18px; height: 18px; }
.li.star .li-ic { background: rgba(240,169,41,0.16); color: var(--star-d); }
.li strong { font-size: 15px; display: block; }
.li p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

.res-cta {
  margin: 42px 0 0; text-align: center;
  background: var(--bg2); border: 1px solid var(--bd); border-radius: 20px; padding: 40px 28px;
}
.res-cta h2 { font-family: var(--font-serif); font-weight: 600; font-size: 26px; }
.res-cta p { color: var(--muted); margin-top: 8px; }
.res-cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .actions { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 52px; }
  .community { padding: 32px 24px; }
}
@media (max-width: 620px) {
  .header-nav .hide-sm { display: none; }
  .contact { flex-direction: column; align-items: flex-start; }
}
