/* larannma.ru — личная страница. Сначала телефон, с 1180 px — раскладка для компьютера. */
:root {
  --ink: #221D27;
  --shell: #FFF2EC;
  --bg: #F4F1F7;
  --iris-100: #E9E0FA;
  --bud: #BED35A;
  --tight: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid #8C6FD9; outline-offset: 3px; }
img { display: block; }

.page { max-width: 552px; margin: 0 auto; padding: 0 16px 20px; }

/* Шапка: всегда сверху, содержимое уходит под неё */
.top {
  position: sticky; top: 0; z-index: 20;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.top::before {  /* подложка чуть шире шапки — закрывает тени плиток по бокам */
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -16px; right: -16px; background: var(--bg);
}
.top::after {  /* мягкое затухание под шапкой */
  content: ""; position: absolute; top: 100%; left: -16px; right: -16px; height: 14px; pointer-events: none;
  background: linear-gradient(var(--bg), rgba(244,241,247,0));
}
.kimi, .app { scroll-margin-top: 72px; }
main { padding-top: 14px; }  /* блок начинается ниже затухания шапки */
.brand { display: flex; align-items: center; gap: 8px; font: 600 23px/1 var(--tight); letter-spacing: -0.02em; }
.brand svg { width: 22px; height: 22px; }
.nav { display: none; }
.menu { position: relative; }
.menu summary {
  list-style: none; width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu__list {
  position: absolute; right: 0; top: 52px; z-index: 5; min-width: 190px; padding: 8px;
  border-radius: 20px; background: #FFFFFF; box-shadow: 0 16px 40px rgba(34,29,39,0.18);
  display: flex; flex-direction: column;
}
.menu__list a { padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.menu__list a:hover { background: var(--bg); }

/* Плашка гайда по Kimi */
.kimi {
  position: relative; overflow: hidden; min-height: 336px; padding: 142px 20px 20px;
  border-radius: 28px; background: #08070B; color: #FFF7F2;
  box-shadow: 0 16px 36px rgba(34,29,39,0.22);
}
.kimi__glow {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 73% 23%, rgba(104,74,200,0.66) 0%, rgba(104,74,200,0.17) 30%, rgba(8,7,11,0) 56%);
}
.kimi__planet {
  position: absolute; right: -156px; top: -246px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 40% 96%, #2A2046 0%, #130F1E 34%, #09080D 62%);
  box-shadow: inset 0 -2px 3px rgba(240,232,255,0.85), inset 0 -14px 30px -8px rgba(160,130,240,0.7), 0 8px 40px rgba(140,111,217,0.35);
}
.orbit { position: absolute; right: 0; top: 0; }
.orbit--desk { display: none; width: 560px; height: 360px; }
.orbit--phone { width: 230px; height: 150px; }
.star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #FFFFFF; opacity: 0.65; }

.ring { position: absolute; border-radius: 50%; border-style: solid; transform: rotate(-16deg); }
.ring--back {
  border-color: rgba(226,214,255,0.95);
  box-shadow: 0 0 14px rgba(183,156,237,0.95), inset 0 0 14px rgba(183,156,237,0.7);
  clip-path: inset(-50px -50px 50% -50px);
}
.ring--front {
  border-color: #F0E8FF;
  box-shadow: 0 0 16px rgba(183,156,237,1), inset 0 0 16px rgba(183,156,237,0.8);
  clip-path: inset(50% -50px -50px -50px);
}
.sat {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F8FDD0 0%, #BED35A 55%, #8FA332 100%);
  box-shadow: 0 0 12px rgba(190,211,90,0.95);
}
.gcard {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.07) 100%);
  border: 1px solid rgba(255,255,255,0.34);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-weight: 600; color: #FFF7F2;
}
.ktile {
  position: absolute; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #43356A 0%, #1B1528 44%, #0D0A13 100%);
}
.ktile::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; border-radius: inherit;
  background: linear-gradient(140deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.05) 34%, rgba(255,255,255,0) 58%);
}
.ktile b { position: relative; font: 600 60px/1 var(--tight); color: #FFF7F2; }
.ktile i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F8FDD0 0%, #BED35A 55%, #8FA332 100%);
}

