:root {
  --paper: #f6f6f1;
  --white: #fafaf5;
  --ink: #050505;
  --muted: #6f6f69;
  --lime: #dfff00;
  --lime-edge: #7c9300;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 14px;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #050505; outline-offset: 4px; }

.pote-header {
  position: fixed;
  inset: 12px 18px auto;
  z-index: 100;
  color: var(--ink);
  background: rgba(250,250,245,.88);
  border-radius: var(--r-chip);
  box-shadow: 0 10px 34px rgba(5,5,5,.09), inset 0 0 0 1px rgba(5,5,5,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pote-header-inner {
  width: 100%;
  padding: 11px 14px 11px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-brand { display: flex; align-items: center; text-decoration: none; }
.pote-nav { display: flex; gap: 2px; margin-left: auto; }
.pote-navlink {
  padding: 8px 12px;
  color: currentColor;
  border-radius: var(--r-pill);
  text-decoration: none;
  font: 700 12px/1 "IBM Plex Sans", sans-serif;
}
.pote-navlink:hover { background: rgba(5,5,5,.06); }
.pote-cta-pill {
  padding: 10px 15px;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  border-radius: var(--r-pill);
  box-shadow: 0 3px 0 var(--lime-edge);
  text-decoration: none;
  white-space: nowrap;
  font: 800 12px/1 "IBM Plex Sans", sans-serif;
}
.pote-cta-pill:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--lime-edge); }

.lang-dd { position: relative; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(5,5,5,.34);
  border-radius: var(--r-pill);
  cursor: pointer;
  font: 700 11px/1 "IBM Plex Sans", sans-serif;
}
.lang-chev { opacity: .55; transition: transform .18s ease; }
.lang-chev.up { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 188px;
  padding: 5px;
  background: var(--white);
  border: 1px solid rgba(5,5,5,.1);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(5,5,5,.14);
}
.lang-mi {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.lang-mi:hover, .lang-mi.on { background: rgba(5,5,5,.06); }
.lang-mi-code { width: 22px; flex: none; color: var(--muted); font-size: 11px; font-weight: 900; }
.lang-mi-name { font-size: 14px; font-weight: 700; }
.lang-mi-check { margin-left: auto; }

.launch-cta { width: min(100%,560px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.store-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: var(--r-pill);
  box-shadow: 0 5px 0 rgba(5,5,5,.28), 0 16px 34px rgba(5,5,5,.12);
  text-decoration: none;
  cursor: pointer;
}
.store-button:hover { transform: translateY(-1px); box-shadow: 0 6px 0 rgba(5,5,5,.28), 0 18px 36px rgba(5,5,5,.14); }
.store-button-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.store-button-overline { font: 700 9px/1 "IBM Plex Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; opacity: .6; }
.store-button-label { font-size: 15px; font-weight: 800; }
.launch-notify-primary { color: var(--ink); background: var(--lime); }
.launch-helper { font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--muted); }
.launch-notify { padding: 2px 0; border: 0; background: transparent; color: inherit; cursor: pointer; font: 700 13px/1.3 "IBM Plex Sans", sans-serif; text-decoration: underline; text-underline-offset: 4px; }
.launch-fallback { width: 100%; margin-top: 4px; }

.phone3d-outer { position: relative; }
.phone3d { position: relative; border-radius: var(--r-device); }
.phone3d-rim {
  position: absolute;
  inset: 0;
  padding: 7px;
  overflow: hidden;
  background: #111;
  border: 1px solid #353535;
  border-radius: var(--r-device);
  box-shadow: inset 0 0 0 2px #050505, inset 0 0 0 4px #444, 0 26px 44px rgba(5,5,5,.24);
}
.phone3d-rim::before, .phone3d-rim::after { content: ""; position: absolute; z-index: 4; width: 3px; left: -2px; background: #202020; border-radius: 2px 0 0 2px; }
.phone3d-rim::before { top: 120px; height: 72px; }
.phone3d-rim::after { top: 204px; height: 48px; }
.phone3d-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--paper); border-radius: var(--r-device-screen); }

.footer { background: #ebe2ff; }
.footer-inner { display: grid; grid-template-columns: minmax(220px,1.3fr) repeat(3,minmax(130px,.45fr)); gap: 36px; }
.footer-brand p { max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col-h { font: 800 11px/1 "IBM Plex Sans", sans-serif; }
.footer-link { color: rgba(5,5,5,.66); font-size: 13px; font-weight: 600; text-decoration: none; }
.footer-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 800px) {
  .pote-header { inset: 8px 10px auto; border-radius: 18px; }
  .pote-header-inner { padding: 10px 12px; }
  .pote-nav { display: none; }
  .pote-cta-pill { margin-left: auto; padding: 9px 12px; }
  .header-brand svg { height: 22px !important; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 390px) {
  .pote-cta-pill { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
