@font-face {
  font-family: "Rubik";
  src: url("assets/fonts/rubik-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #082d46;
  --blue: #005283;
  --cyan: #00d2ff;
  --paper: #f5f7f7;
  --muted: #536674;
  --line: #d8e1e5;
  font-family: "Rubik", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
body::before { content: ""; display: block; height: 4px; background: var(--blue); }
a { color: inherit; -webkit-tap-highlight-color: #00d2ff24; touch-action: manipulation; }
svg { display: block; }

/* The base layout is the phone layout. Larger screens keep the same flow. */
.page-shell {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  padding: 0 max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.site-header { display: flex; justify-content: center; padding: 24px 0 20px; }
.brand { display: block; width: 94px; max-width: 100%; height: auto; margin-inline: auto; }
.hub { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.intro { min-width: 0; text-align: center; }
h1 { margin: 0; font-size: clamp(1.875rem, 8.25vw, 2.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -.055em; overflow-wrap: anywhere; }
h1 em { display: block; font-style: normal; color: var(--blue); }
.intro-copy { max-width: 340px; margin: 14px auto 24px; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.link-list { display: grid; grid-auto-rows: 1fr; gap: 14px; scroll-margin-top: 16px; text-align: left; }
.store-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 98px;
  padding: 19px 16px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 88% 0%, #00618f 0%, transparent 62%), linear-gradient(115deg, #005283, #00345c);
  color: white;
  border: 1px solid var(--blue);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 #00d2ff80, 0 6px 16px #00528318;
  transition: background-color .18s, box-shadow .18s;
}
.store-link::before { content: ""; position: absolute; z-index: -1; width: 112px; height: 112px; right: -22px; bottom: -28px; background: #00d2ff20; mask: url("assets/favicon.svg") center / contain no-repeat; pointer-events: none; }
.store-icon { width: 34px; height: 42px; border: 1px solid #00d2ff70; border-radius: 9px; display: grid; place-items: center; color: var(--cyan); }
.store-icon svg { width: 23px; height: 23px; }
.link-copy { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.link-kicker { color: #8eeaff; font-size: .625rem; letter-spacing: .1em; font-weight: 500; line-height: 1.4; }
.link-copy strong { font-size: 1rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.3; }
.link-detail { font-size: .75rem; color: #d4e9f5; line-height: 1.4; }
.link-arrow { width: 18px; height: 18px; color: var(--cyan); }
.social-link { display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; align-items: center; gap: 10px; min-height: 76px; padding: 16px; border: 1px solid transparent; color: #fff; background: linear-gradient(110deg, #4f5bd5 0%, #962fbf 44%, #d62976 76%, #fa7e1e 94%, #feda75 100%); box-shadow: 0 6px 16px #962fbf20; border-radius: 14px; text-decoration: none; transition: filter .18s, box-shadow .18s; }
.social-icon { display: grid; place-items: center; width: 34px; height: 34px; }
.social-icon svg { width: 24px; height: 24px; }
.social-copy { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.social-copy strong { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.social-copy > span { color: #fff; font-size: .75rem; line-height: 1.4; }
.social-arrow { width: 18px; height: 18px; color: #4b1646; }

/* Original ONIC artwork, displayed in full at its natural aspect ratio. */
.product-banners { display: grid; gap: 22px; min-width: 0; }
.product-banner { display: block; min-width: 0; border: 1px solid #006ca4; border-radius: 14px; overflow: hidden; background: #004f82; color: white; text-decoration: none; box-shadow: 0 8px 22px #00336616; }
.product-banner img { display: block; width: 100%; height: auto; }
.banner-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 16px 18px; background: #00385e; font-size: .75rem; font-weight: 500; line-height: 1.5; }
.banner-cta svg { width: 20px; height: 20px; color: #68e4ff; flex: 0 0 20px; }

.site-footer { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }
.site-footer p { width: 100%; margin: 0 auto; text-align: center; font-size: .6875rem; font-weight: 600; line-height: 1.5; }
.site-footer p > span { margin-left: 6px; font-size: .625rem; font-weight: 400; letter-spacing: .08em; color: var(--muted); }
.site-footer .footer-categories { font-size: .625rem; font-weight: 400; letter-spacing: .1em; color: var(--muted); }
.site-footer .footer-categories span { margin: 0 6px; }
.footer-guide { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 6px; color: #536674; font-size: .6875rem; line-height: 1.5; text-underline-offset: 3px; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 14px 18px; background: white; border: 2px solid var(--blue); border-radius: 8px; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
a:focus-visible { outline: 3px solid #047ca6; outline-offset: 4px; }
.link-list:focus { outline: none; }

@media (min-width: 390px) {
  .page-shell { padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right)); }
  .store-link, .social-link { grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 13px; padding-inline: 19px; }
  .store-icon { width: 40px; height: 46px; }
  .link-copy strong, .social-copy strong { font-size: 1.0625rem; }
  .link-arrow { width: 20px; height: 20px; }
}
@media (min-width: 768px) {
  body { background: linear-gradient(180deg, #e6f0f4, var(--paper) 420px); }
  .page-shell { margin-block: 32px; padding-inline: 28px; background: var(--paper); border: 1px solid #d8e1e5; border-radius: 24px; box-shadow: 0 18px 55px #082d4608; }
  .site-header { padding-top: 28px; }
}
@media (hover: hover) and (pointer: fine) {
  .store-link:hover { background: #003f68; box-shadow: 0 8px 20px #00528326; }
  .social-link:hover { filter: brightness(.94); box-shadow: 0 8px 20px #962fbf30; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .store-link, .social-link, .store-icon { border: 1px solid ButtonText; }
  .store-link::before { display: none; }
}
