/* Tink Xtra company page. Same red, black and white as the TX apps. System fonts only; no scripts. */
:root {
  --paper: #f6f5f5; --surface: #ffffff; --line: #e5e0e0; --ink: #111111; --text: #1f1d1d; --muted: #57524f;
  --red: #c8102e; --red-deep: #8f0b20; --black: #121111; --black-2: #1b1a1a;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.6 var(--sans); }
a { color: var(--red); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--red-deep); outline-offset: 3px; }
.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(20px, 5vw, 64px); background: rgba(17,17,17,.96); border-bottom: 1px solid #2d2b2b; }
.mark { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.mark-box { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--red); font-size: 14px; font-weight: 800; }
.top nav { display: flex; gap: 6px; }
.top nav a { color: #d4cfcf; text-decoration: none; padding: 6px 12px; border-radius: 6px; font-size: 15px; }
.top nav a:hover { color: #fff; background: var(--black-2); }
.top nav a:focus-visible { outline-color: #fff; }

.hero { background: #0f0e0e radial-gradient(60% 90% at 88% 30%, rgba(200,16,46,.42), transparent 70%); color: #fff; }
.hero-inner { max-width: 1120px; margin: 0 auto; padding: clamp(64px, 11vw, 132px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.hero h1 { margin: 0 0 20px; max-width: 13ch; font-size: clamp(42px, 7vw, 84px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.lede { margin: 0 0 32px; max-width: 34em; font-size: clamp(18px, 2vw, 21px); color: #ddd8d8; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.button { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 8px 22px -10px rgba(200,16,46,.8); }
.button:hover { background: #a10c24; }
.button.ghost { background: transparent; border: 1px solid rgba(255,255,255,.45); box-shadow: none; }
.button.ghost:hover { background: rgba(255,255,255,.08); }
.hero .button:focus-visible { outline-color: #fff; }

section h2 { margin: 0 0 24px; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.apps, .company, .contact { max-width: 1120px; margin: 0 auto; padding: clamp(56px, 8vw, 88px) clamp(20px, 5vw, 64px) 0; }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 0 40px; border-top: 2px solid var(--ink); }
.app { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.tile { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 16px; background: var(--black); color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .02em;
  box-shadow: inset 0 -5px 0 var(--red); }
.app h3 { margin: 2px 0 6px; font-size: 22px; letter-spacing: -.01em; color: var(--ink); }
.app p { margin: 0 0 10px; max-width: 36em; }
.app .devices { color: var(--muted); font-size: 15px; }
.open { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.open:hover { color: var(--red-deep); }
.more { margin: 24px 0 0; color: var(--muted); }

.company { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.company p { margin: 0 0 14px; max-width: 38em; }
.facts { margin: 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.contact { padding-bottom: clamp(56px, 8vw, 88px); }
.contact p { margin: 0; max-width: 40em; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 28px clamp(20px, 5vw, 64px); background: #0e0d0d; border-top: 3px solid var(--red); color: #cfcaca; font-size: 15px; }
.foot p { margin: 0; }
.foot a { color: #f1eeee; }
.foot a:focus-visible { outline-color: #fff; }

@media (max-width: 720px) {
  .company { grid-template-columns: 1fr; }
  .top nav a { padding: 6px 8px; }
  .app { grid-template-columns: 60px 1fr; padding-right: 0; }
  .tile { width: 60px; height: 60px; font-size: 16px; border-radius: 13px; }
}
