@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap');

:root {
  --navy: #092d67;
  --navy-deep: #061e47;
  --ink: #163252;
  --muted: #58708d;
  --teal: #11b8bd;
  --teal-deep: #087f8c;
  --coral: #ff6e70;
  --yellow: #ffbf24;
  --sky: #bfeefe;
  --lavender: #ddd3ff;
  --paper: rgba(255, 255, 255, .82);
  --paper-solid: #fff;
  --line: rgba(9, 45, 103, .12);
  --shadow: 0 20px 60px rgba(15, 57, 105, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(221, 211, 255, .78), transparent 28rem),
    radial-gradient(circle at 95% 9%, rgba(191, 238, 254, .86), transparent 30rem),
    #f7fbff;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { color: #fff; background: var(--teal-deep); }

a { color: var(--teal-deep); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.pictog-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.pictog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.3rem 0;
}

.pictog-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.pictog-logo img {
  display: block;
  width: min(156px, 42vw);
  height: auto;
}

.pictog-header nav { display: flex; align-items: center; gap: .35rem; }

.pictog-header nav a,
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: .4rem .78rem;
  border-radius: 999px;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.pictog-header nav a:hover,
.back-link:hover { background: rgba(255,255,255,.72); transform: translateY(-1px); }

.pictog-header nav a:last-child {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 18px rgba(9,45,103,.16);
}

.pictog-header nav a:last-child:hover { background: var(--navy-deep); }

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  padding: .38rem .58rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 800;
}

.language-picker span { color: var(--muted); font-size: .65rem; letter-spacing: .04em; text-transform: uppercase; }
.language-picker select { max-width: 7.2rem; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  min-height: 500px;
  padding: 4.8rem 0 5.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 4%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: -430px 230px 0 var(--yellow), -260px -120px 0 var(--teal);
  opacity: .9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: var(--teal-deep);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 5px; background: var(--coral); }

h1, h2, h3 { margin: 0; color: var(--navy); font-family: Sora, sans-serif; letter-spacing: -.035em; }
h1 { max-width: 720px; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .98; }
h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.08; }
h3 { font-size: 1.08rem; line-height: 1.3; }

.hero p { max-width: 650px; margin: 1.45rem 0 0; color: var(--muted); font-size: clamp(1.06rem, 1.8vw, 1.25rem); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 330px; }

