@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin-300italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/dm-mono-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-mono-latin-400.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F4EFE6;
  --ink:   #19180F;
  --grey:  #8C8880;
  --light: #E6E0D5;
  --orange: #D4621A;
  --orange-soft: #F0A86A;
  --plastic: #D8D3CB;
  --plastic-dark: #B8B3AB;
  --raised: #EDEAE4;
}

html { scroll-behavior: smooth; }
*, *::before, *::after { -webkit-tap-highlight-color: transparent; }
button, a, [role="button"], svg, circle, g { outline: none; -webkit-tap-highlight-color: transparent; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 5rem;
  background: rgba(244, 239, 230, 0.96);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

nav.scrolled { border-bottom-color: var(--light); }
.nav-logo {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.2rem; letter-spacing: 0.3em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
}
.nav-links {
  display: flex; gap: 1.2rem; align-items: center;
}
.nav-link {
  font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: opacity 0.2s, border-color 0.2s, color 0.2s;
}
.nav-link:hover { opacity: 0.7; border-bottom-color: rgba(140,136,128,0.4); }
.nav-cta {
  font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.6; }

/* ── Hamburger ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 300;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile overlay ── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}
.nav-mobile-link {
  font-size: 1.8rem;
  font-family: 'Cormorant Garamond', ui-serif, Georgia, serif;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-mobile-link:hover { color: var(--orange); }
.nav-mobile-cta {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ── Language switch ── */
.lang-switch{
  display:flex; gap:0.35rem; align-items:center;
  margin-left: 0.6rem;
}
.lang-btn{
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  background: transparent;
  
  color: var(--grey);
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s, color 0.2s, background 0.2s;
}
.lang-btn:hover{ opacity: 0.75; }
.lang-btn[aria-pressed="true"]{
  color: var(--ink);
  border-color: rgba(25,24,15,0.35);
  
}

/* ═══════════════════════════════════════
   INTRO — full width, centered
═══════════════════════════════════════ */
.intro {
  min-height: auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 4rem 4rem;
  border-bottom: 1px solid var(--light);
  position: relative;
}
.intro-tag {
  font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.7s 0.1s forwards;
}
.intro-h1 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.6rem, 2.5vw, 3rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.7s 0.25s forwards;
}
.intro-h1 em { font-style: italic; color: var(--orange); }
.intro-sub {
  font-size: 0.95rem; line-height: 1.9; color: var(--grey);
  max-width: 560px; margin: 0 auto 2.5rem;
  opacity: 0; animation: fadeUp 0.7s 0.4s forwards;
}
.intro-sub strong { color: var(--ink); font-weight: 400; }
.intro-pills {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  justify-content: center; margin-bottom: 3rem;
  opacity: 0; animation: fadeUp 0.7s 0.5s forwards;
}
.pill {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  background: var(--light);
  color: var(--grey);
}

.intro-btn {
  opacity: 0; animation: fadeUp 0.7s 0.6s forwards;
}
.btn {
  background: var(--ink); color: var(--cream);
  padding: 0.95rem 2.5rem;
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: background 0.3s, transform 0.2s;
   cursor: pointer;
}
.btn:hover { background: var(--orange); transform: translateY(-2px); }

/* ═══════════════════════════════════════
   DEVICE SECTION — viz + how side by side
═══════════════════════════════════════ */
.device-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: auto;
  border-bottom: 1px solid var(--light);
}

/* Left: product photo + interactive device */
.device-left {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0rem;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

/* Product photo — top half (placeholder) */
.product-photo{
  width: 100%;
  flex: 0;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border-bottom: none;
}
.photo-placeholder{
  width: min(320px, 90%);
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  
  
  
}

.product-photo-img{
  width: min(320px, 90%);
  height: auto;
  display: block;
  border-radius: 26px;
  
  
  
}

/* Interactive device — bottom half */
.device-interactive{
  width: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.35rem;
  padding: 0;
  background: transparent;
 margin-top: -22px;
}
.viz-label {
  font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey); text-align: center; min-height: 1.2em;
}
.topview-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  overflow: visible;
  filter: drop-shadow(0 14px 36px rgba(0,0,0,0.14)) drop-shadow(0 3px 8px rgba(0,0,0,0.08));
}
.topview-svg { width: 100%; height: 100%; }
.svc { transition: fill 0.28s ease; }
.svc.lit       { fill: #EDEAE4; }
.svc.orange-lit { fill: #F0A86A !important; }
#centerCirc { cursor: pointer; transition: opacity 0.15s; }
#centerCirc:hover { opacity: 0.75; }
.viz-state {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  min-height: 1.4em;
  text-align: center;
  margin-top: 0px;
  position: static;
  right: auto;
  left: auto;
  top: auto;
  bottom: auto;
  transform: none;
}

/* Right: how it works + session management */
.device-right {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem 3rem 5rem;
  gap: 0;
}

/* HOW block */
.how-block { margin-bottom: 2rem; }
.sec-tag {
  font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 1.2rem;
}
.how-block h2 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.6rem, 2.5vw, 3rem); font-weight: 300; line-height: 1.1;
  margin-bottom: 0.5rem;
}
.how-block h2 em { font-style: italic; color: var(--orange); }
.how-steps { display: flex; flex-direction: column; }
.how-step {
  display: grid; grid-template-columns: 2.5rem 1fr;
  gap: 1.2rem; padding: 1.4rem 0;
  border-bottom: 1px solid var(--light); align-items: start;
}
.how-step:first-child { border-top: 1px solid var(--light); }
.step-n {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.5rem; font-weight: 300;
  color: rgba(25,24,15,0.15); line-height: 1; padding-top: 0.1rem;
}
.step-t {
  font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.35rem; color: var(--ink);
}
.step-d { font-size: 0.95rem; line-height: 1.8; color: var(--grey); }

