/* INCI Net landing — one stylesheet, no web fonts, no scripts. */

:root {
  --brand: #5B3DF5;
  --brand-text: #5B3DF5;
  --on-brand: #FFFFFF;
  --ink: #17142B;
  --bg: #F1EEFA;
  --card: #FFFFFF;
  --muted: #7A7690;
  --soft: #E6E0FC;
  --line: rgba(23, 20, 43, 0.09);
  --yellow: #FFD93B;
  --mint: #B8F5D0;
  --coral: #FFB3A6;
  --on-accent: #17142B;
  --foot-bg: #17142B;
  --foot-ink: #F3F1FF;
  --foot-muted: #9B97B5;
  --shadow: 0 1px 2px rgba(23, 20, 43, 0.06), 0 12px 32px -16px rgba(23, 20, 43, 0.18);
  --radius: 24px;
  --radius-sm: 14px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-text: #A99BFF;
    --ink: #F3F1FF;
    --bg: #100E1C;
    --card: #1C1930;
    --muted: #9B97B5;
    --soft: #2A2550;
    --line: rgba(243, 241, 255, 0.09);
    --foot-bg: #1C1930;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -16px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}

a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 14px; padding-left: 20px; }
li { margin: 0 0 8px; }
li:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 780px; }

/* ── Top bar ─────────────────────────────────────────────── */

.topbar { padding: 18px 0; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo img { width: 34px; height: 34px; display: block; }

.menu { display: flex; flex-wrap: wrap; gap: 4px; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; }
.menu a:hover { background: var(--soft); }
.menu a[aria-current="page"] { background: var(--card); box-shadow: var(--shadow); }

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  background: var(--brand);
  color: var(--on-brand);
  border-radius: 32px;
  padding: 36px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; top: -180px;
  border-radius: 50%;
  border: 56px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.hero > * { position: relative; }

.eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); margin-bottom: 16px; }
.hero .lede { font-size: 1.12rem; color: rgba(255, 255, 255, 0.88); max-width: 34em; margin-bottom: 22px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pills li { margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 0.9rem; font-weight: 600; }

/* The example "site passport" card in the hero. */
.passport {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 24px 48px -24px rgba(10, 6, 40, 0.55);
  max-width: 400px;
  width: 100%;
  margin: 0;
  justify-self: center;
}
.passport-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.passport-domain { font-weight: 800; font-size: 1.1rem; }
.passport-sub { color: var(--muted); font-size: 0.9rem; }

.ring {
  --score: 82;
  flex: none;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--score) * 1%), var(--soft) 0);
  display: grid;
  place-items: center;
  position: relative;
}
.ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--card); }
.ring span { position: relative; font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; margin: 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.rows li span:first-child { font-weight: 600; }

.tag { flex: none; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: var(--on-accent); }
.tag.ok { background: var(--mint); }
.tag.warn { background: var(--yellow); }
.tag.bad { background: var(--coral); }

/* ── Sections ────────────────────────────────────────────── */

main { padding-bottom: 24px; }
.section { padding: 56px 0 0; }
.section-head { max-width: 640px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.6rem, 4.6vw, 2.2rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.kicker { display: block; color: var(--brand-text); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }

.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.98rem; }

.badge {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--on-accent);
  margin-bottom: 14px;
}
.badge.v { background: var(--soft); color: var(--brand-text); }
.badge.y { background: var(--yellow); }
.badge.m { background: var(--mint); }
.badge.c { background: var(--coral); }

.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.panel { background: var(--card); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.panel h2 { font-size: clamp(1.5rem, 4.4vw, 2rem); margin-bottom: 12px; }
.panel > p { color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: var(--mint);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 6px; top: 7px;
  width: 5px; height: 9px;
  border: solid var(--on-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Assistant chat sample. */
.chat { display: grid; gap: 10px; margin-top: 18px; }
.bubble { padding: 12px 16px; border-radius: 20px; max-width: 88%; font-size: 0.96rem; }
.bubble.me { justify-self: end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 6px; }
.bubble.bot { justify-self: start; background: var(--soft); color: var(--ink); border-bottom-left-radius: 6px; }
.note { font-size: 0.9rem; color: var(--muted); margin-top: 16px; }

/* Privacy band. */
.band {
  background: var(--yellow);
  color: var(--on-accent);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: grid;
  gap: 18px;
}
.band h2 { font-size: clamp(1.5rem, 4.4vw, 2rem); }
.band a { color: var(--on-accent); font-weight: 700; }
.band ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.band li { margin: 0; background: rgba(23, 20, 43, 0.08); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; }

.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fact { background: var(--card); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow); }
.fact strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-text); margin-bottom: 4px; }

/* ── Document pages (privacy, terms, support) ────────────── */

.page-title { padding: 24px 0 28px; }
.page-title h1 { font-size: clamp(2rem, 6.5vw, 3rem); margin-bottom: 12px; }
.page-title p { color: var(--muted); font-size: 1.05rem; }

.summary {
  background: var(--mint);
  color: var(--on-accent);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}
.summary h2 { font-size: 1.2rem; margin-bottom: 10px; }
.summary a { color: var(--on-accent); font-weight: 700; }

.doc { background: var(--card); border-radius: var(--radius); padding: 8px 22px 26px; box-shadow: var(--shadow); }
.doc h2 { font-size: 1.3rem; margin: 26px 0 10px; }
.doc h2 .num { color: var(--brand-text); margin-right: 8px; }

.contact-card {
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--radius);
  padding: 26px 22px;
  margin-bottom: 16px;
}
.contact-card h2 { font-size: 1.4rem; margin-bottom: 10px; }
.contact-card p { color: rgba(255, 255, 255, 0.9); }
.contact-card a { color: var(--on-brand); font-weight: 700; }
.mail-link { display: inline-block; font-size: 1.15rem; margin: 4px 0 12px; overflow-wrap: anywhere; }

.qa { display: grid; gap: 12px; }
.qa .card h3 { font-size: 1.1rem; }
.qa .card p { color: var(--ink); }

/* ── Footer ─────────────────────────────────────────────── */

.footer { background: var(--foot-bg); color: var(--foot-ink); margin-top: 64px; padding: 32px 0 40px; }
.footer .container { display: grid; gap: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer a { color: var(--foot-ink); text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; }
.footer p { color: var(--foot-muted); font-size: 0.92rem; margin: 0; }

/* Single-column grids must be allowed to shrink below their content's width. */
.band, .qa, .chat, .footer .container { grid-template-columns: minmax(0, 1fr); }

/* ── Wider screens ──────────────────────────────────────── */

@media (min-width: 760px) {
  .container { padding: 0 24px; }
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); padding: 56px 48px; }
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 36px 40px; }
  .doc { padding: 12px 40px 36px; }
  .summary, .contact-card { padding: 28px 40px; }
  .footer .container { grid-template-columns: 1fr auto; align-items: center; }
}
