/* nanoT site styles. Palette and type from the nanoT brandkit (measured 15 Oct 2026). */
@import url("/fonts/brand-fonts.css");

:root {
  --navy: #0b2560;
  --navy-deep: #071a46;
  --blue: #143c9e;
  --cyan: #17b6e8;
  --teal: #12938c;
  --ink: #13233b;
  --muted: #55657d;
  --line: #dfe5ee;
  --bg: #f9fafb;
  --white: #ffffff;
  --radius: 14px;
  --wrap: 1160px;
  --display: "Geomini", "Arimo", system-ui, sans-serif;
  --body: "Arimo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.just { text-align: justify; hyphens: auto; }

/* Logo: the nanoT wordmark, white "nano" and cyan "T", set in Geomini. One definition for every page. */
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo .t { color: var(--cyan); }
.logo.on-light { color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy);
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: rgba(255,255,255,.82); font-size: 15px; font-weight: 600; }
.nav a:hover, .nav a.active { color: var(--white); text-decoration: none; }
.nav .btn { padding: 9px 18px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 26px; cursor: pointer; padding: 4px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: var(--navy-deep); }
.btn-primary:hover { background: #3cc4ef; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }

/* Hero */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    radial-gradient(1100px 500px at 85% -10%, rgba(23,182,232,.22), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(18,147,140,.20), transparent 60%);
  background-size: 22px 22px, auto, auto;
  color: var(--white);
  padding: 96px 0 104px;
}
.hero .eyebrow { color: var(--cyan); }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 720px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero.sub { padding: 72px 0 76px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--ink); color: var(--white); }
section.dark p { color: rgba(255,255,255,.78); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
section.dark .section-head p { color: rgba(255,255,255,.72); }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card .just { text-align: left; hyphens: manual; }
.card .num {
  font-family: var(--display); font-weight: 800; font-size: 14px;
  color: var(--cyan); letter-spacing: .1em; margin-bottom: 12px;
}
.card ul { margin: 0 0 1.2em; padding-left: 1.1em; color: var(--muted); }
.card ul li { margin-bottom: .35em; }
.card .more { margin-top: auto; font-weight: 700; }
.offer { border-top: 4px solid var(--cyan); }
.offer:nth-child(2) { border-top-color: var(--teal); }
.offer:nth-child(3) { border-top-color: var(--blue); }

/* Feature (major offering) panels */
.feature {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 48px;
}
.feature + .feature { margin-top: 28px; }
.feature .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(23,182,232,.12); color: var(--blue); margin-bottom: 14px; }
.feature .visual {
  border-radius: 16px; min-height: 260px; padding: 28px;
  background: var(--navy);
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(135deg, var(--navy), var(--blue));
  background-size: 18px 18px, auto;
  color: var(--white); display: flex; flex-direction: column; justify-content: flex-end;
}
.feature .visual .big { font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; }
.feature .visual .big .t { color: var(--cyan); }
.feature .visual small { color: rgba(255,255,255,.75); font-size: 14px; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { padding-left: 28px; position: relative; margin-bottom: .6em; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* Product tiles */
.product {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 6px;
}
.product .pname { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--navy); letter-spacing: -0.02em; }
.product .pname .t { color: var(--cyan); }
.product p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.product .row { margin-top: auto; display: flex; gap: 14px; align-items: center; font-size: 14px; font-weight: 700; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(18,147,140,.12); color: var(--teal); align-self: flex-start; }

/* Principles strip */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.principles h4 { font-size: 1.05rem; color: var(--white); margin-bottom: .3em; }
.principles h4 span { color: var(--cyan); }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.spec th { width: 30%; color: var(--navy); font-weight: 700; background: #f4f7fb; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* CTA band */
.cta { background: var(--navy); color: var(--white); border-radius: 20px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; }
.cta p { color: rgba(255,255,255,.8); margin: 0; }

/* Coming soon */
.soon { min-height: calc(100vh - 68px - 220px); display: flex; align-items: center; }
.soon .box { max-width: 640px; }
.soon .pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(23,182,232,.14); color: var(--cyan); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 56px 0 34px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--white); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--body); }
.site-footer a { color: rgba(255,255,255,.75); display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--white); }
.site-footer .base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