/* размеры орбиты на телефоне */
.orbit--phone .ring { width: 192px; height: 60px; border-width: 2px; }
.orbit--phone .sat { width: 8px; height: 8px; }
.orbit--phone .gcard {
  width: 62px; height: 46px; border-radius: 13px; gap: 2px; font-size: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 10px 20px rgba(0,0,0,0.55), 0 0 20px rgba(140,111,217,0.4);
}
.orbit--phone .gcard svg { width: 16px; height: 16px; }
.orbit--phone .ktile {
  width: 84px; height: 84px; border-radius: 24px;
  transform: perspective(700px) rotateX(16deg) rotateY(-26deg) rotateZ(7deg);
  box-shadow: inset 0 0 0 1.5px rgba(214,198,250,0.6), inset 0 2px 1px rgba(255,255,255,0.55), inset 0 -14px 22px rgba(140,111,217,0.5),
    1px 1px 0 #7C66C9, 2px 2px 0 #6852B1, 3px 3px 0 #534094, 4px 4px 0 #413177, 5px 5px 0 #30245A,
    12px 18px 28px rgba(0,0,0,0.75), 0 0 44px rgba(140,111,217,0.6);
}
.orbit--phone .ktile b { margin: 3px 9px 0 0; text-shadow: 0 0 16px rgba(183,156,237,0.65); }
.orbit--phone .ktile i { right: 11px; top: 12px; width: 13px; height: 13px; box-shadow: 0 0 10px rgba(190,211,90,0.95), 0 0 22px rgba(190,211,90,0.55); }

