:root {
  --ink: #211d1a;
  --muted: #64717a;
  --blue: #1b6c9e;
  --blue-dark: #124f77;
  --green: #1f7663;
  --cream: #fff9ec;
  --ice: #eafaff;
  --yellow: #fff6bc;
  --line: rgba(27, 108, 158, .16);
  --shadow: 0 22px 54px rgba(30, 80, 110, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--ice), #f7fbf9 46%, var(--cream));
}

a {
  color: inherit;
  overflow-wrap: anywhere;
}

img,
svg {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 253, 255, .9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: .8rem;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 12px 24px rgba(27, 108, 158, .22);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: .8rem;
}

.nav-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .7rem;
  min-width: 0;
  max-width: 100%;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem;
}

.tabs a,
.apps-menu summary {
  padding: .62rem .86rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: .92rem;
  max-width: 100%;
}

.tabs a:hover,
.apps-menu summary:hover {
  color: var(--blue-dark);
  background: rgba(27, 108, 158, .1);
}

.apps-menu {
  position: relative;
}

.apps-menu summary {
  cursor: pointer;
  list-style: none;
  color: white;
  background: var(--blue);
}

.apps-menu summary::-webkit-details-marker {
  display: none;
}

.apps-panel {
  position: absolute;
  right: 0;
  top: calc(100% + .7rem);
  width: min(560px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 7rem));
  overflow-y: auto;
  display: grid;
  gap: .65rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: white;
  box-shadow: var(--shadow);
}

.app-tree {
  align-items: start;
}

.app-menu-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(10rem, .9fr);
  gap: .6rem;
  align-items: stretch;
}

.app-link {
  display: grid;
  gap: .2rem;
  padding: .85rem;
  border-radius: .8rem;
  text-decoration: none;
  background: #f5fbfd;
}

.app-title-link {
  min-height: 100%;
}

.app-link strong {
  color: var(--blue-dark);
}

.app-link span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
}