@media (max-width: 960px) {
  .grid-3, .grid-4, .principles { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; padding: 32px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid-3, .grid-2, .grid-4, .principles { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 16px 24px; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .cta { padding: 34px 24px; }
  .feature { padding: 24px; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

/* ---------- 3D hero ---------- */
.hero3d { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero3d .mesh { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.stage { perspective: 1400px; height: 470px; }
.scene { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-22deg); transition: transform .25s ease-out; }
.layer { position: absolute; transform-style: preserve-3d; animation: float 9s ease-in-out infinite; }
.l1 { width: 78%; left: 0; top: 4%; transform: translateZ(-60px); }
.l2 { width: 78%; right: -4%; top: 30%; transform: translateZ(70px); animation-delay: -3s; }
.l3 { left: 6%; bottom: 0; transform: translateZ(150px); animation-delay: -6s; }
@keyframes float { 0%,100% { margin-top: 0; } 50% { margin-top: -14px; } }
.frame { background: #0e1a33; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(23,182,232,.08); }
.frame .bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: rgba(255,255,255,.06); }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.frame .bar span { margin-left: 10px; font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.chip { background: rgba(11,37,96,.82); backdrop-filter: blur(8px); border: 1px solid rgba(23,182,232,.4); border-radius: 16px; padding: 18px 22px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 40px rgba(23,182,232,.25); display: flex; flex-direction: column; gap: 6px; }
.chip .logo { font-size: 34px; }
.chip small { color: rgba(255,255,255,.75); font-size: 13px; }
.orb { position: absolute; width: 260px; height: 260px; right: 8%; top: -6%; border-radius: 50%; transform: translateZ(-160px);
  background: radial-gradient(circle at 35% 35%, rgba(23,182,232,.55), rgba(18,147,140,.18) 55%, transparent 70%); filter: blur(6px); }

/* ---------- Tilt cards and reveal ---------- */
.tilt { transform-style: preserve-3d; transition: transform .2s ease-out, box-shadow .2s ease-out; will-change: transform; }
.tilt:hover { box-shadow: 0 30px 60px -30px rgba(11,37,96,.45); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Storyboard ---------- */
.stories { background: var(--ink); color: var(--white);
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px), radial-gradient(900px 500px at 100% 0, rgba(23,182,232,.12), transparent 60%);
  background-size: 22px 22px, auto; }
.stories .section-head p { color: rgba(255,255,255,.72); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid rgba(255,255,255,.08); }
.story.flip .story-text { order: 2; }
.story-no { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.story-no span { color: rgba(255,255,255,.6); margin-left: 8px; letter-spacing: .06em; }
.story h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 22px; }
.beats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-bottom: 26px; }
.beat { border-left: 2px solid rgba(23,182,232,.5); padding-left: 14px; }
.beat b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.beat p { font-size: 15px; color: rgba(255,255,255,.75); margin: 0; }
.story-visual { perspective: 1200px; }
.story-visual > * { transform: rotateY(-14deg) rotateX(6deg); transition: transform .9s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.story.flip .story-visual > * { transform: rotateY(14deg) rotateX(6deg); }
.story.in .story-visual > * { transform: rotateY(-5deg) rotateX(2deg); }
.story.flip.in .story-visual > * { transform: rotateY(5deg) rotateX(2deg); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); }

/* Illustrated mock panels (stories 3 and 4) */
.mock { background: linear-gradient(160deg, #10224a, #0b1835); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 22px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); min-height: 340px; }
.mock-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 18px; }
.mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.mock-head em { margin-left: auto; font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.stagerow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.st { text-align: center; font-size: 13px; font-weight: 700; padding: 10px 4px; border-radius: 8px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); }
.st.on { background: rgba(23,182,232,.16); color: var(--white); }
.st.cur { background: var(--cyan); color: var(--navy-deep); }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mc { background: rgba(255,255,255,.05); border-radius: 10px; padding: 12px; }
.mc b { display: block; font-size: 14px; }
.mc span { font-size: 13px; color: rgba(255,255,255,.65); }
.mc.hl { outline: 1px solid rgba(23,182,232,.6); }
.search { background: rgba(255,255,255,.07); border-radius: 8px; padding: 10px 14px; font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.doc { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 9px; background: rgba(255,255,255,.05); margin-bottom: 8px; font-size: 14px; }
.doc b { margin-right: auto; }
.tagx { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(18,147,140,.25); color: #7fe0d9; }
.trail { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.6); border-top: 1px dashed rgba(255,255,255,.15); padding-top: 12px; }

/* ---------- Questions ---------- */
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.q { position: relative; height: 170px; border: 0; padding: 0; background: none; cursor: pointer; perspective: 1000px; font: inherit; text-align: left; }
.q .qf, .q .qb { position: absolute; inset: 0; border-radius: var(--radius); padding: 24px; backface-visibility: hidden; transition: transform .6s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; justify-content: space-between; }
.q .qf { background: var(--white); border: 1px solid var(--line); color: var(--navy); }
.q .qf b { font-family: var(--display); font-size: 1.25rem; line-height: 1.25; }
.q .qf small { color: var(--teal); font-weight: 700; font-size: 13px; }
.q .qb { background: var(--navy); color: rgba(255,255,255,.9); transform: rotateY(180deg); font-size: 15px; line-height: 1.5; justify-content: center; }
.q.on .qf { transform: rotateY(-180deg); }
.q.on .qb { transform: rotateY(0); }
.q:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: var(--radius); }

.fit { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
.fit-head, .fit-out { grid-column: 1 / -1; }
.fit-head h3 { font-size: 1.6rem; margin: 0; }
.fitq p { font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.fitq label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; cursor: pointer; font-size: 15px; transition: border-color .15s, background .15s; }
.fitq label:hover { border-color: var(--cyan); }
.fitq label:has(input:checked) { border-color: var(--blue); background: rgba(20,60,158,.06); }
.fitq input { accent-color: var(--blue); }
.fit-out { border-top: 1px solid var(--line); padding-top: 22px; }
.fit-out .muted { color: var(--muted); margin: 0; }
.fit-out .rec { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.fit-out .rec h4 { font-size: 1.3rem; margin: 0 0 .3em; color: var(--navy); }
.fit-out .rec p { color: var(--muted); margin: 0; max-width: 680px; }

@media (max-width: 960px) {
  .hero-grid, .story { grid-template-columns: 1fr; }
  .story.flip .story-text { order: 0; }
  .stage { height: 360px; }
  .qgrid, .fit { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .stage { height: 280px; }
  .beats, .qgrid, .fit { grid-template-columns: 1fr; }
  .fit { padding: 24px; }
  .story { padding: 40px 0; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .layer { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .story-visual > *, .q .qf, .q .qb, .scene, .tilt { transition: none; }
}
