/* Twinco — multimodal conversation and short-term memory */
.conversation-page {
  background:
    radial-gradient(circle at 78% 11%, rgba(56, 199, 255, 0.07), transparent 28%),
    var(--bg);
}

.conversation-hero {
  position: relative;
  min-height: min(920px, 100svh);
  display: grid;
  align-items: center;
  padding: 128px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgba(56, 199, 255, 0.12), transparent 31%),
    radial-gradient(circle at 88% 66%, rgba(154, 123, 255, 0.14), transparent 27%),
    linear-gradient(180deg, #040a14 0%, #071020 100%);
}

.conversation-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(121, 220, 255, 0.35), transparent);
}

.conversation-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: radial-gradient(rgba(91, 192, 255, 0.14) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, transparent 5%, #000 34%, transparent 94%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 5%, #000 34%, transparent 94%);
}

.conversation-hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1280px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.conversation-hero-copy { position: relative; z-index: 2; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s var(--ease);
}

.back-link:hover { color: var(--blue-2); transform: translateX(-3px); }

.conversation-hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(3.2rem, 5.7vw, 5.7rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.065em;
}

.conversation-hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #fff 0%, var(--blue-2) 42%, #7ef1d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.conversation-hero-lead {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
}

.mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.mode-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b9c8e1;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 700;
}

.mode-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
  color: var(--blue-2);
}

.mode-icon--image {
  border: 1.5px solid currentColor;
  border-radius: 4px;
}

.mode-icon--image::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.mode-icon--image::after {
  content: '';
  position: absolute;
  left: 3px;
  bottom: 3px;
  width: 9px;
  height: 5px;
  background: currentColor;
  clip-path: polygon(0 100%, 34% 26%, 55% 64%, 72% 38%, 100% 100%);
}

.mode-icon--audio::before {
  content: '';
  position: absolute;
  inset: 2px 0;
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px);
  clip-path: polygon(0 45%, 14% 45%, 14% 20%, 28% 20%, 28% 0, 42% 0, 42% 30%, 56% 30%, 56% 12%, 70% 12%, 70% 35%, 84% 35%, 84% 46%, 100% 46%, 100% 54%, 84% 54%, 84% 65%, 70% 65%, 70% 88%, 56% 88%, 56% 70%, 42% 70%, 42% 100%, 28% 100%, 28% 80%, 14% 80%, 14% 55%, 0 55%);
}

.mode-icon--location {
  width: 14px;
  height: 14px;
  margin: 0 1px 2px;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.mode-icon--location::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.mode-icon--memory::before,
.mode-icon--memory::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}

.mode-icon--memory::before { left: 0; top: 1px; }
.mode-icon--memory::after { right: 0; bottom: 1px; opacity: 0.65; }

.conversation-hero-visual {
  position: relative;
  min-width: 0;
  margin-right: -9vw;
  filter: drop-shadow(0 38px 72px rgba(0, 0, 0, 0.35));
}