.app-submenu {
  display: grid;
  gap: .35rem;
  min-width: 10rem;
  padding: .6rem;
  border: 1px solid rgba(27, 108, 158, .12);
  border-radius: .8rem;
  background: linear-gradient(180deg, #ffffff, #f4fbfe);
  opacity: 0;
  transform: translateX(-.35rem);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.app-menu-item:hover .app-submenu,
.app-menu-item:focus-within .app-submenu {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.app-submenu a {
  padding: .55rem .65rem;
  border-radius: .55rem;
  color: var(--blue-dark);
  font-size: .9rem;
  font-weight: 850;
  text-decoration: none;
}

.app-submenu a:hover,
.app-submenu a:focus {
  background: rgba(27, 108, 158, .1);
}

.safe-ride-menu-item .app-title-link {
  border: 1px solid rgba(23, 136, 101, .2);
  background: linear-gradient(135deg, #e8fbf4, #f5fcfa);
}

.safe-ride-menu-item .app-title-link strong {
  color: #0d5c49;
}

.nouriplay-menu-item .app-title-link {
  border: 1px solid rgba(196, 111, 93, .24);
  background: linear-gradient(135deg, #f7eee9, #fffaf4);
}

.nouriplay-menu-item .app-title-link strong {
  color: #634252;
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.hero-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(221, 190, 68, .42);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, var(--yellow), #fffdf2);
  box-shadow: var(--shadow);
}

.release-hero {
  grid-template-columns: minmax(0, .95fr) minmax(18rem, .72fr);
}

.release-showcase {
  position: relative;
  justify-self: center;
  width: min(24rem, 100%);
  padding: 1rem;
  border: 1px solid rgba(27, 108, 158, .18);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, #ffffff, #eafaff);
  box-shadow: var(--shadow);
}

.release-showcase img {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  border: 1px solid rgba(27, 108, 158, .2);
  border-radius: 1.05rem;
  background: var(--ice);
}

.release-badge {
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  z-index: 1;
  padding: .55rem .75rem;
  border-radius: 999px;
  color: white;
  font-size: .82rem;
  font-weight: 900;
  background: linear-gradient(135deg, #59b5d4, var(--blue-dark));
  box-shadow: 0 10px 22px rgba(18, 79, 119, .22);
}

.release-caption {
  display: grid;
  gap: .25rem;
  margin-top: .85rem;
  padding: .75rem .85rem;
  border-radius: .85rem;
  background: #fff9ec;
}

.release-caption strong {
  color: var(--blue-dark);
}

.release-caption span {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.35;
}

.release-points {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.2rem;
}

.release-points span {
  padding: .55rem .7rem;
  border: 1px solid rgba(27, 108, 158, .14);
  border-radius: .65rem;
  color: var(--blue-dark);
  font-size: .9rem;
  font-weight: 850;
  background: rgba(255, 255, 255, .7);
}

.neutral-hero {
  min-height: auto;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.app-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}

.app-showcase a {
  display: grid;
  gap: .35rem;
  min-height: 8rem;
  padding: 1rem;
  border: 1px solid rgba(27, 108, 158, .12);
  border-radius: 1rem;
  text-decoration: none;
  background: linear-gradient(180deg, #fff, #f4fbfe);
}

.app-showcase a:first-child {
  border-color: rgba(23, 136, 101, .24);
  background: linear-gradient(160deg, #dff8ef, #f7fffc);
}

.app-showcase .nouriplay-showcase-item {
  border-color: rgba(196, 111, 93, .3);
  background: linear-gradient(155deg, #f6ebe5, #fffaf3);
}

.app-showcase strong {
  color: var(--blue-dark);
  font-size: 1.04rem;
}

.app-showcase span {
  color: var(--muted);
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .94;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

h3 {
  color: var(--blue-dark);
}

p,
li,
dd {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.lead {
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.7rem;
}

.primary,
.secondary,
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .82rem 1.15rem;
  border-radius: .7rem;
  font-weight: 850;
  text-decoration: none;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.primary {
  color: white;
  background: linear-gradient(135deg, #59b5d4, var(--blue-dark));
}

.safe-ride-primary {
  color: #052f28;
  background: linear-gradient(135deg, #6be9bd, #49d4a5);
}

.secondary,
.inline-link {
  color: var(--blue-dark);
  background: rgba(27, 108, 158, .1);
}

.phone-preview {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: #f8fdff;
  box-shadow: var(--shadow);
}

.phone-screen {
  display: grid;
  gap: .75rem;
  min-height: 420px;
  padding: 1.2rem;
  border-radius: 1.3rem;
  background: linear-gradient(180deg, #eafaff, #f7fbff);
}

.level-preview {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid rgba(111, 78, 42, .28);
  border-radius: 2rem;
  background: radial-gradient(circle at 50% 18%, rgba(199, 255, 84, .22), transparent 15rem), #151912;
  box-shadow: 0 28px 64px rgba(20, 28, 18, .22);
  overflow: hidden;
}

.level-preview img {
  display: block;
  width: min(100%, 390px);
  max-height: 72vh;
  object-fit: contain;
  border-radius: 1.35rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .35);
}

.level-icon-title {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.level-icon-title img {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(31, 118, 99, .22);
}

.language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1rem 0 1.4rem;
}

.language-switch button {
  min-height: 2.75rem;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-dark);
  background: white;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.language-switch button.active {
  color: white;
  background: var(--blue-dark);
}

.policy-language[hidden] {
  display: none;
}

.notice {
  padding: 1rem 1.15rem;
  border-left: .3rem solid var(--green);
  border-radius: .8rem;
  background: rgba(31, 118, 99, .09);
}

.phone-tile {
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: white;
}

.section {
  margin: 0 0 2rem;
  padding: clamp(1.7rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 14px 40px rgba(30, 80, 110, .08);
  min-width: 0;
}

.safe-ride-hero {
  min-height: auto;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.safe-ride-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.safe-ride-title h1 {
  margin: 0;
  color: #0d2836;
}

.safe-ride-mark {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 1.2rem;
  color: #082f29;
  font-size: 2rem;
  font-weight: 900;
  background: #5bdcb0;
  box-shadow: 0 14px 30px rgba(23, 136, 101, .2);
}

.safe-ride-device {
  justify-self: center;
  width: min(25rem, 100%);
  padding: 1rem;
  border: 1px solid rgba(13, 40, 54, .14);
  border-radius: 2rem;
  background: #0d2836;
  box-shadow: 0 28px 64px rgba(13, 40, 54, .22);
}

.safe-ride-device img {
  display: block;
  width: 100%;
  border-radius: 1.35rem;
  background: #edf7f5;
}

.safe-ride-section {
  border-color: rgba(23, 136, 101, .18);
  background: linear-gradient(155deg, rgba(231, 250, 244, .9), rgba(255, 255, 255, .88));
}

.safe-ride-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, .55fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  border-color: rgba(23, 136, 101, .22);
  background: linear-gradient(145deg, #e0f8f0, #ffffff 62%);
}

.safe-ride-teaser img {
  display: block;
  width: min(18rem, 100%);
  justify-self: center;
  border: .65rem solid #0d2836;
  border-radius: 1.65rem;
  box-shadow: 0 20px 46px rgba(13, 40, 54, .18);
}

.nouriplay-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .72fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  border-color: rgba(196, 111, 93, .25);
  background: linear-gradient(145deg, #f5eee8, #ffffff 64%);
}

.nouriplay-teaser img {
  display: block;
  width: 100%;
  justify-self: center;
  border: 1px solid rgba(71, 52, 65, .14);
  border-radius: 1.35rem;
  box-shadow: 0 20px 46px rgba(71, 52, 65, .14);
}

.nouriplay-teaser .nouriplay-app-shot {
  width: min(18rem, 100%);
  border: .55rem solid #2f292d;
  border-radius: 1.7rem;
  background: var(--nouri-ivory, #f4f0e8);
  box-shadow: 0 24px 52px rgba(71, 52, 65, .2);
}

.nouriplay-primary {
  color: #fff;
  background: linear-gradient(135deg, #c46f5d, #7d4f5f);
}

.development-label {
  display: inline-flex;
  width: fit-content;
  padding: .48rem .72rem;
  border: 1px solid rgba(196, 111, 93, .28);
  border-radius: 999px;
  color: #704657;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #f8e9df;
}

.nouriplay-card {
  border-color: rgba(196, 111, 93, .24);
  background: linear-gradient(155deg, #fff, #fbf3ee);
}

.nouriplay-card h3 {
  margin-top: .9rem;
  color: #634252;
}

.nouriplay-page {
  --nouri-aubergine: #473441;
  --nouri-terracotta: #c46f5d;
  --nouri-sage: #7f9278;
  --nouri-ochre: #c99b3d;
  --nouri-ivory: #f4f0e8;
  background: linear-gradient(180deg, #f7f3ed, #fffdf9 48%, #f1eee8);
}

.nouriplay-hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .9fr);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.nouriplay-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.nouriplay-title img {
  width: 4.4rem;
  height: 4.4rem;
  flex: 0 0 auto;
  border-radius: 1.25rem;
  box-shadow: 0 14px 30px rgba(71, 52, 65, .18);
}

.nouriplay-title .eyebrow,
.nouriplay-title h1 {
  margin: 0;
}

.nouriplay-title .eyebrow {
  color: var(--nouri-terracotta);
  margin-bottom: .45rem;
}

.nouriplay-title h1,
.nouriplay-page h2,
.nouriplay-page h3 {
  color: var(--nouri-aubergine);
}

.nouriplay-visual {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(71, 52, 65, .15);
  border-radius: 1.6rem;
  background: #fffaf4;
  box-shadow: 0 26px 58px rgba(71, 52, 65, .15);
}

.nouriplay-visual img {
  display: block;
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
  border-radius: 1.1rem;
}

.nouriplay-visual .nouriplay-app-shot {
  width: min(21rem, 100%);
  max-height: none;
  justify-self: center;
  object-fit: contain;
  border: .65rem solid #2f292d;
  border-radius: 1.85rem;
  background: var(--nouri-ivory);
  box-shadow: 0 24px 52px rgba(71, 52, 65, .2);
}

.nouriplay-visual span,
.nouriplay-visual figcaption {
  color: #725f68;
  font-size: .9rem;
  text-align: center;
}

.nouriplay-section {
  border-color: rgba(196, 111, 93, .24);
  background: linear-gradient(155deg, rgba(248, 233, 223, .82), rgba(255, 255, 255, .9));
}

.nouriplay-family-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .7fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.nouriplay-family-section img {
  display: block;
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 18px 42px rgba(71, 52, 65, .14);
}

.nouriplay-page .feature-list span {
  color: #54414b;
  background: #eee8df;
}

.nouriplay-safety-band {
  color: white;
  border-color: var(--nouri-aubergine);
  background: var(--nouri-aubergine);
}

.nouriplay-safety-band h2,
.nouriplay-safety-band p {
  color: white;
}

.nouriplay-safety-band .eyebrow {
  color: #efb8a8;
}

.safe-ride-shot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.plan-card {
  padding: 1.25rem;
  border: 1px solid rgba(13, 40, 54, .14);
  border-radius: 1rem;
  background: #fff;
}

.plan-card h3 {
  margin: .75rem 0 .45rem;
  color: #0d2836;
}

.plan-label {
  display: inline-flex;
  padding: .45rem .65rem;
  border-radius: 999px;
  color: #07513f;
  font-size: .82rem;
  font-weight: 900;
  background: #d6f6eb;
}

.safety-band {
  color: white;
  border-color: #0d2836;
  background: #0d2836;
}

.safety-band h2,
.safety-band p {
  color: white;
}

.safety-band .eyebrow {
  color: #6be9bd;
}

.safety-band .inline-link {
  color: #092e28;
  background: #6be9bd;
}

.faq-list {
  display: grid;
  gap: .7rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 900;
}

.faq-list p {
  margin: .85rem 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.policy section {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.app-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.feature-list span {
  padding: .7rem .9rem;
  border-radius: .7rem;
  color: var(--blue-dark);
  font-weight: 850;
  background: var(--ice);
}

.screenshots-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.mobile-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mobile-shot-card {
  display: grid;
  gap: .75rem;
  align-content: start;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(30, 80, 110, .08);
  min-width: 0;
}

.mobile-shot-card img {
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  border: 1px solid rgba(27, 108, 158, .18);
  border-radius: 1.1rem;
  background: var(--ice);
}

.mobile-shot-card img[src*="vamit-level-"] {
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #0b0e0a;
}

.mobile-shot-card h3 {
  margin: .2rem 0 0;
}

.mobile-shot-card p {
  margin: 0;
}

.shot-note {
  color: var(--muted);
  font-size: .95rem;
}

.contact-card dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
}

dt {
  margin-bottom: .35rem;
  color: var(--blue);
  font-weight: 900;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem 1.5rem;
  padding: 2.5rem 1rem 3rem;
  color: var(--muted);
}

.policy {
  padding: 2rem 0 3rem;
}

.policy-header {
  margin-bottom: 1.2rem;
}

@media (max-width: 900px) {
  .site-header,
  .nav-area,
  .hero {
    align-items: flex-start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .nav-area,
  .tabs {
    justify-content: flex-start;
  }

  .apps-panel {
    left: 0;
    right: auto;
  }

  .app-menu-item {
    grid-template-columns: 1fr;
  }

  .app-submenu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .screenshots-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid,
  .app-list,
  .plan-grid,
  .mobile-shot-grid,
  .contact-card dl {
    grid-template-columns: 1fr 1fr;
  }

  .safe-ride-teaser {
    grid-template-columns: 1fr;
  }

  .nouriplay-teaser,
  .nouriplay-family-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  main {
    width: min(100% - 1rem, 1120px);
  }

  .grid,
  .app-list,
  .app-showcase,
  .plan-grid,
  .mobile-shot-grid,
  .contact-card dl {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.1rem;
  }
}
