/* Inkybery site styles. Brand purple comes from the logo (#3B2A8C). Light and dark themes via tokens. */
:root {
  --brand: #3B2A8C; --brand-ink: #2a1d6b; --brand-soft: #eeebfa; --on-brand: #ffffff;
  --bg: #f7f7fb; --surface: #ffffff; --text: #171a24; --muted: #555d6e; --line: #e3e4ee;
  --good: #146c43; --good-soft: #e5f4ec;
  --radius: 16px; --shadow: 0 1px 2px rgba(20, 16, 60, .06), 0 8px 24px rgba(20, 16, 60, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #a99cf5; --brand-ink: #c9c0ff; --brand-soft: #241e44; --on-brand: #120d2b;
    --bg: #0f1017; --surface: #181a24; --text: #e8e9f1; --muted: #a2a7b8; --line: #2a2d3b;
    --good: #7fd8a8; --good-soft: #13291f; --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #a99cf5; --brand-ink: #c9c0ff; --brand-soft: #241e44; --on-brand: #120d2b;
  --bg: #0f1017; --surface: #181a24; --text: #e8e9f1; --muted: #a2a7b8; --line: #2a2d3b;
  --good: #7fd8a8; --good-soft: #13291f; --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* Body text is justified so both edges line up across every page; hyphenation stops wide gaps between words,
   and text-wrap: pretty keeps a single word from sitting alone on the last line. Headings stay left-aligned. */
p, li { text-wrap: pretty; hyphens: auto; -webkit-hyphens: auto; }
.two-col p:not(.statement), .prose p, .prose li, .prose .box, details p, .hero p.lead, .banner p {
  text-align: justify; text-justify: inter-word;
}
/* Large text and narrow cards stay left-aligned: justifying them leaves wide gaps between words. */
.statement, .card p, .ticks li, figcaption, .meta { text-align: left; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; }
.brand small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); line-height: 1.1; }
.nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; margin: 16px 0; letter-spacing: -.02em; text-wrap: balance; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 54ch; margin: 0 0 28px; }
.hero-logo { justify-self: center; width: min(320px, 70vw); filter: drop-shadow(0 20px 40px rgba(59, 42, 140, .25)); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; font-size: 15px; }
.btn.primary { background: var(--brand); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand-ink); color: var(--on-brand); }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: 19px; margin: 0 0 6px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 64ch; margin: 0 0 32px; }

.statement { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.35; font-weight: 600; margin: 0 0 20px; max-width: 34ch; text-wrap: balance; }
.statement span { color: var(--brand); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
h2 + .grid { margin-top: 28px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
section.alt .card { background: var(--bg); box-shadow: none; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

/* Two columns whose first lines sit on the same baseline: the eyebrow label spans both columns,
   and the first element in each column drops its top margin. */
.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 12px; align-items: start; }
.two-col > .eyebrow { grid-column: 1 / -1; justify-self: start; }
.two-col > div > :first-child { margin-top: 0; }
.two-col > div > :last-child { margin-bottom: 0; }
.two-col p { margin: 0 0 16px; }
.two-col h2 { margin-bottom: 16px; }

/* Product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots img { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shots.wide { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding-left: 30px; position: relative; margin: 10px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--good-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23146c43' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.banner { background: var(--brand); color: var(--on-brand); border-radius: 24px; padding: 40px 32px; display: flex;
  gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner h2 { color: var(--on-brand); margin: 0 0 6px; }
.banner p { margin: 0; opacity: .9; }
.banner .btn { background: var(--on-brand); color: var(--brand); }

/* Long-form legal / support pages */
.page-head { padding: 48px 0 16px; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 42px); line-height: 1.15; margin: 12px 0 6px; letter-spacing: -.01em; }
.page-head .meta { color: var(--muted); margin: 0; }
.prose { padding: 8px 0 64px; }
.prose h2 { font-size: 21px; margin: 32px 0 8px; color: var(--brand); }
.prose p, .prose li { max-width: none; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.box { background: var(--brand-soft); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }
.mail { font-size: 20px; font-weight: 700; word-break: break-all; }
.box p.tight { margin: 0 0 4px; }
.box p.after { margin: 8px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
/* Full-width last row of the footer, under the links. */
.site-footer .disclaimer { flex-basis: 100%; margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.6; text-align: justify; }
.site-footer a:hover { color: var(--brand); }

@media (max-width: 820px) {
  .hero { padding: 40px 0 32px; }
  .hero .wrap, .product, .two-col { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo { width: 160px; justify-self: start; order: -1; }
  .nav { margin-left: 0; width: 100%; padding-bottom: 8px; }
  .nav a { padding: 6px 10px; font-size: 14px; }
  section { padding: 40px 0; }
  .banner { padding: 28px 20px; }
}