.hero-art::before {
  content: "";
  position: absolute;
  width: min(340px, 82vw);
  aspect-ratio: 1;
  border-radius: 42% 58% 54% 46% / 48% 42% 58% 52%;
  background: linear-gradient(145deg, rgba(221,211,255,.95), rgba(191,238,254,.86));
  transform: rotate(-8deg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 28px 70px rgba(60, 129, 187, .18);
}

.hero-art img { position: relative; z-index: 1; width: min(285px, 70vw); border-radius: 24%; box-shadow: 0 24px 36px rgba(9,45,103,.2); transform: rotate(4deg); }

.floating-word {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 12%;
  padding: .65rem .85rem;
  border: 3px solid var(--navy);
  border-radius: 15px;
  background: #fff;
  color: var(--navy);
  font-family: Sora, sans-serif;
  font-size: .8rem;
  font-weight: 800;
  transform: rotate(-8deg);
  box-shadow: 7px 8px 0 rgba(9,45,103,.12);
}

.section { padding: 2rem 0 5.8rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.section-heading p { max-width: 510px; margin: 0; color: var(--muted); }

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

.card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.contact-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; align-items: stretch; }
.contact-main { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.contact-main p { margin: .6rem 0 0; color: var(--muted); }
.contact-email { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; padding: .78rem 1rem; border-radius: 14px; background: rgba(17,184,189,.1); color: var(--teal-deep); font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 800; text-decoration: none; }
.contact-email:hover { background: rgba(17,184,189,.18); }
.contact-meta { display: grid; gap: .7rem; padding: 1.2rem; border-radius: 18px; background: var(--navy); color: #fff; }
.contact-meta div { display: grid; gap: .1rem; }
.contact-meta dt { color: rgba(255,255,255,.65); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-meta dd { margin: 0; font-weight: 700; }
.contact-meta a { color: #a9fff2; }

.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .85rem; align-items: start; }
.step-number { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--yellow); color: var(--navy); font-family: Sora, sans-serif; font-weight: 800; }
.steps strong { display: block; color: var(--navy); }
.steps span { color: var(--muted); }

.mini-card { min-height: 155px; }
.mini-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1.15rem; border-radius: 14px; color: var(--navy); background: linear-gradient(135deg, var(--sky), var(--lavender)); }
.mini-card p { margin: .5rem 0 0; color: var(--muted); font-size: .95rem; }

.faq-list { display: grid; gap: .75rem; }
details { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.68); overflow: hidden; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.2rem; cursor: pointer; color: var(--navy); font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; font-weight: 500; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 1.2rem 1.15rem; color: var(--muted); }

.legal-copy { max-width: 780px; }
.legal-copy > p, .legal-copy li { color: var(--muted); }
.legal-copy h2 { margin: 3.2rem 0 .9rem; font-size: clamp(1.45rem, 2.6vw, 2rem); }
.legal-copy h3 { margin: 1.5rem 0 .4rem; }
.legal-copy ul { padding-left: 1.2rem; }
.legal-copy li + li { margin-top: .45rem; }
.notice { margin: 1.4rem 0; padding: 1rem 1.15rem; border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0; background: rgba(17,184,189,.09); color: var(--ink); }

.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; gap: clamp(2rem, 7vw, 6rem); }
.legal-aside { position: sticky; top: 1rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.62); }
.legal-aside strong { display: block; margin-bottom: .65rem; color: var(--navy); font-family: Sora, sans-serif; font-size: .9rem; }
.legal-aside a { display: block; padding: .25rem 0; font-size: .9rem; font-weight: 700; text-decoration: none; }

.page-intro { padding: 4.4rem 0 2.8rem; }
.page-intro p { max-width: 700px; margin: 1rem 0 0; color: var(--muted); font-size: 1.12rem; }
.page-intro .eyebrow { margin-bottom: .8rem; }

.updated { margin-top: 3rem; color: var(--muted); font-size: .9rem; }
.updated strong { color: var(--navy); }

.pictog-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem 0 2.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.pictog-footer a { font-weight: 700; }

@media (max-width: 760px) {
  .pictog-wrap { width: min(100% - 28px, 640px); }
  .pictog-header { align-items: flex-start; }
  .pictog-header nav { gap: .1rem; }
  .pictog-header nav a { padding-inline: .5rem; font-size: .78rem; }
  .pictog-header nav a:not(:last-child) { display: none; }
  .language-picker span { display: none; }
  .language-picker { padding: .42rem .5rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 3.5rem 0 4rem; }
  .hero-art { order: -1; min-height: 260px; }
  .hero-art::before { width: 245px; }
  .hero-art img { width: 210px; }
  .floating-word { right: 7%; bottom: 4%; }
  .section-heading { display: block; }
  .section-heading p { margin-top: .7rem; }
  .card-grid, .card-grid.three, .contact-card, .legal-layout { grid-template-columns: 1fr; }
  .legal-aside { position: static; order: -1; }
  .pictog-footer { align-items: flex-start; flex-direction: column; }
}

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