.chip {
  position: absolute; left: 20px; top: 20px; padding: 6px 12px; border-radius: 999px;
  background: rgba(190,211,90,0.16); border: 1px solid rgba(190,211,90,0.6); color: #E2F09A;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.kimi__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.kimi__title {
  margin: 0; font: 600 32px/1.1 var(--tight); letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(160,130,240,0.45);
}
.sel { position: relative; display: inline-block; margin: 0 7px 0 2px; padding: 0 5px; }
.sel__bg {
  position: absolute; left: 0; top: 2px; right: 0; bottom: 0; border-radius: 6px;
  background: rgba(140,111,217,0.30);
  box-shadow: inset 0 0 0 1.5px rgba(201,182,245,0.6), 0 0 22px rgba(140,111,217,0.6);
}
.sel__w {
  position: relative; text-shadow: none; color: #D9CBF7;
  background: linear-gradient(100deg, #FFFFFF 0%, #D9CBF7 45%, #A88BEA 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sel__bar { position: absolute; width: 3px; border-radius: 2px; background: #D9CBF7; box-shadow: 0 0 8px #B79CED; }
.sel__bar--l { left: -2px; top: -2px; bottom: 0; }
.sel__bar--r { right: -2px; top: 2px; bottom: -3px; }
.sel__dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #D9CBF7; box-shadow: 0 0 10px #B79CED; }
.sel__dot--l { left: -5px; top: -8px; }
.sel__dot--r { right: -5px; bottom: -9px; }
.kimi__pill {
  margin: 12px 0 0; padding: 7px 12px; border-radius: 14px; line-height: 1.3;
  background: rgba(140,111,217,0.14); border: 1.5px solid rgba(201,182,245,0.85); color: #EFE8FF;
  font-size: 12.5px; font-weight: 600;
  box-shadow: 0 0 22px rgba(140,111,217,0.4), inset 0 0 12px rgba(140,111,217,0.28);
}
.kimi__sub { margin: 10px 0 0; font-size: 14.5px; line-height: 1.4; color: #DCD4E6; text-wrap: balance; }
.kimi__sub b { font-weight: 600; color: #FFFFFF; }
.kimi__row { margin-top: 14px; align-self: stretch; display: flex; flex-direction: column-reverse; gap: 14px; }
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.perks li {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  font-size: 13px; font-weight: 600; color: #FFF7F2; white-space: nowrap;
}
.perks svg { width: 16px; height: 16px; }
.soon {
  display: flex; align-items: center; justify-content: center; height: 46px;
  border-radius: 999px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.26);
  color: #E9E0FA; font-size: 15px; font-weight: 600;
}

/* Плитки */
.grid { margin-top: 10px; display: grid; gap: 10px; }
.app {
  position: relative; overflow: hidden; min-height: 254px; padding: 18px; border-radius: 28px;
  background: var(--iris-100); display: flex; flex-direction: column; align-items: flex-start;
}
.app__head { display: flex; align-items: center; gap: 12px; }
.app__icon {
  flex: none; width: 40px; height: 40px; border-radius: 13px; background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.app__icon svg { width: 22px; height: 22px; }
.app h2 { margin: 0; font: 600 26px/1.05 var(--tight); letter-spacing: -0.02em; }
.app p { margin: 10px 0 14px; width: calc(100% - 146px); max-width: 300px; font-size: 14.5px; line-height: 1.4; color: #3F3848; }
.app__btns { margin-top: auto; display: flex; flex-direction: column; gap: 8px; width: 176px; max-width: calc(100% - 146px); }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px;
  border-radius: 999px; font-size: 14.5px; font-weight: 600; white-space: nowrap;
}
.btn--ink { background: var(--ink); color: var(--shell); }
.btn--white { background: #FFFFFF; }
.shot { position: absolute; object-fit: cover; background: #F0ECE3; }
.shot--1 {
  right: 20px; top: 24px; width: 126px; height: 273px; border-radius: 18px;
  box-shadow: 0 0 0 4px #FFFFFF, 0 14px 28px rgba(34,29,39,0.2);
}
.shot--2 { display: none; }

.side { display: grid; gap: 10px; }
.tg {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  column-gap: 12px; row-gap: 3px; min-height: 78px; padding: 14px 18px; border-radius: 28px;
  background: var(--ink); color: var(--shell);
}
.tg__icon, .tg__cta { display: none; }
.tg__title { grid-column: 1; font: 600 22px/1.1 var(--tight); letter-spacing: -0.02em; }
.tg__handle { grid-column: 1; font-size: 13.5px; color: #CFC6D8; }
.tg__arrow {
  grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bud); color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.ig {
  display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 18px;
  border-radius: 22px; background: #FFFFFF;
}
.ig__title { font: 600 19px/1 var(--tight); letter-spacing: -0.02em; }
.ig__handle { display: none; }
.ig__arrow { display: flex; color: #6E6676; }

/* узкие телефоны */
@media (max-width: 359px) {
  .kimi__title { font-size: 28px; }
  .shot--1 { right: 14px; width: 104px; height: 225px; }
  .app p, .app__btns { width: calc(100% - 114px); max-width: calc(100% - 114px); }
}

/* Компьютер */
@media (min-width: 1180px) {
  /* контент 1080 px по центру, по бокам — поля */
  .page { max-width: 1128px; padding: 0 24px 60px; }
  .top { height: 84px; }
  main { padding-top: 16px; }
  .top::before, .top::after { left: -50px; right: -50px; }
  .kimi, .app { scroll-margin-top: 112px; }
  .brand { gap: 10px; font-size: 28px; }
  .brand svg { width: 28px; height: 28px; }
  .menu { display: none; }
  .nav {
    display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
    background: #FFFFFF; font-size: 15px; font-weight: 600;
  }
  .nav a { padding: 10px 20px; border-radius: 999px; }
  .nav a.is-active { background: var(--ink); color: var(--shell); }

  .kimi { height: 490px; min-height: 0; padding: 0; border-radius: 36px; box-shadow: 0 24px 60px rgba(34,29,39,0.22); }
  .orbit--desk { top: 64px; }
  .kimi__glow { background: radial-gradient(circle at 75% 52%, rgba(104,74,200,0.58) 0%, rgba(104,74,200,0.15) 24%, rgba(8,7,11,0) 48%); }
  .kimi__planet {
    right: -220px; top: -430px; width: 560px; height: 560px;
    box-shadow: inset 0 -3px 4px rgba(240,232,255,0.85), inset 0 -18px 40px -8px rgba(160,130,240,0.7), 0 12px 60px rgba(140,111,217,0.35);
  }
  .orbit--phone { display: none; }
  .orbit--desk { display: block; }
  .star { width: 3px; height: 3px; opacity: 0.6; }
  .orbit--desk .ring { width: 460px; height: 146px; border-width: 3px; }
  .orbit--desk .ring--back { box-shadow: 0 0 18px rgba(183,156,237,0.95), inset 0 0 18px rgba(183,156,237,0.7); }
  .orbit--desk .ring--front { box-shadow: 0 0 20px rgba(183,156,237,1), inset 0 0 20px rgba(183,156,237,0.8); }
  .orbit--desk .sat { width: 14px; height: 14px; box-shadow: 0 0 16px rgba(190,211,90,0.95); }
  .orbit--desk .gcard {
    width: 104px; height: 82px; border-radius: 20px; gap: 4px; font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 18px 34px rgba(0,0,0,0.55), 0 0 30px rgba(140,111,217,0.4);
  }
  .orbit--desk .gcard svg { width: 26px; height: 26px; }
  .orbit--desk .ktile {
    width: 170px; height: 170px; border-radius: 44px;
    transform: perspective(900px) rotateX(16deg) rotateY(-26deg) rotateZ(7deg);
    box-shadow: inset 0 0 0 1.5px rgba(214,198,250,0.6), inset 0 3px 2px rgba(255,255,255,0.55), inset 0 -24px 40px rgba(140,111,217,0.5),
      1px 1px 0 #7C66C9, 2px 2px 0 #7059BB, 3px 3px 0 #644EAC, 4px 4px 0 #58449C, 5px 5px 0 #4C3A89,
      6px 6px 0 #413177, 7px 7px 0 #372966, 8px 8px 0 #2E2256, 9px 9px 0 #261C48, 10px 10px 0 #20183D,
      22px 32px 50px rgba(0,0,0,0.75), 0 0 70px rgba(140,111,217,0.6);
  }
  .orbit--desk .ktile b { margin: 6px 18px 0 0; font-size: 120px; text-shadow: 0 0 26px rgba(183,156,237,0.65); }
  .orbit--desk .ktile i { right: 23px; top: 26px; width: 25px; height: 25px; box-shadow: 0 0 16px rgba(190,211,90,0.95), 0 0 40px rgba(190,211,90,0.55); }

  .chip { left: 52px; top: 46px; padding: 8px 14px; font-size: 13px; }
  .kimi__text { position: absolute; left: 52px; top: 98px; }
  .kimi__title { font-size: 56px; line-height: 1.07; text-shadow: 0 4px 30px rgba(160,130,240,0.45); }
  .sel { margin: 0 10px 0 3px; padding: 0 8px; }
  .sel__bg { top: 3px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px rgba(201,182,245,0.6), 0 0 36px rgba(140,111,217,0.6); }
  .sel__bar { box-shadow: 0 0 10px #B79CED; }
  .sel__bar--l { top: -3px; }
  .sel__bar--r { top: 3px; bottom: -4px; }
  .sel__dot { width: 11px; height: 11px; box-shadow: 0 0 12px #B79CED; }
  .sel__dot--l { left: -6px; top: -12px; }
  .sel__dot--r { right: -6px; bottom: -13px; }
  .kimi__pill {
    margin-top: 18px; padding: 10px 18px; border-radius: 999px;
    font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .kimi__sub { margin-top: 16px; max-width: 440px; font-size: 18px; }
  .kimi__row { margin-top: 22px; align-self: flex-start; flex-direction: row; align-items: center; gap: 10px; }
  .perks { flex-wrap: nowrap; }
  .perks li { height: 40px; padding: 0 14px; gap: 7px; font-size: 14px; }
  .perks svg { width: 18px; height: 18px; }
  .soon { height: 52px; padding: 0 30px; font-size: 16px; }

  .grid { margin-top: 20px; grid-template-columns: minmax(0, 820fr) minmax(0, 400fr); gap: 20px; }
  .app { height: 400px; min-height: 0; padding: 32px; border-radius: 36px; }
  .app__head { flex: 1; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 0; }
  .app__icon { width: 64px; height: 64px; border-radius: 20px; }
  .app__icon svg { width: 32px; height: 32px; }
  .app h2 { font-size: 44px; }
  .app p { margin: 10px 0 0; width: auto; max-width: 280px; font-size: 17px; line-height: 1.45; }
  .app__btns { margin-top: 20px; flex-direction: row; gap: 10px; width: auto; max-width: none; }
  .btn { height: 50px; padding: 0 22px; gap: 8px; font-size: 15px; }
  .shot--1, .shot--2 {
    display: block; width: 166px; height: 360px; border-radius: 22px;
    box-shadow: 0 0 0 5px #FFFFFF, 0 20px 40px rgba(34,29,39,0.22);
  }
  .shot--1 { right: 204px; top: 44px; }
  .shot--2 { right: 24px; top: 76px; }

  .side { display: flex; flex-direction: column; gap: 20px; }
  .tg { flex: 1; display: flex; flex-direction: column; align-items: flex-start; min-height: 0; padding: 28px; border-radius: 36px; }
  .tg__icon {
    display: flex; align-items: center; justify-content: center; width: 64px; height: 64px;
    border-radius: 20px; background: var(--bud); color: var(--ink);
  }
  .tg__arrow { position: absolute; right: 28px; top: 28px; background: #3A3342; color: var(--shell); }
  .tg__title { margin-top: auto; font-size: 32px; }
  .tg__handle { margin-top: 6px; font-size: 16px; }
  .tg__cta {
    display: flex; align-items: center; margin-top: 16px; height: 48px; padding: 0 24px; border-radius: 999px;
    background: var(--bud); color: var(--ink); font-size: 15px; font-weight: 600;
  }
  .ig { flex: none; height: 110px; padding: 0 28px; border-radius: 36px; }
  .ig__text { display: flex; flex-direction: column; gap: 4px; }
  .ig__title { font-size: 28px; }
  .ig__handle { display: block; font-size: 15px; color: #6E6676; }
  .ig__arrow { align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--ink); }
  .app, .tg, .ig { transition: transform 0.18s ease; }
  .tg:hover, .ig:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app, .tg, .ig { transition: none; }
}