/* ═══════════════════════════════════════
   VERSUS
═══════════════════════════════════════ */
.versus {
  background: var(--ink); color: var(--cream);
  padding: 4rem 6rem;
}
.versus-inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start;
}
.versus-left { position: sticky; top: 8rem; }
.versus-left .sec-tag { color: rgba(240,168,106,0.8); margin-bottom: 1rem; }
.versus-left h2 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.6rem, 2.5vw, 3rem); font-weight: 300; line-height: 1.1;
  margin-bottom: 2.5rem;
}
.vs-svg {
  width: 160px; height: 160px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5));
}
.versus-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  
}
.vs-col {
  padding: 2rem 1.6rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.vs-col:last-child { border-right: none; }
.vs-col.cube-col {  border-right-color: rgba(212,98,26,0.25); }
.vs-title {
  font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.4rem; padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.vs-col.cube-col .vs-title { color: var(--orange-soft); border-bottom-color: rgba(212,98,26,0.2); }
.vs-col:not(.cube-col) .vs-title { color: #fff; }
.vs-row {
  display: flex; align-items: flex-start; gap: 0.65rem;
  margin-bottom: 1.1rem; font-size: 0.95rem; line-height: 1.7;
}
.vs-row:last-child { margin-bottom: 0; }
.vs-icon { flex-shrink: 0; margin-top: 0.15rem; font-size: 0.95rem; }
.vs-row.bad  { color: rgba(244,239,230,0.75); }
.vs-row.good { color: rgba(244,239,230,0.85); }
.vs-row.bad .vs-icon  { color: rgba(244,239,230,0.6); }
.vs-row.good .vs-icon { color: var(--orange-soft); }
.vs-source {
  font-size: 0.75rem; color: rgba(244,239,230,0.5);
  letter-spacing: 0.04em; margin-top: 0.2rem; display: block;
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about {
  padding: 8rem 6rem;
  background: var(--cream);
  border-top: 1px solid var(--light);
  border-bottom: 1px solid var(--light);
}
.about-head {
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--light);
  padding-bottom: 3rem;
}
.about-head .sec-tag { margin-bottom: 1rem; }
.about-head h2 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.6rem, 2.5vw, 3rem); font-weight: 300; line-height: 1.05;
  margin-bottom: 1.2rem;
}
.about-head h2 em { font-style: italic; color: var(--orange); }
.about-head p {
  font-size: 0.95rem; line-height: 1.9; color: var(--grey);
  max-width: 720px;
margin-bottom: 1.4rem
}
.about-body {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem; align-items: start;
}
.about-card {
  
  
  padding: 2rem 2.2rem;
}
.about-card h3 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.6rem; font-weight: 300; margin-bottom: 1rem;
}
.about-card p { font-size: 0.95rem; line-height: 1.85; color: var(--grey); }
.about-list { display: flex; flex-direction: column; }
.about-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--light);
}
.about-item:first-child { border-top: 1px solid var(--light); }
.about-k {
  font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 0.35rem;
}
.about-v {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.05rem; font-weight: 300; color: var(--ink);
  line-height: 1.3;
}

/* ═══════════════════════════════════════
   TESTER
═══════════════════════════════════════ */
.tester {
  padding: 5rem 6rem;
  background: var(--cream);
  border-top: 1px solid var(--light);
}
.tester-head {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--light);
  padding-bottom: 2rem;
}
.tester-head .sec-tag { margin-bottom: 1rem; }
.tester-head h2 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.6rem, 2.5vw, 3rem); font-weight: 300; line-height: 1.05;
  margin-bottom: 1.2rem;
}
.tester-head h2 em { font-style: italic; color: var(--orange); }
.tester-head p {
  font-size: 0.95rem; line-height: 1.9; color: var(--grey);
  max-width: 620px;
}

