/* MIRA premium light design */

:root {
  color-scheme: light;
  --bg: #fbfaff;
  --bg-soft: #f5f1ff;
  --panel: #ffffff;
  --panel-2: #f0eaff;
  --text: #211a36;
  --muted: #716b80;
  --line: rgba(67, 48, 105, 0.12);
  --purple: #7953e8;
  --purple-strong: #6338d1;
  --purple-soft: #8f6bf0;
  --lavender: #eadfff;
  --lavender-soft: #f7f3ff;
  --mint: #43bd8a;
  --amber: #b66b16;
  --danger: #bd4f5f;
  --shadow:
    0 36px 90px rgba(79, 53, 135, 0.13),
    0 12px 32px rgba(67, 47, 104, 0.08);
}

html {
  background: var(--bg);
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 5% 4%, rgba(220, 205, 255, 0.82), transparent 28rem),
    radial-gradient(circle at 94% 18%, rgba(229, 219, 255, 0.78), transparent 30rem),
    linear-gradient(180deg, #fdfcff 0%, #ffffff 36%, #faf8ff 100%);
  color: var(--text);
}

::selection {
  background: #ddd0ff;
  color: #2b174e;
}

.draft-ribbon {
  min-height: 27px;
  background: #eee8ff;
  border-bottom-color: rgba(99, 56, 209, 0.1);
  color: #60489c;
}

.legal-draft {
  background: #fff3d8;
  border-bottom-color: #efdba9;
  color: #805817;
}

.site-header,
.legal-v2-header {
  position: relative;
  z-index: 20;
  min-height: 84px;
  border-bottom-color: rgba(67, 48, 105, 0.1);
}

