:root {
  --blue: #145f8c;
  --blue-deep: #0b5596;
  --blue-bright: #0068be;
  --ink: #151719;
  --muted: #59616a;
  --line: #dfe5e9;
  --wash: #f5f8fa;
  --white: #fff;
  --green: #22d629;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--white); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 99; padding: 10px 14px; background: #111; color: #fff; }
.skip-link:focus { left: 8px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 58px; height: 58px; object-fit: contain; }
.brand-word { color: #0f5a9d; font-weight: 650; font-size: clamp(2rem, 3.2vw, 3.1rem); letter-spacing: -.045em; line-height: 1; }
nav { display: flex; gap: 42px; align-items: center; }
nav a, .text-link, footer a { text-decoration: none; font-weight: 600; }
nav a:hover, .text-link:hover, footer a:hover { color: var(--blue-bright); }

.hero { padding: 42px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(370px, .88fr); align-items: center; gap: 78px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: .87rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(3.05rem, 6.2vw, 5.95rem); line-height: 1.01; letter-spacing: -.052em; font-weight: 650; }
.hero-copy { max-width: 690px; margin-bottom: 31px; color: #354d72; font-size: clamp(1.04rem, 1.6vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 34px; }
.button, .outline-button { min-height: 50px; padding: 0 22px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; white-space: nowrap; }
.button { background: var(--blue-deep); color: var(--white); box-shadow: 0 5px 10px rgba(11,85,150,.10); }
.button:hover { background: #094a83; }
.outline-button { border: 1.5px solid #5e83ff; color: #2256d7; background: #fff; }
.text-link { color: #105fc2; }

.location-card { position: relative; min-height: 445px; border-radius: 24px; padding: 40px 42px 34px; color: #fff; background: linear-gradient(140deg,#0757a0 0%,#0a5da4 52%,#075293 100%); overflow: hidden; box-shadow: 0 10px 24px rgba(14,69,115,.17); }
.location-card::before { content:""; position:absolute; inset:0; opacity:.14; background-image: linear-gradient(rgba(255,255,255,.28) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.28) 1px,transparent 1px); background-size: 54px 54px; }
.location-card > * { position: relative; z-index: 1; }
.card-label { margin: 0 0 20px; font-size: 1rem; font-weight: 650; text-transform: uppercase; letter-spacing: .11em; }
.code { margin: 0 0 24px; font-size: clamp(3.7rem, 6vw, 5.6rem); line-height: 1; font-weight: 700; letter-spacing: -.015em; }
.card-rule { height: 1px; background: rgba(255,255,255,.48); margin-bottom: 25px; }
.speak-row { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; margin-top: 18px; }
.speaker { width: 34px; height: 34px; fill:none; stroke:#fff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.speak-row span { display:block; }
.prompt { font-size: 1.25rem; font-weight: 500; }
.spoken-code { font-size: 1.22rem; margin-top: 2px; }
.confirm-row { margin-top: 24px; }
.phonetic { font-size: 1.2rem; margin-top: 4px; line-height: 1.36; }

.principles { background: linear-gradient(90deg,#f8fafb,#f3f6f8,#f8fafb); border-block: 1px solid var(--line); }
.principles-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.principle { min-height: 148px; display:flex; gap:18px; align-items:center; padding:26px 32px; }
.principle + .principle { border-left: 1px solid var(--line); }
.principle strong, .principle span { display:block; }
.principle strong { font-size: 1.28rem; margin-bottom: 5px; }
.principle span { color: #294c7b; }
.principle-icon { width: 66px; height: 66px; flex: 0 0 66px; border-radius: 50%; background: #eef3f7; position: relative; }
.target-icon::before { content:""; position:absolute; width:24px; height:24px; border:3px solid #145fbd; border-radius:50%; left:18px; top:18px; box-shadow: 0 0 0 8px transparent; }
.target-icon::after { content:""; position:absolute; left:31px; top:10px; width:3px; height:46px; background:#145fbd; box-shadow:-13px 13px 0 -1px #145fbd,13px 13px 0 -1px #145fbd; transform:rotate(0deg); }
.shield-icon::before { content:""; position:absolute; width:28px; height:34px; left:18px; top:15px; border:3px solid #145fbd; border-radius:5px 5px 13px 13px; clip-path:polygon(50% 0,100% 18%,90% 75%,50% 100%,10% 75%,0 18%); }
.shield-icon::after { content:"✓"; position:absolute; left:26px; top:20px; color:#145fbd; font-size:1.15rem; font-weight:800; }
.person-icon::before { content:""; position:absolute; width:16px; height:16px; border:3px solid #145fbd; border-radius:50%; left:23px; top:14px; }
.person-icon::after { content:""; position:absolute; width:30px; height:18px; border:3px solid #145fbd; border-radius:20px 20px 4px 4px; left:16px; top:35px; }

.product-section { padding: 48px 0; border-bottom:1px solid var(--line); }
.product-section.alt { background:#fbfcfd; }
.product-grid { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,.92fr); gap: 74px; align-items:center; }
.product-id { display:grid; grid-template-columns: 190px 1fr; gap:28px; align-items:center; min-width:0; }
.product-icon { width: 172px; height: 172px; object-fit: contain; }
.quodwords-icon { width: 164px; height: 164px; }
.product-name-block .eyebrow { margin-bottom: 8px; }
h2 { margin:0 0 7px; font-size: clamp(2.55rem, 4vw, 3.7rem); line-height:1; letter-spacing:-.045em; }
.quodwords-word { letter-spacing:-.055em; }
.green-o { position:relative; }
.green-o::after { content:""; position:absolute; width:.19em; height:.19em; background:var(--green); border-radius:50%; left:50%; top:54%; transform:translate(-50%,-50%); }
.product-summary { margin:0 0 6px; color:#294c7b; font-size:1.05rem; max-width:330px; }
.platform-note { margin:0 0 12px; color:#294c7b; font-size:.92rem; }
.product-actions { display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.small { min-height: 40px; padding:0 15px; font-size:.84rem; }
.small-link { font-size:.88rem; color:#0a5ebf; }
.download-icon { font-size:1.1rem; margin-right:6px; }
.product-copy { border-left:1px solid var(--line); padding-left:62px; }
h3 { margin:0 0 20px; font-size: clamp(1.55rem, 2.1vw, 2.05rem); line-height:1.12; letter-spacing:-.025em; }
.product-copy p { margin:0 0 18px; font-size:1rem; max-width:590px; }
.product-copy p:last-child { margin-bottom:0; }

.return-section { position:relative; overflow:hidden; background:linear-gradient(90deg,#0759a0,#0b5e9d); color:#fff; }
.return-section::before { content:""; position:absolute; inset:0; opacity:.11; background-image:linear-gradient(rgba(255,255,255,.35) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.35) 1px,transparent 1px); background-size:56px 56px; }
.return-inner { position:relative; z-index:1; min-height:250px; display:grid; grid-template-columns: 1fr 1.15fr 210px; gap:54px; align-items:center; }
.return-section .eyebrow { color:#fff; margin-bottom:8px; }
.return-title h2 { color:#fff; font-size: clamp(2rem, 3vw, 3rem); line-height:1.12; }
.return-copy {
  max-width:560px;
}

.return-copy p {
  margin:0 0 18px;
  color:#fff;
  font-size:1rem;
}

.return-copy p:last-child {
  margin-bottom:0;
}
.return-compass { position:absolute; width:275px; height:275px; object-fit:contain; right:-15px; bottom:-78px; opacity:.75; }

footer { border-top:1px solid var(--line); padding:18px 0 20px; }
.footer-inner { display:grid; grid-template-columns: 1.3fr .9fr .4fr auto; gap:32px; align-items:center; }
.footer-brand { display:flex; align-items:center; gap:12px; }
.footer-brand img { width:46px; height:46px; object-fit:contain; }
.footer-brand strong { font-size:1.02rem; }
footer a { color:#536070; font-size:.9rem; }
.socials { display:flex; gap:14px; }
.round-link { width:42px; height:42px; border:1px solid #d6dee5; border-radius:50%; display:grid; place-items:center; color:#111; font-weight:700; }

@media (max-width: 1000px) {
  .wrap { width:min(calc(100% - 44px), var(--max)); }
  .header-inner { min-height:90px; }
  .brand-mark { width:50px; height:50px; }
  nav { gap:24px; }
  .hero-grid { grid-template-columns: 1fr .82fr; gap:42px; }
  .location-card { min-height:400px; padding:34px 30px; }
  .product-grid { gap:46px; }
  .product-id { grid-template-columns:150px 1fr; gap:22px; }
  .product-icon { width:145px; height:145px; }
  .product-copy { padding-left:40px; }
  .return-inner { grid-template-columns: 1fr 1.2fr 150px; gap:34px; }
}

@media (max-width: 760px) {
  .wrap { width:min(calc(100% - 30px), var(--max)); }
  .site-header { position:static; background:#fff; box-shadow:none; }
  .header-inner {
    min-height:76px;
    gap:14px;
    padding:14px 0 12px;
    flex-wrap:wrap;
  }
  .brand { gap:9px; }
  .brand-mark { width:40px; height:40px; }
  .brand-word { font-size:1.75rem; }
  nav {
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    font-size:.88rem;
    border-top:1px solid var(--line);
    padding-top:10px;
  }
  nav a { text-align:center; }
  .hero { padding:30px 0 38px; }
  .hero-grid { grid-template-columns:1fr; gap:34px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .actions { gap:18px; }
  .location-card { min-height:385px; }
  .principles-grid { grid-template-columns:1fr; }
  .principle { min-height:100px; }
  .principle + .principle { border-left:0; border-top:1px solid var(--line); }
  .product-section { padding:42px 0; }
  .product-grid { grid-template-columns:1fr; gap:34px; }
  .product-id { grid-template-columns:118px 1fr; gap:20px; align-items:start; }
  .product-icon,.quodwords-icon { width:112px; height:112px; }
  .product-copy { border-left:0; border-top:1px solid var(--line); padding:30px 0 0; }
  .return-inner {
    min-height:280px;
    grid-template-columns:1fr;
    gap:20px;
    padding:42px 0 20px;
  }
  .return-compass {
    position:relative;
    width:165px;
    height:165px;
    right:auto;
    bottom:auto;
    justify-self:end;
    margin-top:-4px;
    margin-bottom:-34px;
    opacity:.58;
  }
  .footer-inner { grid-template-columns:1fr 1fr; gap:18px; }
  .socials { justify-content:flex-end; }
}

@media (max-width: 460px) {
  nav { font-size:.80rem; gap:4px; }
  .brand-word { font-size:1.62rem; }
  .return-compass { width:145px; height:145px; margin-bottom:-28px; }
  .button,.outline-button { width:100%; }
  .actions .text-link { width:100%; }
  .location-card { min-height:360px; padding:30px 24px; }
  .prompt,.spoken-code,.phonetic { font-size:1.08rem; }
  .product-id { grid-template-columns:90px minmax(0,1fr); }
  .quodwords-word { font-size:clamp(1.55rem,6.8vw,2.15rem); }
  .product-name-block { min-width:0; }
  .product-actions .text-link { overflow-wrap:anywhere; }
  .product-icon,.quodwords-icon { width:84px; height:84px; }
  .product-actions { display:grid; grid-template-columns:1fr; }
  .product-actions .button, .product-actions .outline-button { white-space:normal; }
  .small { width:100%; }
  .footer-inner { grid-template-columns:1fr; }
  .socials { justify-content:flex-start; }
}