.conversation-hero-visual > img {
  width: 100%;
  min-height: 520px;
  aspect-ratio: 1.6;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(121, 220, 255, 0.15);
  border-radius: 36px 0 0 36px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.continuity-badge {
  position: absolute;
  left: 7%;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(7, 18, 33, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.continuity-badge span { color: var(--muted); font-size: 0.72rem; }
.continuity-badge i { color: var(--blue); font-style: normal; }
.continuity-badge strong { font-size: 0.78rem; }

.section--inputs {
  background:
    radial-gradient(circle at 50% 25%, rgba(56, 199, 255, 0.06), transparent 38%),
    linear-gradient(180deg, #071020, #081424);
}

.section--inputs .section-heading { max-width: 850px; }

.input-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.input-card {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(17, 37, 63, 0.92), rgba(8, 18, 34, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.input-card::before {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  right: -95px;
  top: -105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 199, 255, 0.18), transparent 70%);
}

.input-card--audio::before { background: radial-gradient(circle, rgba(154, 123, 255, 0.2), transparent 70%); }
.input-card--location::before { background: radial-gradient(circle, rgba(55, 223, 177, 0.17), transparent 70%); }

.input-card-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.input-symbol {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(121, 220, 255, 0.24);
  border-radius: 18px;
  color: var(--blue-2);
  background: rgba(56, 199, 255, 0.08);
}

.input-card--audio .input-symbol { border-color: rgba(154, 123, 255, 0.3); color: #b9a6ff; background: rgba(154, 123, 255, 0.09); }
.input-card--location .input-symbol { border-color: rgba(57, 226, 179, 0.26); color: #70e5c3; background: rgba(57, 226, 179, 0.08); }
.input-symbol i { position: relative; width: 25px; height: 25px; display: block; }

.input-card--image .input-symbol i { border: 2px solid currentColor; border-radius: 6px; }
.input-card--image .input-symbol i::before { content: ''; position: absolute; left: 4px; top: 4px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.input-card--image .input-symbol i::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 9px; background: currentColor; clip-path: polygon(0 100%, 32% 18%, 56% 64%, 74% 32%, 100% 100%); }
.input-card--audio .input-symbol i { border: 2px solid currentColor; border-radius: 13px; width: 14px; height: 23px; }
.input-card--audio .input-symbol i::before { content: ''; position: absolute; left: -7px; top: 9px; width: 24px; height: 12px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 14px 14px; }
.input-card--audio .input-symbol i::after { content: ''; position: absolute; left: 5px; bottom: -7px; width: 2px; height: 7px; background: currentColor; box-shadow: -4px 6px 0 1px currentColor, 4px 6px 0 1px currentColor; }
.input-card--location .input-symbol i { width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.input-card--location .input-symbol i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); }

.input-card-head small { display: block; margin-bottom: 3px; color: var(--blue-2); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em; }
.input-card--audio .input-card-head small { color: #b9a6ff; }
.input-card--location .input-card-head small { color: #70e5c3; }
.input-card h3 { margin: 0; font-size: 1.28rem; line-height: 1.35; }
.input-card > p { position: relative; margin: 24px 0 30px; color: var(--muted); font-size: 0.9rem; }

.intent-demo,
.location-demo {
  position: relative;
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(4, 11, 21, 0.52);
}

.intent-demo span,
.location-demo span {
  padding: 10px 12px;
  border: 1px solid rgba(121, 220, 255, 0.13);
  border-radius: 11px;
  color: #d4def0;
  background: rgba(56, 199, 255, 0.055);
  font-size: 0.73rem;
  font-weight: 700;
}

.location-demo span { border-color: rgba(81, 225, 183, 0.14); background: rgba(55, 209, 169, 0.055); }

.wave-demo {
  position: relative;
  min-height: 165px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  margin-top: auto;
  padding: 24px;
  border: 1px solid rgba(154, 123, 255, 0.18);
  border-radius: 18px;
  background: radial-gradient(circle, rgba(154, 123, 255, 0.12), rgba(4, 11, 21, 0.52) 68%);
}

.wave-bars { height: 58px; display: flex; align-items: center; gap: 5px; }
.wave-bars i { width: 4px; height: 22px; border-radius: 99px; background: linear-gradient(180deg, var(--blue-2), #a88dff); box-shadow: 0 0 12px rgba(120, 170, 255, 0.35); animation: waveform 1.2s ease-in-out infinite alternate; }
.wave-bars i:nth-child(2), .wave-bars i:nth-child(8) { height: 38px; animation-delay: -0.5s; }
.wave-bars i:nth-child(3), .wave-bars i:nth-child(7) { height: 54px; animation-delay: -0.9s; }
.wave-bars i:nth-child(4), .wave-bars i:nth-child(6) { height: 32px; animation-delay: -0.2s; }
.wave-bars i:nth-child(5) { height: 48px; animation-delay: -0.7s; }
.wave-demo span { color: #b7a8f0; font-size: 0.68rem; font-weight: 700; }
@keyframes waveform { to { transform: scaleY(0.55); opacity: 0.7; } }

.availability-note { margin: 28px 0 0; color: var(--muted-2); font-size: 0.74rem; text-align: center; }

.section--memory {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 44%, rgba(154, 123, 255, 0.11), transparent 28%),
    var(--bg);
}

.memory-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(470px, 1.12fr);
  align-items: center;
  gap: clamp(50px, 8vw, 112px);
}

.memory-copy h2,
.control-copy h2,
.conversation-cta h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 3.8rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.memory-copy > p:not(.eyebrow),
.control-copy > p:not(.eyebrow),
.conversation-cta-inner > div > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.memory-points { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; }
.memory-points li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 17px 0; border-top: 1px solid var(--line); }
.memory-points li:last-child { border-bottom: 1px solid var(--line); }
.memory-points > li > span { color: var(--blue-2); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; }
.memory-points div { display: grid; gap: 3px; }
.memory-points strong { font-size: 0.9rem; }
.memory-points small { color: var(--muted); font-size: 0.76rem; }

.memory-chat {
  position: relative;
  max-width: 560px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: #dfe8ed;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.42);
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

.memory-chat::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.memory-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 19px;
  color: #142338;
  background: #fff;
  border-bottom: 1px solid #dce3ea;
}

.memory-avatar img { border-radius: 12px; }
.memory-chat-head > div:nth-child(2) { display: grid; line-height: 1.25; }
.memory-chat-head strong { font-size: 0.9rem; }
.memory-chat-head span { color: #6e7d91; font-size: 0.65rem; }
.memory-chat-head span i { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: var(--green); }
.memory-chat-head > small { margin-left: auto; padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--green); font-size: 0.56rem; font-weight: 800; }

.memory-chat-body {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 32px;
  background:
    linear-gradient(rgba(224, 235, 240, 0.94), rgba(210, 225, 232, 0.98)),
    radial-gradient(circle at 20% 20%, #fff, transparent 28%);
}

.memory-day { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: #8795a5; font-size: 0.62rem; }
.memory-day::before, .memory-day::after { content: ''; flex: 1; height: 1px; background: rgba(70, 91, 112, 0.13); }
.memory-bubble { max-width: 78%; margin-bottom: 13px; padding: 13px 16px; border-radius: 18px; color: #17263a; font-size: 0.81rem; line-height: 1.65; box-shadow: 0 7px 20px rgba(45, 69, 91, 0.08); }
.memory-bubble--user { align-self: flex-end; border-bottom-right-radius: 5px; background: #9ce889; }
.memory-bubble--assistant { align-self: flex-start; border-bottom-left-radius: 5px; background: #fff; }
.memory-bubble > span { display: block; margin-top: 6px; color: #7b8b9d; font-size: 0.58rem; }
.memory-bubble--highlight { position: relative; border: 1px solid rgba(109, 87, 205, 0.18); background: linear-gradient(135deg, #fff, #f6f2ff); }
.memory-bubble--highlight > span { color: #7155c5; font-weight: 700; }

.memory-thread { display: flex; align-items: center; gap: 8px; margin: 3px 0 15px; color: #8265d2; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.05em; text-align: center; }
.memory-thread i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(126, 95, 212, 0.34)); }
.memory-thread i:last-child { background: linear-gradient(90deg, rgba(126, 95, 212, 0.34), transparent); }

.section--flow { background: linear-gradient(180deg, #071020, #081424); }
.conversation-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.conversation-step { position: relative; min-height: 310px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(18, 38, 65, 0.72), rgba(8, 18, 33, 0.88)); }
.conversation-step:not(:last-child)::after { content: '→'; position: absolute; z-index: 2; right: -22px; top: 82px; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); background: #081424; }
.conversation-step-number { position: absolute; right: 24px; top: 22px; color: rgba(255, 255, 255, 0.12); font-size: 1.8rem; font-weight: 900; }
.conversation-step-icon { position: relative; width: 64px; height: 64px; margin-bottom: 32px; border: 1px solid rgba(121, 220, 255, 0.22); border-radius: 19px; color: var(--blue-2); background: rgba(56, 199, 255, 0.08); }
.conversation-step:nth-child(2) .conversation-step-icon { border-color: rgba(154, 123, 255, 0.28); color: #b7a5ff; background: rgba(154, 123, 255, 0.09); }
.conversation-step:nth-child(3) .conversation-step-icon { border-color: rgba(80, 224, 180, 0.25); color: #70e5c3; background: rgba(57, 226, 179, 0.08); }
.conversation-step-icon--send::before { content: ''; position: absolute; left: 18px; top: 19px; width: 27px; height: 23px; border: 2px solid currentColor; border-radius: 5px; }
.conversation-step-icon--send::after { content: ''; position: absolute; left: 25px; top: 26px; width: 12px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.conversation-step-icon--choose::before { content: ''; position: absolute; left: 17px; top: 17px; width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 8px; }
.conversation-step-icon--choose::after { content: '✓'; position: absolute; right: 11px; bottom: 8px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #10182d; background: currentColor; font-size: 0.7rem; font-weight: 900; }
.conversation-step-icon--continue::before, .conversation-step-icon--continue::after { content: ''; position: absolute; width: 28px; height: 18px; border: 2px solid currentColor; border-radius: 9px; }
.conversation-step-icon--continue::before { left: 13px; top: 15px; }
.conversation-step-icon--continue::after { right: 13px; bottom: 15px; opacity: 0.7; }
.conversation-step h3 { margin: 0; font-size: 1.3rem; }
.conversation-step p { margin: 13px 0 0; color: var(--muted); font-size: 0.87rem; }

.section--control {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 50%, rgba(56, 199, 255, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(7, 25, 38, 0.98), rgba(9, 18, 37, 0.99));
}

.control-layout { display: grid; grid-template-columns: minmax(400px, 0.9fr) minmax(0, 1.1fr); gap: clamp(52px, 8vw, 114px); align-items: center; }
.control-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.control-orbit { position: absolute; border: 1px solid rgba(121, 220, 255, 0.15); border-radius: 50%; }
.control-orbit--outer { width: 390px; height: 390px; animation: orbit 18s linear infinite; }
.control-orbit--inner { width: 270px; height: 270px; border-color: rgba(154, 123, 255, 0.21); animation: orbit 12s linear infinite reverse; }
.control-orbit::before { content: ''; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 22px rgba(56, 199, 255, 0.8); }
.control-orbit--inner::before { left: 15%; top: 85%; background: var(--violet); box-shadow: 0 0 22px rgba(154, 123, 255, 0.8); }
@keyframes orbit { to { transform: rotate(360deg); } }
.control-core { position: relative; z-index: 2; width: 175px; height: 175px; display: grid; place-items: center; align-content: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; background: radial-gradient(circle at 40% 30%, rgba(121, 220, 255, 0.24), rgba(15, 27, 59, 0.9) 65%); box-shadow: 0 0 70px rgba(66, 147, 232, 0.2), inset 0 0 34px rgba(255, 255, 255, 0.05); }
.control-core > span { width: 28px; height: 28px; margin-bottom: 12px; background: linear-gradient(135deg, #fff, #73e2ff 45%, #a38aff); clip-path: polygon(50% 0, 64% 35%, 100% 50%, 64% 65%, 50% 100%, 36% 65%, 0 50%, 36% 35%); filter: drop-shadow(0 0 11px rgba(113, 218, 255, 0.72)); }
.control-core strong { font-size: 0.9rem; }
.control-core small { margin-top: 3px; color: var(--muted); font-size: 0.62rem; }
.control-chip { position: absolute; z-index: 3; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: #c8d5e9; background: rgba(9, 21, 39, 0.9); box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24); font-size: 0.7rem; font-weight: 700; backdrop-filter: blur(12px); }
.control-chip--cache { left: 3%; top: 22%; }
.control-chip--reset { right: 2%; top: 28%; }
.control-chip--photo { left: 13%; bottom: 16%; }
.control-list { display: grid; gap: 13px; margin-top: 30px; }
.control-list > div { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.025); }
.control-list > div > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #6ce19f; background: rgba(6, 199, 85, 0.1); font-weight: 800; }
.control-list p { display: grid; gap: 3px; margin: 0; }
.control-list strong { font-size: 0.88rem; }
.control-list small { color: var(--muted); font-size: 0.73rem; }

.conversation-cta { position: relative; overflow: hidden; }
.conversation-cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 65%, rgba(56, 199, 255, 0.19), transparent 35%), radial-gradient(circle at 72% 28%, rgba(154, 123, 255, 0.15), transparent 30%); }
.conversation-cta-inner { position: relative; width: min(calc(100% - 40px), var(--content)); margin: auto; display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; padding: clamp(42px, 6vw, 76px); border: 1px solid var(--line-strong); border-radius: 32px; background: rgba(12, 27, 48, 0.82); box-shadow: var(--shadow); }
.conversation-cta-inner > div:first-child { max-width: 720px; }
.conversation-qr { display: grid; gap: 10px; justify-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, 0.04); }
.conversation-qr img { width: 140px; height: 140px; padding: 8px; border-radius: 13px; background: #fff; }
.conversation-qr span { color: var(--muted); font-size: 0.68rem; }

@media (max-width: 1180px) {
  .conversation-hero-inner { grid-template-columns: minmax(390px, 0.85fr) minmax(500px, 1.15fr); }
  .conversation-hero-visual { margin-right: -14vw; }
}

@media (max-width: 980px) {
  .conversation-hero { min-height: auto; padding-bottom: 110px; }
  .conversation-hero-inner { grid-template-columns: 1fr; }
  .conversation-hero-copy { max-width: 750px; }
  .conversation-hero-visual { margin: 22px -20px 0 9vw; }
  .conversation-hero-visual > img { min-height: 440px; border-radius: 32px 0 0 32px; }
  .input-grid { grid-template-columns: 1fr; }
  .input-card { min-height: auto; }
  .input-card > p { max-width: 680px; }
  .intent-demo, .location-demo { grid-template-columns: repeat(3, 1fr); }
  .wave-demo { min-height: 145px; }
  .memory-layout, .control-layout { grid-template-columns: 1fr; }
  .memory-chat { width: min(100%, 600px); margin: 0 auto; transform: none; }
  .control-visual { order: 2; }
  .control-copy { order: 1; }
}

@media (max-width: 820px) {
  .conversation-hero { padding-top: 104px; }
  .back-link { margin-bottom: 30px; }
  .conversation-steps { grid-template-columns: 1fr; }
  .conversation-step { min-height: 240px; }
  .conversation-step:not(:last-child)::after { content: '↓'; left: 50%; right: auto; top: auto; bottom: -22px; transform: translateX(-50%); }
  .conversation-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .conversation-qr { grid-template-columns: 116px 1fr; align-items: center; justify-self: start; }
  .conversation-qr img { width: 116px; height: 116px; }
}

@media (max-width: 620px) {
  .conversation-hero-inner, .conversation-cta-inner { width: min(calc(100% - 28px), var(--content)); }
  .conversation-hero { padding: 96px 0 78px; }
  .conversation-hero h1 { font-size: clamp(2.45rem, 11.5vw, 3.45rem); }
  .conversation-hero-lead { font-size: 1rem; }
  .mode-pills { display: grid; grid-template-columns: 1fr 1fr; }
  .mode-pills li { justify-content: center; }
  .conversation-hero-visual { margin: 22px -14px 0 0; }
  .conversation-hero-visual > img { min-height: 340px; aspect-ratio: 1.1; object-position: 65% center; border-radius: 26px 0 0 26px; }
  .continuity-badge { left: 14px; right: 14px; bottom: -26px; justify-content: center; }
  .input-card { padding: 24px; border-radius: 21px; }
  .input-card-head { align-items: flex-start; }
  .input-symbol { width: 52px; height: 52px; border-radius: 16px; }
  .intent-demo, .location-demo { grid-template-columns: 1fr; }
  .memory-chat { margin-inline: -2px; border-radius: 22px; }
  .memory-chat-body { min-height: 460px; padding: 24px 16px; }
  .memory-bubble { max-width: 88%; }
  .control-visual { min-height: 390px; margin-inline: -20px; transform: scale(0.88); }
  .control-chip--cache { left: 1%; }
  .control-chip--reset { right: 0; }
  .control-chip--photo { left: 8%; }
  .conversation-cta-inner { padding: 30px 22px; border-radius: 24px; }
  .conversation-qr { grid-template-columns: 90px 1fr; width: 100%; }
  .conversation-qr img { width: 90px; height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .wave-bars i, .control-orbit { animation: none; }
}