.site-header {
  margin-top: 10px;
  padding: 0 18px;
  border: 1px solid rgba(76, 52, 121, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(72, 48, 121, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-brand img {
  border: 1px solid rgba(35, 28, 47, 0.08);
  box-shadow: 0 8px 22px rgba(66, 43, 112, 0.12);
}

.site-brand b {
  color: var(--text);
}

.site-brand small {
  color: #827b90;
}

.site-nav a {
  color: #706a7e;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: #f0eaff;
  color: #5530bc;
}

.lang-toggle {
  border-color: rgba(71, 47, 113, 0.14);
  background: #fff;
  color: #463a58;
  box-shadow: 0 8px 20px rgba(63, 43, 98, 0.05);
}

.button {
  border-color: rgba(98, 54, 203, 0.16);
  background: linear-gradient(135deg, #8765ed, #6639d5);
  box-shadow:
    0 14px 30px rgba(105, 61, 213, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button:hover {
  box-shadow:
    0 18px 38px rgba(105, 61, 213, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.button-mint {
  background: linear-gradient(135deg, #58cfa0, #2da979);
  box-shadow: 0 14px 32px rgba(45, 169, 121, 0.18);
}

.eyebrow {
  color: #7654ce;
}

.hub-hero,
.web-hero {
  min-height: 740px;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(44px, 7vw, 92px);
  padding: 92px 0 104px;
}

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

.hero-copy h1,
.web-hero .hero-copy h1 {
  max-width: 720px;
  color: #241a38;
  font-size: clamp(3.25rem, 5.25vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy h1 em {
  color: #7953e8;
  font-family: inherit;
  font-style: normal;
  font-weight: 760;
}

.web-hero .hero-copy h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero-lead {
  color: #615b6e;
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
}

.text-link {
  color: #6340bd;
}

.hero-points > span {
  border-color: rgba(86, 57, 140, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 9px 24px rgba(71, 47, 110, 0.06);
  color: #554d64;
}

.microcopy,
.separate-note,
.pricing-note {
  color: #7b7587;
}

/* Hero product scene */

.assistant-scene {
  position: relative;
  min-height: 630px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.scene-glow {
  position: absolute;
  z-index: -1;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 42%, rgba(255, 255, 255, 0.98) 0 12%, rgba(219, 204, 255, 0.86) 42%, rgba(235, 228, 255, 0.42) 64%, transparent 72%);
  filter: blur(2px);
}

.assistant-card {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  padding: 18px;
  border: 1px solid rgba(89, 61, 142, 0.12);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 42px 100px rgba(75, 48, 133, 0.18),
    0 15px 40px rgba(68, 45, 111, 0.08),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: rotate(1.2deg);
}

.assistant-card-head {
  min-height: 54px;
  padding: 0 5px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.assistant-spark,
.assistant-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(145deg, #8a66ec, #6a3bd8);
  box-shadow: 0 10px 24px rgba(105, 60, 215, 0.2);
  color: #fff;
}

.assistant-spark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 1.05rem;
}

.assistant-identity {
  display: grid;
  line-height: 1.15;
}

.assistant-identity b {
  color: #251b37;
  font-size: 0.92rem;
}

.assistant-identity small {
  margin-top: 4px;
  color: #847d90;
  font-size: 0.68rem;
}

.assistant-online {
  margin-left: auto;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #ebfaf3;
  color: #27845f;
  font-size: 0.64rem;
  font-weight: 800;
}

.assistant-online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35b781;
  box-shadow: 0 0 0 4px rgba(53, 183, 129, 0.13);
}

.meal-analysis {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #eee8fb;
}

.meal-analysis > img {
  width: 100%;
  height: 238px;
  display: block;
  object-fit: cover;
}

.meal-analysis::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 46%;
  background: linear-gradient(180deg, rgba(29, 22, 43, 0.08), transparent);
  pointer-events: none;
}

.analysis-ready {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 9px 22px rgba(31, 27, 39, 0.11);
  color: #3c7d60;
  font-size: 0.68rem;
  font-weight: 850;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.analysis-summary {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(37, 28, 48, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.analysis-summary > span {
  display: grid;
  gap: 2px;
}

.analysis-summary > span + span {
  padding-left: 10px;
  border-left: 1px solid rgba(58, 44, 82, 0.1);
}

.analysis-summary small {
  color: #867f90;
  font-size: 0.56rem;
  font-weight: 700;
}

.analysis-summary b {
  color: #281f38;
  font-size: 0.78rem;
}

.assistant-answer {
  margin-top: 13px;
  padding: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #e7ddff;
  border-radius: 20px;
  background: linear-gradient(145deg, #f4efff, #fbf9ff);
}

.assistant-avatar {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 0.7rem;
}

.assistant-answer p {
  margin: 0;
  display: grid;
  gap: 4px;
  color: #655e70;
  font-size: 0.7rem;
  line-height: 1.42;
}

.assistant-answer b {
  color: #5131a9;
  font-size: 0.74rem;
}

.assistant-compose {
  margin-top: 12px;
  padding: 7px 8px 7px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(71, 51, 104, 0.11);
  border-radius: 17px;
  background: #fff;
  color: #958e9f;
  font-size: 0.68rem;
}

.assistant-compose > span {
  margin-right: auto;
}

.assistant-compose button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 11px;
  background: #7550e2;
  color: #fff;
}

.scene-float {
  position: absolute;
  z-index: 4;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(76, 52, 120, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 45px rgba(68, 44, 111, 0.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.scene-float > span:nth-child(2) {
  display: grid;
  line-height: 1.2;
}

.scene-float small {
  color: #8a8295;
  font-size: 0.54rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.scene-float b {
  margin-top: 3px;
  color: #30253f;
  font-size: 0.72rem;
}

.scene-voice {
  top: 18%;
  left: -5%;
  transform: rotate(-2deg);
}

.scene-goal {
  right: -3%;
  bottom: 17%;
  transform: rotate(2deg);
}

.voice-icon,
.goal-check {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.voice-icon {
  background: #efe7ff;
}

.goal-check {
  background: #e7f8f0;
  color: #269166;
  font-weight: 900;
}

.voice-wave {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.voice-wave u {
  width: 2px;
  height: 8px;
  border-radius: 999px;
  background: #8661e9;
}

.voice-wave u:nth-child(2),
.voice-wave u:nth-child(4) {
  height: 16px;
}

.voice-wave u:nth-child(3) {
  height: 21px;
}

/* Product sections */

.choice-section {
  padding: 120px 0 92px;
}

.section-heading h2,
.smart-section h2,
.final-cta h2 {
  color: #251c36;
}

.section-heading > p:last-child,
.smart-section .section-heading > p:last-child {
  color: #6f687c;
}

.product-grid {
  gap: 24px;
}

.product-card {
  min-height: 530px;
  border-color: rgba(86, 58, 139, 0.11);
  background:
    radial-gradient(circle at 90% 0%, rgba(223, 209, 255, 0.72), transparent 19rem),
    #fff;
  box-shadow: 0 25px 70px rgba(74, 49, 120, 0.1);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(74, 49, 120, 0.14);
}

.product-telegram {
  background:
    radial-gradient(circle at 90% 0%, rgba(204, 244, 228, 0.78), transparent 19rem),
    #fff;
}

.product-tag {
  border-color: rgba(83, 55, 135, 0.11);
  background: rgba(255, 255, 255, 0.78);
  color: #766c84;
}

.product-icon {
  background: #eee6ff;
  color: #6c43d4;
}

.product-telegram .product-icon {
  background: #e5f8f0;
  color: #22916a;
}

.product-card h3 {
  color: #251c36;
}

.product-card > p,
.product-card li {
  color: #696272;
}

.trust-strip {
  margin-bottom: 104px;
  border-color: rgba(81, 55, 128, 0.1);
  background: #fff;
  box-shadow: 0 20px 60px rgba(72, 47, 115, 0.07);
}

.trust-strip > div {
  border-color: rgba(81, 55, 128, 0.1);
}

.trust-strip b {
  color: #6941d1;
}

.trust-strip span {
  color: #766f82;
}

/* Web product scene */

.web-proof-scene {
  position: relative;
  min-height: 650px;
  isolation: isolate;
}

.web-proof-glow {
  position: absolute;
  inset: 38px -30px 24px 40px;
  z-index: -2;
  border-radius: 46%;
  background:
    radial-gradient(circle at 56% 42%, rgba(255, 255, 255, 0.98) 0 13%, rgba(214, 198, 255, 0.88) 41%, rgba(237, 230, 255, 0.48) 63%, transparent 73%);
  filter: blur(2px);
}

.web-proof-device {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(56, 39, 91, 0.14);
  background: #f7f4fd;
  box-shadow:
    0 40px 90px rgba(67, 44, 108, 0.2),
    0 12px 32px rgba(67, 44, 108, 0.1),
    inset 0 0 0 7px #fff;
}

.web-proof-device img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.web-proof-main {
  top: 8px;
  right: 7%;
  width: min(63%, 356px);
  height: 636px;
  z-index: 2;
  border-radius: 38px;
  transform: rotate(1.5deg);
}

.web-proof-photo {
  top: 132px;
  left: -2%;
  width: min(43%, 242px);
  height: 442px;
  z-index: 4;
  border-radius: 30px;
  transform: rotate(-4deg);
}

.web-proof-photo figcaption {
  position: absolute;
  inset: auto 12px 13px;
  padding: 10px 12px;
  border: 1px solid rgba(102, 64, 194, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(74, 49, 121, 0.14);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  color: #5e3ac0;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.web-proof-badge {
  position: absolute;
  z-index: 6;
  top: 54px;
  left: 1%;
  padding: 11px 14px 11px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(73, 49, 116, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(74, 49, 119, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.web-proof-badge > i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: #e9fbf3;
  color: #2ca777;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 900;
}

.web-proof-badge > span {
  display: grid;
  gap: 3px;
}

.web-proof-badge b {
  color: #5f3bbb;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.web-proof-badge small {
  color: #7a7286;
  font-size: 0.62rem;
}

.phone-scene::before {
  width: 570px;
  height: 570px;
  background: radial-gradient(circle, rgba(215, 199, 255, 0.86), rgba(239, 233, 255, 0.35) 56%, transparent 70%);
}

.phone {
  border-color: #2b2633;
  background: #fbfaff;
  box-shadow:
    0 42px 90px rgba(67, 44, 108, 0.2),
    0 12px 32px rgba(67, 44, 108, 0.09),
    inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  transform: rotate(1.4deg);
}

.mira-message {
  background: #eee7ff;
}

.core-three {
  gap: 16px;
  border: 0;
}

.core-three article {
  min-height: 390px;
  border: 1px solid rgba(81, 54, 131, 0.1);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(69, 46, 106, 0.07);
}

.core-three article:last-child {
  border-right: 1px solid rgba(81, 54, 131, 0.1);
}

.step-num {
  color: #897e99;
}

.feature-glyph {
  border-color: rgba(92, 61, 153, 0.1);
  background: #efe8ff;
}

.core-three h2 {
  color: #281f39;
}

.core-three p {
  color: #716a7c;
}

.product-proof {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding: 124px 0 116px;
}

.product-proof-heading {
  max-width: 790px;
  margin-bottom: 52px;
}

.product-proof-heading > p:last-child {
  max-width: 710px;
  color: #6e6679;
}

.proof-story {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.proof-story-card {
  min-height: 610px;
  padding: 42px 36px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(78, 52, 124, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 4%, rgba(224, 213, 255, 0.8), transparent 17rem),
    #fff;
  box-shadow: 0 24px 70px rgba(73, 47, 116, 0.08);
}

.proof-story-primary {
  min-height: 680px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.9fr) minmax(350px, 0.75fr);
  padding: 64px 64px 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(215, 199, 255, 0.92), transparent 25rem),
    linear-gradient(135deg, #fff 0%, #fbf9ff 58%, #f1ebff 100%);
}

.proof-story-card:not(.proof-story-primary) {
  min-height: 680px;
  grid-column: span 2;
  padding: 40px 28px 0;
  display: flex;
  flex-direction: column;
}

.proof-story-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-bottom: 42px;
}

.proof-kicker {
  display: block;
  margin-bottom: 22px;
  color: #7650d3;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.proof-story-card h3 {
  max-width: 520px;
  margin: 0 0 20px;
  color: #271d38;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.proof-story-card:not(.proof-story-primary) h3 {
  font-size: clamp(1.65rem, 2vw, 2.15rem);
}

.proof-story-card p {
  max-width: 570px;
  margin: 0;
  color: #6d6578;
  font-size: 0.98rem;
  line-height: 1.68;
}

.proof-story-card ul {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.proof-story-card li {
  position: relative;
  padding-left: 25px;
  color: #4e465a;
  font-size: 0.9rem;
}

.proof-story-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #35a97a;
  font-weight: 900;
}

.proof-screen {
  width: 100%;
  height: 490px;
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(59, 41, 92, 0.13);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #f5f2fa;
  box-shadow:
    0 28px 55px rgba(68, 44, 108, 0.16),
    inset 0 0 0 6px #fff;
}

.proof-story-primary .proof-screen {
  max-width: 390px;
  height: 620px;
  justify-self: center;
  border-radius: 34px 34px 0 0;
}

.proof-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.proof-screen-chat img {
  object-position: 50% 4%;
}

.proof-screen-cook img {
  object-position: 50% 1%;
}

.proof-screen-progress img {
  object-position: 50% 1%;
}

.proof-story-card:not(.proof-story-primary) .proof-screen {
  width: min(100%, 270px);
  height: 410px;
  margin: auto auto 0;
  flex: 0 0 auto;
}

.proof-disclaimer {
  max-width: 760px;
  margin: 24px auto 0;
  color: #81798c;
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

.smart-section {
  margin-top: 60px;
  padding: 105px 0;
}

.chat-demo {
  border-color: rgba(85, 55, 142, 0.11);
  background:
    radial-gradient(circle at 100% 0%, rgba(218, 203, 255, 0.9), transparent 23rem),
    #fff;
  box-shadow: 0 28px 75px rgba(74, 48, 121, 0.11);
}

.bubble-user {
  background: linear-gradient(135deg, #8663e9, #6940d4);
  color: #fff;
}

.bubble-mira {
  border: 1px solid #e6dcff;
  background: #f3edff;
  color: #4d4458;
}

.bubble-mira b {
  color: #6540c1;
}

.demo-chips span {
  border-color: rgba(84, 57, 131, 0.12);
  background: #fff;
  color: #665c74;
}

.pricing {
  padding: 100px 0 115px;
}

.price-grid article {
  border-color: rgba(80, 53, 128, 0.11);
  background: #fff;
  box-shadow: 0 18px 50px rgba(70, 46, 108, 0.06);
}

.price-grid small,
.price-grid span {
  color: #777081;
}

.price-grid strong {
  color: #281f39;
}

.price-featured {
  border-color: rgba(117, 76, 220, 0.3) !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(221, 207, 255, 0.86), transparent 15rem),
    #fff !important;
  box-shadow: 0 24px 65px rgba(95, 59, 177, 0.13) !important;
}

.price-featured i {
  background: #e9dfff;
  color: #6037bd;
}

.safety-panel {
  border-color: #eadfc5;
  background: linear-gradient(145deg, #fffbf2, #fff);
  box-shadow: 0 20px 55px rgba(110, 78, 30, 0.06);
}

.safety-icon {
  border-color: #e7cf9e;
  background: #fff4d9;
  color: #a76218;
}

.safety-panel li {
  border-color: #eee7d9;
  color: #645d68;
}

.safety-panel li::before {
  color: #ae6b20;
}

.final-cta {
  border-color: rgba(105, 66, 199, 0.14);
  background:
    radial-gradient(circle at 50% -20%, rgba(202, 182, 255, 0.72), transparent 55%),
    linear-gradient(145deg, #f5efff, #fff);
  box-shadow: 0 30px 80px rgba(84, 54, 142, 0.1);
}

.final-cta img {
  box-shadow: 0 18px 38px rgba(59, 40, 89, 0.14);
}

.final-cta p {
  color: #6d6678;
}

.site-footer {
  border-top-color: rgba(75, 51, 113, 0.1);
  color: #7a7384;
}

.site-footer b,
.footer-links a:hover {
  color: #2c233b;
}

/* Legal pages */

.legal-v2,
.legal-center {
  background:
    radial-gradient(circle at 12% 0%, rgba(228, 216, 255, 0.78), transparent 25rem),
    #fbfaff;
  color: var(--text);
}

.legal-v2-header {
  border-bottom-color: rgba(72, 48, 111, 0.1);
}

.legal-sidebar p {
  color: #8b8494;
}

.legal-sidebar a {
  color: #6e6876;
}

.legal-sidebar a:hover,
.legal-sidebar a[aria-current="page"] {
  background: #eee7ff;
  color: #5630b4;
}

.legal-back-v2,
.legal-kicker {
  color: #6740c4;
}

.document-meta span {
  border-color: rgba(75, 49, 117, 0.12);
  background: rgba(255, 255, 255, 0.65);
  color: #777080;
}

.legal-warning {
  border-color: #ead49f;
  background: #fff8e8;
  color: #705f44;
}

.legal-warning b {
  color: #9a651c;
}

.legal-prose {
  color: #514b59;
}

.legal-prose h2 {
  border-top-color: rgba(69, 47, 104, 0.1);
  color: #261d36;
}

.legal-prose a {
  color: #6036bd;
}

.legal-form,
.legal-contact,
.legal-table,
.legal-card,
.contract-order {
  border-color: rgba(76, 50, 119, 0.11);
  background: #fff;
  box-shadow: 0 16px 45px rgba(66, 45, 101, 0.05);
  color: #5f5868;
}

.legal-contact b {
  color: #2c233a;
}

.legal-table th,
.legal-table td {
  border-color: rgba(76, 50, 119, 0.1);
}

.legal-table th {
  background: #f0e9ff;
  color: #342444;
}

.legal-card:hover {
  border-color: rgba(111, 70, 206, 0.3);
  box-shadow: 0 23px 55px rgba(76, 49, 130, 0.1);
}

.legal-card small,
.legal-card span {
  color: #6941c6;
}

.legal-card h2 {
  color: #2b223a;
}

.legal-card p,
.legal-center-hero > p:not(.eyebrow),
.contract-order ol {
  color: #6d6676;
}

/* Telegram product page */

.telegram-hero,
.telegram-how,
.telegram-benefits,
.telegram-plans,
.telegram-faq {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.telegram-hero {
  min-height: 760px;
  padding: 92px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
}

.telegram-hero .hero-copy h1 {
  max-width: 720px;
}

.telegram-hero .hero-copy h1 em {
  color: #6750d8;
}

.button-telegram {
  background: linear-gradient(135deg, #55aee5, #6c4bdc);
  box-shadow:
    0 15px 34px rgba(83, 120, 205, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.telegram-trial-note {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.telegram-trial-note > span {
  padding: 7px 10px;
  border: 1px solid rgba(66, 106, 140, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #5f6571;
  font-size: 0.68rem;
  font-weight: 700;
}

.telegram-scene {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.telegram-glow {
  position: absolute;
  z-index: -1;
  width: 590px;
  height: 590px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 42%, rgba(255, 255, 255, 0.98) 0 11%, rgba(202, 229, 251, 0.78) 38%, rgba(224, 213, 255, 0.62) 58%, transparent 72%);
}

.telegram-phone {
  position: relative;
  z-index: 2;
  width: min(90vw, 392px);
  min-height: 610px;
  overflow: hidden;
  border: 7px solid #282432;
  border-radius: 45px;
  background: #e8e4de;
  box-shadow:
    0 42px 100px rgba(60, 53, 83, 0.19),
    0 14px 38px rgba(53, 45, 78, 0.1);
  transform: rotate(1.6deg);
}

.telegram-chat-head {
  min-height: 76px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(45, 39, 54, 0.08);
}

.telegram-chat-head > img {
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(80, 55, 152, 0.15);
}

.telegram-chat-head > span:nth-of-type(2) {
  display: grid;
  line-height: 1.15;
}

.telegram-chat-head b {
  color: #272130;
  font-size: 0.88rem;
}

.telegram-chat-head small {
  margin-top: 4px;
  color: #3c9a70;
  font-size: 0.65rem;
}

.telegram-back {
  color: #5d9fcd;
  font-size: 2rem;
  line-height: 1;
}

.telegram-chat-head i {
  margin-left: auto;
  color: #7b7483;
  font-style: normal;
  letter-spacing: 0.1em;
}

.telegram-chat {
  min-height: 475px;
  padding: 18px 13px;
  display: grid;
  align-content: start;
  gap: 10px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.34), transparent 13rem),
    linear-gradient(145deg, #eeeae4, #e3ded8);
}

.tg-message {
  position: relative;
  max-width: 84%;
  border-radius: 16px;
  box-shadow: 0 7px 18px rgba(53, 46, 62, 0.08);
}

.tg-user-photo {
  justify-self: end;
  width: 235px;
  padding: 5px;
  overflow: hidden;
  background: #d7f5c9;
  border-bottom-right-radius: 6px;
}

.tg-user-photo img {
  width: 100%;
  height: 142px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.tg-user-photo small {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 3px 5px;
  border-radius: 999px;
  background: rgba(29, 28, 31, 0.55);
  color: #fff;
  font-size: 0.52rem;
}

.tg-mira {
  justify-self: start;
  width: 288px;
  padding: 13px;
  display: grid;
  gap: 8px;
  background: #fff;
  border-bottom-left-radius: 6px;
  color: #514a56;
}

.tg-mira p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.45;
}

.tg-mira p b {
  color: #6240bd;
}

.tg-mira > small {
  justify-self: end;
  color: #9a939e;
  font-size: 0.52rem;
}

.tg-metrics {
  padding: 9px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #ece5f5;
  border-radius: 12px;
  background: #faf8ff;
}

.tg-metrics > span {
  display: grid;
  gap: 2px;
}

.tg-metrics > span + span {
  padding-left: 7px;
  border-left: 1px solid #e9e2f1;
}

.tg-metrics b {
  color: #2c2434;
  font-size: 0.68rem;
}

.tg-metrics small {
  color: #8d8593;
  font-size: 0.5rem;
}

.tg-voice {
  justify-self: end;
  width: 215px;
  min-height: 50px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 15px 15px 5px;
  background: #d7f5c9;
  box-shadow: 0 7px 18px rgba(53, 69, 49, 0.08);
}

.tg-voice button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #57a6d8;
  color: #fff;
}

.tg-voice i {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tg-voice u {
  width: 2px;
  height: 9px;
  border-radius: 999px;
  background: #6b9e85;
}

.tg-voice u:nth-child(2n) {
  height: 18px;
}

.tg-voice u:nth-child(3),
.tg-voice u:nth-child(5) {
  height: 24px;
}

.tg-voice span {
  color: #668071;
  font-size: 0.55rem;
}

.telegram-compose {
  min-height: 58px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f9f9f9;
  color: #6d9fc2;
}

.telegram-compose p {
  min-height: 38px;
  margin: 0;
  padding: 0 13px;
  display: flex;
  align-items: center;
  flex: 1;
  border: 1px solid #e4e2e6;
  border-radius: 999px;
  background: #fff;
  color: #a09aa5;
  font-size: 0.69rem;
}

.telegram-compose b {
  font-size: 1rem;
}

.tg-float {
  position: absolute;
  z-index: 4;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(68, 91, 121, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 19px 42px rgba(64, 55, 94, 0.12);
  backdrop-filter: blur(16px);
}

.tg-float > span {
  display: grid;
  line-height: 1.15;
}

.tg-float small {
  color: #85808b;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.tg-float b {
  margin-top: 3px;
  color: #332b3c;
  font-size: 0.7rem;
}

.tg-float-photo {
  top: 17%;
  left: -4%;
  transform: rotate(-2deg);
}

.tg-float-ready {
  right: -4%;
  bottom: 18%;
  color: #23986a;
  transform: rotate(2deg);
}

.telegram-how,
.telegram-benefits,
.telegram-plans,
.telegram-faq {
  padding: 100px 0;
}

.telegram-steps,
.telegram-benefit-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.telegram-steps article,
.telegram-benefit-grid article,
.faq-grid article {
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(77, 55, 119, 0.1);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(69, 46, 106, 0.06);
}

.telegram-steps article > span {
  color: #7653d7;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.telegram-steps article > b,
.telegram-benefit-grid article > b,
.faq-grid article > b {
  margin-top: auto;
  color: #2c233c;
  font-size: 1.25rem;
  line-height: 1.15;
}

.telegram-steps article p,
.telegram-benefit-grid article p,
.faq-grid article p {
  margin-bottom: 0;
  color: #70697a;
  font-size: 0.88rem;
}

.telegram-benefits {
  padding-right: clamp(22px, 4vw, 48px);
  padding-left: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(93, 64, 152, 0.1);
  border-radius: 38px;
  background:
    radial-gradient(circle at 100% 0%, rgba(208, 229, 250, 0.75), transparent 25rem),
    linear-gradient(145deg, #f7f3ff, #fff);
}

.telegram-benefit-grid article {
  background: rgba(255, 255, 255, 0.85);
}

.telegram-benefit-grid article > i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ede7ff;
  font-size: 1.45rem;
  font-style: normal;
}

.telegram-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.telegram-plan-grid article {
  min-height: 360px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(77, 54, 121, 0.1);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(69, 45, 108, 0.08);
}

.telegram-plan-grid small {
  color: #756d81;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.telegram-plan-grid strong {
  margin-top: 38px;
  color: #292039;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.telegram-plan-grid article > span {
  margin-top: 8px;
  color: #777080;
}

.telegram-plan-grid ul {
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #645c6d;
  list-style: none;
}

.telegram-plan-grid li::before {
  content: "✓";
  margin-right: 9px;
  color: #3a9f78;
  font-weight: 900;
}

.telegram-plan-featured {
  border-color: rgba(92, 121, 196, 0.22) !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(202, 228, 250, 0.8), transparent 17rem),
    radial-gradient(circle at 10% 100%, rgba(225, 212, 255, 0.65), transparent 19rem),
    #fff !important;
}

.telegram-plan-cta {
  width: fit-content;
  margin: 34px auto 0;
}

.telegram-plans > .pricing-note,
.telegram-plans > .separate-note {
  text-align: center;
}

.telegram-faq {
  padding-bottom: 120px;
}

.faq-grid article {
  min-height: 220px;
}

.faq-grid article > b {
  margin-top: 0;
}

.telegram-final {
  margin-top: 0;
}

@media (max-width: 1060px) {
  .hub-hero,
  .web-hero {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.9fr);
    gap: 38px;
  }

  .scene-voice {
    left: -1%;
  }

  .scene-goal {
    right: -1%;
  }

  .telegram-hero {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
    gap: 36px;
  }

  .web-proof-main {
    right: 1%;
  }

  .web-proof-photo {
    left: -5%;
  }

  .proof-story-card {
    padding-inline: 30px;
  }
}

@media (max-width: 900px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .hub-hero,
  .web-hero {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .assistant-scene {
    min-height: 620px;
  }

  .assistant-card {
    width: min(90vw, 470px);
  }

  .web-proof-scene {
    width: min(100%, 590px);
    min-height: 660px;
    margin-inline: auto;
  }

  .core-three article {
    border-right: 1px solid rgba(81, 54, 131, 0.1);
    border-bottom: 1px solid rgba(81, 54, 131, 0.1);
  }

  .telegram-hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .telegram-scene {
    min-height: 650px;
  }

  .proof-story {
    grid-template-columns: 1fr;
  }

  .proof-story-primary,
  .proof-story-card:not(.proof-story-primary) {
    grid-column: auto;
  }

  .proof-story-card,
  .proof-story-primary {
    min-height: 650px;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.7fr);
    padding: 46px 42px 0;
  }

  .proof-story-card:not(.proof-story-primary) {
    display: grid;
  }
}

@media (max-width: 680px) {
  .draft-ribbon {
    min-height: 34px;
    font-size: 0.58rem;
  }

  .site-header,
  .legal-v2-header {
    min-height: 68px;
  }

  .site-header {
    margin-top: 8px;
    padding: 0 12px;
    border-radius: 20px;
  }

  .hero-copy h1,
  .web-hero .hero-copy h1 {
    font-size: clamp(2.45rem, 11vw, 3.4rem);
    line-height: 1;
  }

  .hub-hero,
  .web-hero {
    padding: 66px 0 72px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .assistant-scene {
    min-height: 570px;
    margin-inline: -4px;
  }

  .scene-glow {
    width: 430px;
    height: 430px;
  }

  .assistant-card {
    width: 100%;
    padding: 12px;
    border-radius: 29px;
    transform: none;
  }

  .meal-analysis > img {
    height: 205px;
  }

  .scene-float {
    padding: 10px 11px;
  }

  .scene-voice {
    top: 10%;
    left: -2%;
  }

  .scene-goal {
    right: -2%;
    bottom: 6%;
  }

  .voice-wave {
    display: none;
  }

  .choice-section {
    padding-top: 82px;
  }

  .product-card {
    min-height: 480px;
  }

  .core-three {
    gap: 12px;
  }

  .core-three article {
    min-height: auto;
    padding: 34px 26px;
  }

  .feature-glyph {
    margin-top: 28px;
  }

  .smart-section {
    margin-top: 20px;
    padding: 82px 0;
  }

  .phone {
    transform: none;
  }

  .web-proof-scene {
    min-height: 570px;
    margin-inline: 0;
    overflow: hidden;
  }

  .web-proof-glow {
    inset: 30px -30px 24px;
  }

  .web-proof-main {
    top: 8px;
    right: 0;
    width: min(70%, 320px);
    height: 552px;
    border-radius: 31px;
    transform: rotate(1deg);
  }

  .web-proof-photo {
    top: 124px;
    left: 6px;
    width: min(47%, 205px);
    height: 370px;
    border-radius: 25px;
    transform: rotate(-3deg);
  }

  .web-proof-badge {
    top: 46px;
    left: 0;
    padding: 9px 11px 9px 9px;
  }

  .web-proof-badge > i {
    width: 28px;
    height: 28px;
  }

  .product-proof {
    width: min(calc(100% - 28px), var(--max));
    padding: 84px 0 80px;
  }

  .product-proof-heading {
    margin-bottom: 34px;
  }

  .proof-story {
    gap: 13px;
  }

  .proof-story-card,
  .proof-story-primary {
    min-height: auto;
    padding: 36px 24px 0;
    display: block;
    border-radius: 27px;
  }

  .proof-story-card:not(.proof-story-primary) {
    display: block;
  }

  .proof-story-copy {
    padding-bottom: 32px;
  }

  .proof-story-card h3,
  .proof-story-card:not(.proof-story-primary) h3 {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  .proof-screen,
  .proof-story-primary .proof-screen,
  .proof-story-card:not(.proof-story-primary) .proof-screen {
    width: min(100%, 340px);
    height: 500px;
    margin-inline: auto;
    border-radius: 27px 27px 0 0;
  }

  .legal-sidebar {
    border-bottom-color: rgba(73, 49, 113, 0.1);
  }

  .telegram-hero {
    padding: 66px 0 80px;
  }

  .telegram-scene {
    min-height: 610px;
  }

  .telegram-glow {
    width: 440px;
    height: 440px;
  }

  .telegram-phone {
    width: 100%;
    transform: none;
  }

  .tg-float-photo {
    left: -2%;
  }

  .tg-float-ready {
    right: -2%;
    bottom: 8%;
  }

  .telegram-steps,
  .telegram-benefit-grid,
  .telegram-plan-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .telegram-how,
  .telegram-benefits,
  .telegram-plans,
  .telegram-faq {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .telegram-benefits {
    width: calc(100% - 24px);
    padding-right: 16px;
    padding-left: 16px;
    border-radius: 30px;
  }

  .telegram-steps article,
  .telegram-benefit-grid article,
  .faq-grid article {
    min-height: 220px;
  }

  .telegram-plan-grid article {
    min-height: 330px;
  }

  .telegram-plan-cta {
    width: 100%;
  }
}
