/*
 * The example partner site (Acacia Lane Hotel, fictional), in the Visit Addis
 * Ababa design language: Inter Tight, regular-weight headings with tight
 * tracking, photo heroes with dark gradients, glass pills, gold pill buttons
 * with white bold text, 15px cards, teal-900 dark surfaces, one faint shadow.
 * Palette values match widget/src/tokens.css.
 */
:root {
  --gold-50: #fff8e6;
  --gold-100: #fcefc7;
  --gold: #daa112;
  --gold-600: #b8880f;
  --gold-700: #8a6508;
  --teal-50: #e6f4f2;
  --teal: #1eaa9d;
  --teal-700: #0f7a71;
  --teal-900: #10383a;
  --teal-950: #0b2729;
  --ink: #18181b;
  --ink-soft: #71717a;
  --ink-faint: #a1a1aa;
  --line: #e4e4e7;
  --mist: #f4f4f5;
  --paper: #fafafa;
  --radius-card: 15px;
  --ease-gentle: cubic-bezier(0.33, 1, 0.68, 1);
  --shadow-subtle: 0 2px 2px 0 rgb(0 0 0 / 0.05);
  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Ethiopic", sans-serif;
  --section-px: max(1.25rem, calc((100% - 1200px) / 2));
  --bar: 44px;
  --nav: 76px;
  color-scheme: light;
}
@media (min-width: 768px) {
  :root { --section-px: max(3rem, calc((100% - 1200px) / 2)); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: #fff;
  font-feature-settings: "rlig" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 400; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--teal-700); }
::selection { background: var(--gold-100); color: var(--ink); }
img { display: block; max-width: 100%; }

/* ── The example notice: always on top, on every page ── */
.example-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--bar);
  padding: 8px var(--section-px);
  background:
    radial-gradient(60% 200% at 100% 0%, rgb(218 161 18 / 0.28), transparent 60%),
    linear-gradient(90deg, var(--teal-950), var(--teal-900));
  color: rgb(255 255 255 / 0.85);
  font-size: 13px;
  line-height: 1.4;
}
.example-bar .tag {
  flex: none;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.example-bar .say { flex: 1; min-width: 0; }
.example-bar .say b { color: #fff; font-weight: 600; }
.example-bar a { color: var(--gold-100); font-weight: 600; text-decoration: none; white-space: nowrap; }
.example-bar a:hover { color: #fff; }
@media (max-width: 720px) {
  .example-bar .more { display: none; }
}

/* ── The partner's navigation ── */
.nav {
  position: sticky;
  top: var(--bar);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav);
  padding: 0 var(--section-px);
  background: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav.over {
  position: absolute;
  /* Right under the example bar, however tall it wraps */
  top: auto;
  left: 0;
  right: 0;
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -0.012em; }
.brand .mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--teal-900);
  color: var(--gold);
  font-size: 18px;
}
.nav.over .brand .mark { background: rgb(255 255 255 / 0.14); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 9999px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background-color 0.3s var(--ease-gentle), color 0.3s var(--ease-gentle);
}
.nav-links a:hover { color: var(--ink); background: var(--mist); }
.nav.over .nav-links a { color: rgb(255 255 255 / 0.8); }
.nav.over .nav-links a:hover { color: #fff; background: rgb(255 255 255 / 0.12); }
@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ── Buttons: gold pills with white bold text; glass pills on photos ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 9999px;
  background: var(--gold);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.009em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-gentle), transform 0.2s var(--ease-gentle);
}
.btn:hover { background: var(--gold-600); }
.btn:active { transform: scale(0.98); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn.dark { background: var(--teal-900); }
.btn.dark:hover { background: var(--teal-950); }
.btn.line { background: #fff; color: var(--ink); border: 1px solid var(--line); font-weight: 600; }
.btn.line:hover { background: var(--mist); }
.glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.1);
  -webkit-backdrop-filter: blur(34px);
  backdrop-filter: blur(34px);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-gentle);
}
.glass:hover { background: rgb(255 255 255 / 0.2); }

