/* getcolibriapp.com — the app's "Tinta Viva" tokens (Colibri/DesignSystem/Theme.swift), light and dark. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/BricolageGrotesque.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }

:root {
  color-scheme: light;
  --ground: #FFFFFF; --surface: #F4F5F2; --paper: #FFFFFF;
  --ink: #0E100F; --ink-muted: #555B57; --line: #E1E2DE;
  --jade: #087A56; --teal: #0FA3A0; --violet: #6A55E8; --nectar: #F0A21C; --ruby: #C02D5A; --sky: #3D7DDB;
  --frame: #0E100F;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --text: "Figtree", "Avenir Next", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #08090A; --surface: #121415; --paper: #121415;
    --ink: #F1F2EF; --ink-muted: #8F9591; --line: #232727;
    --jade: #34C792; --teal: #2FCFCB; --violet: #8C7BFF; --nectar: #FFBC4A; --ruby: #F2668C; --sky: #7FA9EE;
    --frame: #2A2E2F;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--ink-muted); }

/* Light and dark pictures */
.dark-only { display: none; }
@media (prefers-color-scheme: dark) { .light-only { display: none; } .dark-only { display: block; } }

/* Header */
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font: 600 22px/1 var(--display); letter-spacing: -0.02em; }
.head-links { display: flex; align-items: center; gap: 18px; font-size: 15px; color: var(--ink-muted); }
.head-links a { text-decoration: none; }
.head-links a:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; background: var(--paper); }
.lang a { font: 600 13px/1 var(--text); color: var(--ink-muted); padding: 7px 11px; border-radius: 99px; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--ground); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 40px 72px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1.02; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--jade), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 19px; color: var(--ink-muted); max-width: 30em; margin-top: 20px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 18px; border-radius: 16px; background: var(--ink); color: var(--ground); text-decoration: none; position: relative; }
.store::after { content: ""; position: absolute; inset: -4px; border-radius: 20px; padding: 2px;
  background: conic-gradient(var(--jade), var(--teal), var(--violet), var(--ruby), var(--nectar), var(--jade));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.store svg { width: 22px; height: 22px; fill: currentColor; }
.store small { display: block; font-size: 11px; opacity: .75; line-height: 1.1; }
.store b { display: block; font: 600 17px/1.2 var(--text); }
.cta .where { font-size: 15px; color: var(--ink-muted); }
.hero .phone { justify-self: center; }

/* Phones */
.phone { width: min(300px, 78vw); max-width: 100%; aspect-ratio: 600 / 1304; border-radius: 46px; padding: 9px; background: var(--frame);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
@media (prefers-color-scheme: dark) { .phone img.dark-only { display: block; } }

/* Screens */
.screens { border-top: 1px solid var(--line); }
.screens .wrap { padding-block: 72px; }
.screens h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; max-width: 16em; margin-top: 12px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; }
.trio figure { margin: 0; display: grid; gap: 20px; justify-items: center; align-content: start; }
.trio .phone { width: min(260px, 100%); }
.trio figcaption { max-width: 20em; text-align: center; }
.trio figcaption b { display: block; font: 600 20px/1.25 var(--display); letter-spacing: -0.01em; margin-bottom: 6px; }
.trio figcaption span { color: var(--ink-muted); font-size: 16px; }

/* Features */
.more .wrap { padding-block: 8px 72px; }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.more li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.more li i { width: 4px; border-radius: 2px; justify-self: start; }
.more li b { display: block; font-weight: 600; }
.more li span { color: var(--ink-muted); font-size: 16px; }

/* Currency band */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; padding-block: 36px; }
.band p { font: 600 clamp(22px, 3vw, 28px)/1.2 var(--display); letter-spacing: -0.01em; max-width: 22em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font: 500 14px/1 var(--mono); padding: 9px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); }

/* Footer */
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding-block: 36px 48px; color: var(--ink-muted); font-size: 15px; border-top: 1px solid var(--line); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
.mail { font-family: var(--mono); font-size: 14px; color: var(--ink); user-select: all; }

/* Invite and snapshot links */
.link-page .wrap { max-width: 520px; padding-block: 40px 80px; display: grid; gap: 24px; justify-items: center; text-align: center; }
.link-page .icon { width: 84px; height: 84px; border-radius: 20px; }
.link-page h1 { font-size: clamp(32px, 7vw, 40px); line-height: 1.08; }
.link-page .lede { color: var(--ink-muted); font-size: 18px; max-width: 26em; }
.code-card { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px 20px; display: grid; gap: 14px; justify-items: center; }
.code { font: 700 clamp(30px, 9vw, 40px)/1 var(--mono); letter-spacing: .12em; user-select: all; }
.copy { font: 600 15px/1 var(--text); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 10px 18px; cursor: pointer; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; width: 100%; text-align: left; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 500 13px/1 var(--mono); color: var(--violet); }
.primary { display: block; width: 100%; padding: 16px; border-radius: 99px; background: var(--ink); color: var(--ground); font: 600 17px/1 var(--text); text-decoration: none; text-align: center; }
.primary[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.fine { font-size: 14px; color: var(--ink-muted); }

/* Legal */
.legal .wrap { max-width: 720px; padding-block: 32px 80px; }
.legal h1 { font-size: clamp(36px, 6vw, 48px); line-height: 1.05; }
.legal .updated { margin-top: 10px; color: var(--ink-muted); font-size: 15px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { margin-top: 12px; max-width: 38em; }
.legal ul { padding-left: 20px; margin: 0; }
.legal .summary { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; }
.legal .summary p:first-child { margin-top: 0; }
.legal .pending { color: var(--ruby); font-weight: 600; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-block: 16px 56px; }
  .trio { grid-template-columns: 1fr; gap: 56px; }
  .more ul { grid-template-columns: 1fr; }
  .head-links .hide-narrow { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .phone { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}
.phone picture { display: block; height: 100%; }
.brand picture, .link-page picture { display: contents; }
