/* Norma website: one system for every page. Greyscale, with neon lime only on buttons and selected controls. */

:root {
  --bg: #EDEDED;
  --paper: #F6F6F6;
  --white: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #3D3D3D;
  --grey: #8C8C8C;
  --line: #D4D4D4;
  --black: #0A0A0A;
  --on-black: #F2F2F2;
  --on-black-2: #8E8E8E;
  --line-black: #262626;
  --lime: #C8F542;
  --lime-hover: #B6E62F;

  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1320px;
  --edge: clamp(16px, 3vw, 40px);
  --gap: 6px;
  --col-gap: 24px;
  --space: clamp(96px, 11vw, 176px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; left: var(--edge); top: 10px; z-index: 40; padding: 12px 18px; background: var(--white); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Layout */
.wrap { max-width: calc(var(--wrap) + 2 * var(--edge)); margin: 0 auto; padding: 0 var(--edge); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
main > section { padding: var(--space) 0; }
.black { background: var(--black); color: var(--on-black); }

/* Type */
.display { font-weight: 300; font-size: clamp(44px, 6vw, 96px); line-height: .96; letter-spacing: -0.045em; text-wrap: balance; }
.display .grey, .h2 .grey { color: var(--grey); }
.black .display .grey, .black .h2 .grey { color: var(--on-black-2); }
.h2 { font-weight: 300; font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.h3 { font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.03em; }
.bold { font-weight: 600; letter-spacing: -0.045em; line-height: .88; }
.small { font-size: 13px; line-height: 1.5; }
.logo { display: block; height: 20px; width: auto; filter: brightness(0); }
.hero-frame .logo { filter: brightness(0) invert(1); }
.grey { color: var(--grey); }
.black .grey { color: var(--on-black-2); }
.body { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 30em; }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--grey); }
.black .body { color: var(--on-black-2); }
.prose { max-width: 40em; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose h2 { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); margin: 2.2em 0 0.6em; }
.prose ul { margin-top: 0.6em; }
.prose li { padding-left: 1.1em; position: relative; }
.prose li + li { margin-top: 0.4em; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 6px; height: 1px; background: var(--grey); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Controls */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; transition: background-color .35s var(--ease), color .35s var(--ease); }
.btn:hover { background: var(--lime-hover); }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-underline-offset .35s var(--ease); }
.link:hover { text-underline-offset: 8px; }

/* Nav: small, set in lowercase, sits on whatever is under it */
.nav { position: relative; z-index: 5; }
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 28px; }
.mark { margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; opacity: .75; transition: opacity .3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-links .try { opacity: 1; padding: 0 18px; min-height: 40px; background: var(--lime); color: var(--ink); font-weight: 500; transition: background-color .35s var(--ease); }
.nav-links .try:hover { background: var(--lime-hover); }
.menu-btn { display: none; min-height: 44px; font-size: 13px; }
.on-black { color: var(--on-black); }

/* Hero: a black field of moving light, the name on a light bar inside it */
.hero { padding: 0; }
.hero-frame { position: relative; min-height: 100svh; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; background: #0A0A0A; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
.hero-frame .nav { color: var(--on-black); }
.hero-stage { flex: 1; min-height: 300px; }
.hero-bar { position: relative; z-index: 2; margin: 0 10px 10px; background: var(--paper); color: var(--ink); padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 40px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; }
.hero-bar h1 { grid-column: 1 / span 8; font-weight: 500; font-size: clamp(42px, 6vw, 96px); line-height: .96; letter-spacing: -0.045em; text-wrap: balance; }
.hero-bar .intro { grid-column: 9 / span 4; align-self: start; padding-top: 10px; }
.hero-bar .intro .body { color: var(--ink-2); }
.hero-bar .intro .actions { margin-top: 22px; }
.hero-bar .note { margin-top: 14px; font-size: 13px; color: var(--grey); }

/* Reveal once, as a block comes into view (only when the script runs) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.hero-bar > * { animation: rise 1.3s var(--ease) both; }
.hero-bar > :nth-child(2) { animation-delay: .1s; }
.hero-bar > :nth-child(3) { animation-delay: .2s; }

/* Photographs: always greyscale, a slow zoom on hover */
.ph { position: relative; overflow: hidden; margin: 0; background: #D6D6D6; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: transform 1.6s var(--ease); }
.ph:hover img { transform: scale(1.03); }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 11vw, 160px); gap: var(--gap); }
.m-a { grid-column: 1 / 5; grid-row: 1 / 5; }
.m-b { grid-column: 5 / 13; grid-row: 1 / 3; }
.m-d { grid-column: 5 / 9; grid-row: 3 / 5; }
.m-e { grid-column: 9 / 13; grid-row: 3 / 5; }

/* Features: a two-line head over three rounded photographs */
.feat-head { margin-bottom: clamp(48px, 6vw, 80px); }
.feat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.feat-row .tile { aspect-ratio: 4 / 5; border-radius: 10px; }
.feat-row h3 { margin-top: 18px; }
.feat-row p { margin-top: 4px; font-size: 15px; color: var(--grey); }

/* Split: words on white, the product floating on black */
.split-block { display: grid; grid-template-columns: 1fr 1fr; min-height: min(92svh, 860px); background: var(--white); }
.split-words { padding: clamp(48px, 7vw, 112px) clamp(20px, 5vw, 80px) clamp(48px, 7vw, 112px) max(var(--edge), calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.split-words .h2 { max-width: 9em; }
.split-words { justify-content: center; }
.split-words .body { margin-top: 24px; }
.split-words .actions { margin-top: 32px; }
.split-dark { position: relative; background: var(--black); overflow: hidden; display: grid; place-items: center; padding: 64px 24px; }
.split-dark .phone { transform: rotate(-7deg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 80px 120px -40px rgba(0,0,0,.9); }

/* Index rows */
.index { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.row .h3 { grid-column: 1 / span 4; }
.row .who { grid-column: 5 / span 3; font-size: 14px; color: var(--grey); }
.row .count { grid-column: 11 / span 2; justify-self: end; color: var(--grey); }
a.row:hover { padding-left: 12px; }
.ask { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.ask p { font-size: 15px; color: var(--ink-2); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.plan { background: var(--paper); padding: clamp(24px, 2.6vw, 36px); min-height: 340px; display: flex; flex-direction: column; }
.plan.dark { background: var(--black); color: var(--on-black); }
.plan .name { margin-top: auto; padding-top: 64px; font-weight: 600; font-size: clamp(56px, 5.4vw, 88px); line-height: .88; letter-spacing: -0.045em; }
.plan p { margin-top: 18px; font-size: 15px; color: var(--ink-2); max-width: 22em; }
.plan.dark p, .plan.dark .grey { color: var(--on-black-2); }
.terms { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.terms p { font-size: 14px; color: var(--grey); }

/* Privacy */
.privacy-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 24px; align-items: end; }
.privacy-row::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--ink); margin-bottom: 4px; }
.privacy-row .h2 { grid-column: 1 / span 6; }
.privacy-row .lede { grid-column: 7 / span 6; }
.privacy-row .lede { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); max-width: 22em; }

/* Close: the hero's frame again, ending the page */
.end { padding: 0; }
.end-frame { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 88svh; background: #0A0A0A; color: var(--on-black); }
.end-top { flex: 1; padding: clamp(56px, 7vw, 112px) 0; }
.end-top .actions { margin-top: 40px; }
.end-bar { margin: 0 10px 10px; background: var(--paper); color: var(--ink); padding: 28px clamp(20px, 3vw, 40px) 20px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; }
.end-bar .foot-logo { grid-column: 1 / span 6; align-self: start; display: inline-block; }
.end-bar .foot-logo .logo { height: clamp(28px, 3.6vw, 52px); }
.end-bar nav { grid-column: span 2; display: flex; flex-direction: column; }
.end-bar nav:first-of-type { grid-column: 7 / span 2; }
.end-bar nav .small { margin-bottom: 8px; }
.end-bar nav a { font-size: 14px; display: flex; align-items: center; min-height: 34px; opacity: .8; transition: opacity .3s; }
.end-bar nav a:hover { opacity: 1; }
.end-bar .foot-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Inner pages */
.page-head { padding: clamp(72px, 9vw, 136px) 0 clamp(48px, 6vw, 88px); }
.page-head .body, .page-head .lede { margin-top: 28px; font-size: 17px; }
.filter { display: flex; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 18px; background: var(--paper); font-size: 13px; color: var(--ink-2); transition: background-color .3s, color .3s; }
.chip:hover { color: var(--ink); background: var(--white); }
.chip[aria-pressed="true"] { background: var(--lime); color: var(--ink); font-weight: 500; }
.bundle { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; padding: 56px 0; border-top: 1px solid var(--line); }
.bundle:first-of-type { border-top-color: var(--ink); }
.bundle[hidden] { display: none; }
.bundle-intro { grid-column: 1 / span 4; }
.bundle-intro .label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--grey); }
.bundle-intro .h3 { font-size: clamp(34px, 3.4vw, 52px); font-weight: 300; letter-spacing: -0.045em; }
.bundle-intro p { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 22em; }
.bundle-intro .link { margin-top: 16px; }
.bundle-reports { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 22px; align-content: start; }
.bundle-reports li strong { display: block; font-weight: 500; font-size: 15px; letter-spacing: -0.015em; }
.bundle-reports li span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--grey); }
.beliefs { border-top: 1px solid var(--ink); }
.belief { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.belief dt { grid-column: 1 / span 5; }
.belief dd { grid-column: 7 / span 6; font-size: 16px; color: var(--ink-2); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.person { background: var(--paper); padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.person .h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 300; letter-spacing: -0.04em; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 32px; }
.split > :first-child { grid-column: 1 / span 6; }
.split > :last-child { grid-column: 7 / span 6; }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.sec-head .body { max-width: 24em; }

/* ---------- The phone: the app's real report, shot in greyscale ---------- */
.phone {
  --app-bg: #F8F9FB; --app-ink: #15151A; --app-grey: #9A9AA2; --app-violet: #8B5CF6; --app-violet-soft: #D8CCFB;
  --app-green: #1F9D3A; --app-amber: #F2A900; --app-red: #D32F2F;
  width: 340px; height: 700px; flex: none; padding: 10px; border-radius: 54px;
  background: linear-gradient(150deg, #3C3C3C 0%, #121212 22%, #0B0B0B 70%, #2A2A2A 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 70px 90px -50px rgba(0,0,0,.6), 0 30px 50px -30px rgba(0,0,0,.45);
}
.screen {
  height: 100%; border-radius: 44px; overflow: hidden; background: var(--app-bg); color: var(--app-ink);
  font-family: "Inter", system-ui, sans-serif; letter-spacing: 0; position: relative; text-align: left; filter: grayscale(1) contrast(1.04);
}
.screen::after { content: ""; position: absolute; inset: auto 0 0; height: 64px; background: linear-gradient(transparent, var(--app-bg)); }
.screen[hidden] { display: none; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px 0; font-size: 12px; font-weight: 600; }
.app-top { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; padding: 14px 18px 0; font: 600 12.5px/1 "Outfit", sans-serif; text-align: center; }
.app-x { font: 300 20px/1 "Outfit", sans-serif; text-align: left; }
.app-tabs { display: flex; justify-content: flex-end; gap: 14px; padding: 28px 18px 0; font: 700 15px/1 "Outfit", sans-serif; letter-spacing: -0.01em; }
.app-tabs span:last-child { font-weight: 300; }
.app-body { padding: 26px 18px 0; }
.app-sum { font: 300 13px/1.3 "Outfit", sans-serif; color: var(--app-grey); }
.app-ch { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; font: 400 14px/1 "Outfit", sans-serif; letter-spacing: 0.01em; text-transform: uppercase; }
.app-ch b { font-weight: 400; font-size: 10.5px; color: var(--app-violet); }
.app-ch i { margin-left: auto; font-style: normal; }
.app-verdict { margin-top: 12px; font: 300 25px/1.05 "Outfit", sans-serif; text-transform: uppercase; letter-spacing: -0.01em; }
.app-verdict span { display: block; color: var(--app-grey); }
.app-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; margin-top: 14px; }
.app-figs strong { display: block; font: 300 22px/1.1 "Outfit", sans-serif; letter-spacing: -0.01em; white-space: nowrap; }
.app-figs small { display: block; margin-top: 3px; font-size: 9px; color: #55555C; }
.phone .good { color: var(--app-green); } .phone .warn { color: var(--app-amber); } .phone .bad { color: var(--app-red); }
.app-do { margin-top: 6px; }
.app-do li { padding: 12px 0 4px; }
.app-do .t { display: flex; justify-content: space-between; align-items: baseline; font: 300 17px/1.2 "Outfit", sans-serif; }
.app-do .t em { font: 700 9.5px/1 "Inter", sans-serif; font-style: normal; letter-spacing: 0.02em; }
.app-do .d { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 10px; color: #55555C; }
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--app-amber); }
.dot.bad { background: var(--app-red); } .dot.good { background: var(--app-green); }
.app-bars { display: grid; gap: 10px; margin-top: 14px; }
.app-bars div { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 10px; font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; color: #55555C; }
.app-bars div::after { content: ""; grid-column: 1 / -1; height: 2px; width: var(--w); background: var(--app-violet-soft); }
.app-bars div.on::after { background: var(--app-violet); }
.app-bars b { font: 300 15px/1 "Outfit", sans-serif; color: var(--app-ink); text-transform: none; letter-spacing: 0; }
.app-bars div.on b { color: var(--app-violet); }
.app-note { margin-top: 10px; font-size: 11px; line-height: 1.45; color: #55555C; }
.app-field { display: grid; gap: 4px; padding: 14px 0 10px; border-bottom: 1px solid #DADAE0; }
.app-field small { font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: #707078; }
.app-field span { font: 300 20px/1.1 "Outfit", sans-serif; }
.app-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.app-chips span { padding: 6px 11px; border: 1px solid #D5D5DC; border-radius: 999px; font-size: 10.5px; }
.app-chips span.on { background: var(--app-ink); border-color: var(--app-ink); color: #fff; }
.app-save { margin-top: 20px; display: grid; place-items: center; height: 40px; border-radius: 999px; background: var(--app-ink); color: #fff; font: 600 11px/1 "Inter", sans-serif; letter-spacing: 0.06em; }
.app-whatif { margin-top: 16px; padding-top: 12px; border-top: 1px solid #DADAE0; }
.app-whatif .row2 { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; font: 300 15px/1.2 "Outfit", sans-serif; }

/* ---------- Narrow screens ---------- */
@media (max-width: 1100px) {
  .hero-bar h1 { grid-column: 1 / -1; }
  .hero-bar .intro { grid-column: 1 / span 8; padding-top: 0; }
}
@media (max-width: 860px) {
  .hero-stage { min-height: 420px; }
  .hero-stage .phone { right: auto; left: 50%; top: 32px; transform: translateX(-50%) scale(.78); transform-origin: 50% 0; animation: none; }
  .hero-bar .intro { grid-row: 2; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; grid-auto-flow: dense; }
  .mosaic > .ph { grid-column: auto; grid-row: span 2; }
  .mosaic > .m-a { grid-row: span 3; }
  .mosaic > .m-b { grid-column: 1 / -1; }
  .feat-row { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .feat-row .tile { aspect-ratio: 16 / 11; }
  .privacy-row > * { grid-column: 1 / -1 !important; }
  .split-dark .phone { width: 300px; height: 618px; }
  .plan { min-height: 230px; }
  .plan h3 { padding-top: 40px; }
  .split-block { grid-template-columns: minmax(0, 1fr); }
  .split-dark { min-height: 0; padding: 56px 16px; }
  .row { row-gap: 4px; }
  .plans, .facts-row, .people { grid-template-columns: minmax(0, 1fr); }
  .facts-row > div + div { margin-top: 22px; border-top: 1px solid var(--line); }
  .bundle-reports { grid-template-columns: minmax(0, 1fr); }
  .end-bar nav, .end-bar nav:first-of-type { grid-column: 1 / -1; }

  .menu-btn { display: inline-flex; align-items: center; }
  .nav-links { display: none; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0; position: fixed; inset: 0; z-index: 30; background: var(--paper); color: var(--ink); padding: 96px var(--edge) 40px; font-size: 40px; font-weight: 300; letter-spacing: -0.04em; }
  .nav.open .nav-links a { opacity: 1; min-height: 64px; }
  .nav.open .nav-links .try { margin-top: 24px; font-size: 15px; padding: 0 20px; min-height: 52px; letter-spacing: 0; }
  .nav.open .menu-btn { position: relative; z-index: 31; color: var(--ink); }
}
@media (max-width: 860px) {
}
@media (max-width: 480px) {
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