@media print {
  body { background: #fff; }
  .pictog-header nav, .hero-art, .legal-aside { display: none; }
  .hero { min-height: auto; padding: 1rem 0 2rem; }
  .card, details { box-shadow: none; background: #fff; }
}

/* ========== PRODUCT PAGE ========== */
.product-header { padding-top: 1.4rem; }
.product-header nav a:last-child { background: var(--teal-deep); }
.product-hero { grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); min-height: 660px; padding-top: 4rem; }
.product-hero h1 { max-width: 660px; font-size: clamp(3.2rem, 6.9vw, 6.6rem); }
.product-hero-copy > p:not(.eyebrow) { max-width: 600px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.product-button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .85rem 1.15rem; border-radius: 15px; color: #fff; background: var(--navy); box-shadow: 0 11px 0 rgba(9,45,103,.12), 0 18px 32px rgba(9,45,103,.17); font-weight: 800; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.product-button:hover { color: #fff; background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 13px 0 rgba(9,45,103,.1), 0 22px 36px rgba(9,45,103,.2); }
.product-text-link { padding: .75rem .25rem; color: var(--navy); font-weight: 800; text-decoration: none; }
.product-text-link:hover { color: var(--teal-deep); }
.product-promises { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.1rem; }
.product-promise { display: inline-flex; align-items: center; gap: .42rem; padding: .52rem .72rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.65); color: var(--navy); font-size: .82rem; font-weight: 800; }
.product-promise::before { content: "✓"; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; color: var(--navy); background: var(--yellow); font-size: .72rem; }
.product-device-note { margin-top: 1rem !important; color: var(--muted) !important; font-size: .82rem !important; }

.product-board-stage { position: relative; display: grid; place-items: center; min-height: 530px; }
.product-board-stage::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1.08; border-radius: 49% 51% 45% 55% / 55% 42% 58% 45%; background: linear-gradient(145deg, rgba(255,191,36,.28), rgba(191,238,254,.8) 48%, rgba(221,211,255,.75)); transform: rotate(7deg); }
.product-board-stage::after { content: ""; position: absolute; right: 2%; bottom: 2%; width: 64px; height: 64px; border: 10px solid var(--coral); border-left-color: transparent; border-radius: 50%; transform: rotate(-25deg); opacity: .8; }
.product-board { position: relative; z-index: 1; width: min(560px, 100%); padding: 1rem; border: 7px solid var(--navy); border-radius: 31px; background: #edfaff; box-shadow: 13px 16px 0 rgba(9,45,103,.15), 0 30px 54px rgba(23,79,124,.2); transform: rotate(2.2deg); }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .25rem .25rem .9rem; color: var(--navy); font-size: .8rem; font-weight: 800; }
.board-brand { display: flex; align-items: center; gap: .5rem; }
.board-brand img { width: 28px; height: 28px; border-radius: 9px; }
.board-status { padding: .34rem .58rem; border-radius: 999px; color: var(--teal-deep); background: rgba(17,184,189,.13); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.board-message { display: flex; align-items: center; gap: .65rem; min-height: 68px; padding: .75rem .9rem; border: 2px solid rgba(9,45,103,.15); border-radius: 18px; background: #fff; color: var(--navy); font-family: Sora, sans-serif; font-size: clamp(1rem, 2.3vw, 1.3rem); font-weight: 800; }
.board-message .wave { color: var(--coral); font-size: 1.7rem; line-height: 1; }
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; margin-top: .65rem; }
.board-tile { display: grid; place-items: center; min-width: 0; margin: 0; padding: .35rem .25rem .45rem; border: 2px solid rgba(9,45,103,.11); border-radius: 15px; background: #fff; }
.board-tile img { display: block; width: 100%; max-width: 82px; aspect-ratio: 1; object-fit: contain; }
.board-tile figcaption { color: var(--navy); font-size: .7rem; font-weight: 800; }
.board-footer { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .75rem .1rem .1rem; }
.essential-note { color: var(--muted); font-size: .68rem; font-weight: 700; }
.board-speak { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .75rem; border-radius: 11px; color: #fff; background: var(--teal-deep); font-size: .75rem; font-weight: 800; }
.board-speak::before { content: "◖"; font-size: 1rem; }

.product-section { padding: 5.8rem 0; }
.product-section.alt { background: rgba(255,255,255,.48); border-top: 1px solid rgba(9,45,103,.06); border-bottom: 1px solid rgba(9,45,103,.06); }
.product-section-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: end; gap: 3rem; margin-bottom: 2rem; }
.product-section-heading p { max-width: 590px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.product-section-heading h2 { max-width: 580px; }
.product-story-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.product-story-card { padding: 1.45rem; border-top: 4px solid var(--teal); border-radius: 0 18px 18px 18px; background: rgba(255,255,255,.7); }
.product-story-card:nth-child(2) { border-top-color: var(--coral); }
.product-story-card:nth-child(3) { border-top-color: var(--yellow); }
.product-story-card h3 { margin-bottom: .5rem; }
.product-story-card p { margin: 0; color: var(--muted); }

.product-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-feature { min-height: 230px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.7); box-shadow: 0 15px 35px rgba(15,57,105,.06); }
.product-feature:nth-child(3n + 1) .product-feature-icon { background: rgba(17,184,189,.16); }
.product-feature:nth-child(3n + 2) .product-feature-icon { background: rgba(255,110,112,.16); }
.product-feature:nth-child(3n) .product-feature-icon { background: rgba(255,191,36,.24); }
.product-feature-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1.1rem; border-radius: 14px; color: var(--navy); font-family: Sora, sans-serif; font-size: .85rem; font-weight: 800; }
.product-feature h3 { margin-bottom: .5rem; }
.product-feature p { margin: 0; color: var(--muted); font-size: .94rem; }
.product-feature small { display: block; margin-top: .75rem; color: var(--teal-deep); font-size: .75rem; font-weight: 800; }

.product-language-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; align-items: center; padding: 1.6rem; border-radius: 28px; background: var(--navy); color: #fff; box-shadow: 0 24px 50px rgba(9,45,103,.15); }
.product-language-band h2 { color: #fff; }
.product-language-band p { margin: .8rem 0 0; color: rgba(255,255,255,.72); }
.language-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.language-list span { padding: .68rem .82rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.09); color: #fff; font-size: .83rem; font-weight: 700; }

.product-ethos { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 3.5rem; }
.product-ethos-art { display: grid; place-items: center; min-height: 360px; padding: 1.5rem; border-radius: 34px; background: linear-gradient(145deg, rgba(191,238,254,.8), rgba(221,211,255,.7)); overflow: hidden; }
.product-ethos-art img { width: 100%; max-width: 340px; filter: drop-shadow(0 18px 14px rgba(9,45,103,.14)); }
.product-ethos-copy p { color: var(--muted); font-size: 1.06rem; }
.product-ethos-copy blockquote { margin: 1.4rem 0 0; padding: 1.1rem 1.2rem; border-left: 4px solid var(--coral); border-radius: 0 15px 15px 0; background: rgba(255,110,112,.08); color: var(--navy); font-family: Sora, sans-serif; font-size: 1.06rem; font-weight: 700; }

.product-cta { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4rem); border-radius: 32px; background: linear-gradient(135deg, var(--teal-deep), var(--navy)); color: #fff; }
.product-cta::after { content: ""; position: absolute; right: -2rem; bottom: -4rem; width: 170px; height: 170px; border: 26px solid rgba(255,255,255,.12); border-radius: 50%; }
.product-cta h2 { max-width: 650px; color: #fff; }
.product-cta p { max-width: 640px; margin: .85rem 0 1.4rem; color: rgba(255,255,255,.74); }
.product-cta .product-button { color: var(--navy); background: #fff; box-shadow: 0 11px 0 rgba(0,0,0,.12), 0 18px 32px rgba(0,0,0,.12); }
.product-cta .product-button:hover { color: var(--navy-deep); background: #f3ffff; }
.product-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.2rem; }
.product-links a { color: #a9fff2; font-size: .9rem; font-weight: 800; text-decoration: none; }
.product-links a:hover { color: #fff; }

.product-footer { border-top: 0; }

@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .product-hero-copy { order: 1; }
  .product-board-stage { order: 0; min-height: 440px; }
  .product-section-heading, .product-ethos { grid-template-columns: 1fr; gap: 1rem; }
  .product-language-band { grid-template-columns: 1fr; }
  .language-list { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .product-header nav a:not(:last-child) { display: none; }
  .product-hero { min-height: auto; padding-bottom: 4rem; }
  .product-board-stage { min-height: 360px; }
  .product-board { width: 100%; border-width: 5px; border-radius: 24px; }
  .board-tile img { max-width: 58px; }
  .product-feature-grid, .product-story-grid { grid-template-columns: 1fr; }
  .product-section { padding: 4.2rem 0; }
  .product-ethos-art { min-height: 260px; }
  .product-cta { border-radius: 24px; }
}