/* ── Photo hero ── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(760px, calc(100svh - var(--bar)));
  padding: calc(var(--nav) + 48px) var(--section-px) 72px;
  overflow: hidden;
  background: var(--teal-950) var(--photo) center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.15) 45%, rgb(0 0 0 / 0.7));
}
.hero.short { min-height: 460px; }
.hero > * { position: relative; }
.hero-inner { max-width: 880px; animation: rise-in 1.2s var(--ease-gentle) both; }
.eyebrow { display: inline-block; margin-bottom: 18px; }
.display { font-size: 40px; line-height: 1.04; letter-spacing: -0.025em; }
.display .gold { color: var(--gold); }
@media (min-width: 768px) {
  .display { font-size: 66px; line-height: 1; }
}
.hero p.lead { max-width: 560px; margin: 18px auto 30px; color: rgb(255 255 255 / 0.78); font-size: 18px; line-height: 1.5; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } }

/* ── Sections ── */
.section { padding: 88px var(--section-px); }
.section.mist { background: var(--paper); }
.section.dark { background: var(--teal-900); color: #fff; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 680px; margin-bottom: 40px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-700); }
.dark .kicker { color: var(--gold); }
.section-title { font-size: 30px; line-height: 1.2; letter-spacing: -0.013em; }
@media (min-width: 768px) {
  .section-title { font-size: 40px; line-height: 1.13; letter-spacing: -0.015em; }
}
.section-desc { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.dark .section-desc { color: rgb(255 255 255 / 0.7); }

/* ── Photo cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; }
.card .photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--mist) var(--photo) center / cover no-repeat;
  transition: transform 0.6s var(--ease-gentle);
}
.card:hover .photo { transform: translateY(-3px); }
.card .photo .glass { position: absolute; left: 14px; bottom: 14px; font-size: 13px; padding: 6px 12px; }
.card h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.009em; }
.card p { font-size: 15px; color: var(--ink-soft); }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* A tile for the examples index: what each integration looks like */
.tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.5s var(--ease-gentle), box-shadow 0.5s var(--ease-gentle);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgb(16 56 58 / 0.35); }
.tile .art { height: 170px; position: relative; overflow: hidden; background: var(--teal-950) var(--photo) center / cover no-repeat; }
.tile .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgb(11 39 41 / 0.15), rgb(11 39 41 / 0.75)); }
.tile .art span { position: absolute; z-index: 1; }
.tile .body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.tile .kind { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-700); }
.tile h3 { font-size: 21px; letter-spacing: -0.012em; }
.tile p { font-size: 15px; color: var(--ink-soft); }
/* Little mock-ups of each integration inside the tile art */
.mini-launcher { right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 9999px; background: var(--teal-900); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.5); }
.mini-launcher i, .mini-pill i { width: 22px; height: 22px; border-radius: 9999px; background: #fff; display: inline-block; }
.mini-panel { right: 16px; top: 16px; bottom: 16px; width: 44%; border-radius: 12px; background: rgb(255 255 255 / 0.94); box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.5); }
.mini-panel::before { content: ""; display: block; height: 22px; border-radius: 12px 12px 0 0; background: var(--teal-900); }
.mini-page { inset: 20px 16px 0; border-radius: 12px 12px 0 0; background: rgb(255 255 255 / 0.94); }
.mini-page::before { content: ""; position: absolute; left: 50%; bottom: 18px; width: 60%; height: 18px; transform: translateX(-50%); border-radius: 9999px; border: 1px solid var(--line); }
.mini-phone { left: 50%; top: 18px; bottom: -20px; width: 92px; transform: translateX(-50%); border: 5px solid #111; border-radius: 18px; background: #fff; }
.mini-phone::before { content: ""; display: block; height: 16px; background: var(--teal-700); }
.mini-code { left: 16px; right: 16px; top: 22px; padding: 12px 14px; border-radius: 10px; background: rgb(11 39 41 / 0.9); color: var(--teal-50); font: 12px/1.5 ui-monospace, Menlo, monospace; text-align: left; }
.mini-code b { color: var(--gold); font-weight: 400; }
.mini-pill { left: 30%; top: 46%; display: flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 9999px; background: var(--teal-900); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.5); }
.mini-mark { left: 16px; right: 16px; top: 24px; color: rgb(255 255 255 / 0.85); font-size: 13px; line-height: 1.6; text-align: left; }
.mini-mark mark { background: rgb(230 168 23 / 0.55); color: #fff; padding: 0 2px; border-radius: 3px; }

/* ── "How this page uses Ask Addis": the snippet the page is built with ── */
.how {
  margin: 0 var(--section-px) 88px;
  padding: 28px;
  border-radius: var(--radius-card);
  background:
    radial-gradient(80% 120% at 100% 0%, rgb(218 161 18 / 0.12), transparent 60%),
    radial-gradient(80% 120% at 0% 100%, rgb(30 170 157 / 0.12), transparent 60%),
    var(--paper);
  border: 1px solid var(--line);
}
.how h2 { font-size: 22px; letter-spacing: -0.012em; margin-bottom: 8px; }
.how p { color: var(--ink-soft); font-size: 15px; max-width: 760px; }
.how pre {
  margin: 18px 0 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: 12px;
  background: var(--teal-950);
  color: var(--teal-50);
  font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.how pre .c { color: rgb(255 255 255 / 0.45); }
.how pre .a { color: var(--gold); }
.how .note { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }
.how code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace; background: rgb(16 56 58 / 0.07); padding: 1px 6px; border-radius: 5px; color: var(--teal-900); }

/* ── Footer: the dark brand surface ── */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 36px var(--section-px);
  background: var(--teal-950);
  color: rgb(255 255 255 / 0.6);
  font-size: 14px;
}
.footer .brand { color: #fff; font-size: 17px; }
.footer a { color: var(--gold-100); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