/* Community profiles */
.community {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem;
}
.c-tag {
  font-size: 0.95rem; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  background: var(--light); color: var(--grey);
}

/* Form area */
.tester-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
}
.tester-form-wrap h3 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.6rem; font-weight: 300; margin-bottom: 1.8rem;
}
.form-row { display: flex; gap: 0.8rem; margin-bottom: 0.8rem; }
.form-row input, .form-single input {
  width: 100%;
  background: var(--light); 
  color: var(--ink);
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  padding: 0.85rem 1.2rem;
  transition: border-color 0.2s;
}
.form-single { margin-bottom: 0.8rem; }
.form-row input:focus,
.form-single input:focus { border-color: var(--grey); }
.form-row input::placeholder,
.form-single input::placeholder { color: var(--grey); }

/* CE checkbox */
.ce-wrap {
  margin: 1.4rem 0;
  padding: 1.2rem 1.4rem;
  
  display: flex; gap: 1rem; align-items: flex-start;
}
.ce-wrap input[type="checkbox"] {
  width: 16px; height: 16px; min-width: 16px;
  margin-top: 0.15rem; cursor: pointer;
  accent-color: var(--orange);
}
.ce-wrap label {
  font-size: 0.95rem; line-height: 1.7; color: var(--grey); cursor: pointer;
}
.ce-wrap label strong { color: var(--ink); font-weight: 400; }

.tester-form-wrap button { width: 100%; margin-top: 0.4rem; }
.tester-note {
  font-size: 0.95rem; color: var(--grey); letter-spacing: 0.04em;
  margin-top: 0.8rem; text-align: center;
}

/* Tester facts */
.tester-facts-col h3 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.6rem; font-weight: 300; margin-bottom: 1.8rem;
}
.tfact {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--light);
}
.tfact:first-of-type { border-top: 1px solid var(--light); }
.tfact-key { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.tfact-val {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1rem; font-weight: 300; color: var(--ink);
}

/* ═══════════════════════════════════════
   LEGAL
═══════════════════════════════════════ */
.legal {
  padding: 4rem 6rem;
  background: var(--cream);
  border-top: 1px solid var(--light);
}
.legal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem;
  align-items: start;
}
.legal h2 {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 1.2rem;
}
.legal h2 em { font-style: italic; color: var(--orange); }
.legal h3 {
  font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
  margin: 2rem 0 0.6rem;
}
.legal p, .legal li {
  font-size: 0.95rem; line-height: 1.9; color: var(--grey);
}
.legal ul { padding-left: 1.1rem; margin-top: 0.6rem; }
.legal .box {
  
  
  padding: 2rem 2.2rem;
}
.mini {
  font-size: 0.95rem; letter-spacing: 0.04em;
  color: rgba(140,136,128,0.9);
  margin-top: 1rem;
}

/* ── FOOTER ── */
footer {
  padding: 1.6rem 5rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--light);
  font-size: 0.95rem; color: var(--grey); letter-spacing: 0.04em;
}
.footer-src { opacity: 0.38; line-height: 1.9; }
.footer-links a {
  color: var(--grey);
  text-decoration: none;
  border-bottom: 1px solid rgba(140,136,128,0.35);
  padding-bottom: 1px;
  margin-left: 0.7rem;
}
.footer-links a:hover { opacity: 0.7; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 1.2rem 1.4rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }
  .intro { padding: 8rem 2rem 5rem; }
  .device-section { grid-template-columns: 1fr; }
  .device-left { padding: 0; border-right: none; border-bottom: 1px solid var(--light); }
  .product-photo { padding: 2rem; }
  .device-interactive { padding: 2rem; }
  .device-right { padding: 4rem 2rem; }
  .versus { padding: 5rem 2rem; }
  .versus-inner { grid-template-columns: 1fr; gap: 3rem; }
  .versus-left { position: static; }
  .versus-grid { grid-template-columns: 1fr; }
  .vs-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .about { padding: 5rem 2rem; }
  .about-body { grid-template-columns: 1fr; gap: 2.5rem; }
  .tester { padding: 5rem 2rem; }
  .tester-body { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { flex-direction: column; gap: 0.6rem; }
  .legal { padding: 5rem 2rem; }
  .legal-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  footer { flex-direction: column; gap: 0.8rem; text-align: center; padding: 2rem; }
  .footer-links a { margin-left: 0.5rem; margin-right: 0.5rem; }
}
