/* d261: главная в стиле Apple. Классы ap-* — новые; тарифы/вопросы/подвал используют прежние стили (landing-v2.css, pricing.css). */
.ap { --ink: #0B1F1C; --muted: #5C6F6B; --green: #1E8C7B; --green-d: #147466; --mint: #7FE3D0; --soft: #F3F7F6; --line: rgba(11,31,28,.09);
  font: 400 17px/1.5 "Manrope", "Golos Text", system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
.ap *, .ap *::before, .ap *::after { box-sizing: border-box; }
.ap img { display: block; max-width: 100%; height: auto; }
.ap-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.ap-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.74); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--line); }
.ap-nav .ap-wrap { display: flex; align-items: center; gap: 24px; height: 56px; }
.ap-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.ap-brand img { width: 30px; height: 30px; border-radius: 9px; }
.ap-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.ap-links a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; opacity: .78; white-space: nowrap; }
.ap-links a:hover { opacity: 1; color: var(--ink); }
.ap a.ap-pill, .ap-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font: 600 15px/1 "Manrope", system-ui, sans-serif; text-decoration: none; opacity: 1; cursor: pointer; transition: transform .1s ease-out, background .15s; }
.ap a.ap-pill:hover { background: var(--green-d); color: #fff; }
.ap-pill:active { transform: scale(.97); }
.ap a.ap-pill.sm { min-height: 34px; padding: 0 16px; font-size: 13px; }
.ap a.ap-pill.big { min-height: 54px; padding: 0 30px; font-size: 17px; }
.ap a.ap-pill.white { background: #fff; color: var(--ink); }
.ap a.ap-pill.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.ap a.ap-link { color: var(--green); font-weight: 600; text-decoration: none; font-size: 17px; }
.ap a.ap-link:hover { text-decoration: underline; }
.ap-eyebrow { font-size: 15px; font-weight: 700; color: var(--green); letter-spacing: .01em; margin: 0 0 14px; }
.ap h1, .ap .ap-h2 { margin: 0; font-family: "Manrope", system-ui, sans-serif; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; color: inherit; }
.ap h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); }
.ap .ap-h2 { font-size: clamp(2rem, 4.8vw, 3.75rem); }
.ap .ap-g { color: var(--green); }
.ap-lead { font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.45; color: var(--muted); max-width: 680px; margin: 22px auto 0; font-weight: 500; }
.ap-hero { text-align: center; padding: 88px 0 0; }
.ap-cta { display: flex; gap: 26px; justify-content: center; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.ap-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.ap-shot { margin: 60px auto 0; max-width: 1040px; border-radius: 40px; overflow: hidden; position: relative; box-shadow: 0 40px 80px -40px rgba(11,31,28,.45); background: #1a1016; }
.ap-shot > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ap-chip { position: absolute; background: rgba(255,255,255,.8); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); border: 1px solid rgba(255,255,255,.6); border-radius: 22px; padding: 14px 18px; text-align: left; color: var(--ink); }
.ap-chip small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.ap-chip b { font-size: 34px; letter-spacing: -.03em; line-height: 1.1; }
.ap-chip.a { left: 28px; bottom: 28px; }
.ap-chip.b { right: 28px; top: 28px; display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; }
.ap-chip.c { right: 28px; bottom: 28px; font-size: 14px; font-weight: 600; display: grid; gap: 4px; }
.ap-chip.c span { display: flex; justify-content: space-between; gap: 22px; } .ap-chip.c i { font-style: normal; color: var(--muted); font-weight: 500; }
.ap-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 13px; }
.ap-sec { padding: 120px 0; }
.ap-soft { background: var(--soft); }
.ap-center { text-align: center; }
.ap-dark { background: var(--ink); color: #fff; }
.ap-dark .ap-lead { color: rgba(255,255,255,.68); }
.ap-dark .ap-eyebrow { color: var(--mint); }
/* фотопротокол: большое фото + пять ракурсов */
.ap-studio { margin-top: 56px; }
.ap-stage { position: relative; max-width: 900px; margin: 0 auto; border-radius: 32px; overflow: hidden; background: #1a1016; }
.ap-stage img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ap-seg { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); }
.ap-seg button { border: 0; background: transparent; font: 600 14px/1 "Manrope", system-ui, sans-serif; color: var(--ink); padding: 10px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.ap-seg button[aria-pressed="true"] { background: var(--green); color: #fff; }
.ap-stage-cap { position: absolute; left: 18px; top: 18px; }
.ap-five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 900px; margin: 14px auto 0; }
.ap-five button { border: 0; padding: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.ap-five img { border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; outline: 3px solid transparent; outline-offset: 2px; transition: outline-color .15s; }
.ap-five button[aria-pressed="true"] img { outline-color: var(--green); }
.ap-five span { font-size: 14px; font-weight: 600; margin-top: 10px; display: flex; justify-content: space-between; gap: 6px; }
.ap-five i { font-style: normal; color: var(--muted); font-weight: 500; }
.ap-fine { font-size: 13px; color: var(--muted); max-width: 720px; margin: 22px auto 0; }
/* шаги и сетки */
.ap-grid { display: grid; gap: 40px 48px; margin-top: 64px; text-align: left; }
.ap-grid.c4 { grid-template-columns: repeat(4, 1fr); } .ap-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.ap-grid b { display: block; font-size: 21px; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 8px; }
.ap-grid p { margin: 0; color: var(--muted); font-size: 16px; }
.ap-dark .ap-grid p { color: rgba(255,255,255,.68); }
.ap-num { display: block; font-size: 15px; font-weight: 700; color: var(--green); margin-bottom: 14px; padding-top: 18px; border-top: 2px solid var(--green); }
.ap-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.ap-split .ap-lead { margin-left: 0; }
.ap-facts { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.ap-facts li { padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.ap-facts b { display: block; color: var(--ink); font-size: 20px; letter-spacing: -.01em; margin-bottom: 2px; }
.ap-dark .ap-facts li { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.7); } .ap-dark .ap-facts b { color: #fff; }
.ap-phone { width: 320px; max-width: 100%; margin: 0 auto; border-radius: 50px; padding: 11px; background: #1b2f2b; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 90px -30px rgba(0,0,0,.55); }
.ap-phone img { border-radius: 40px; width: 100%; aspect-ratio: 1075 / 2200; object-fit: cover; object-position: top; background: #fff; }
.ap-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
.ap-stats b { display: block; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.04em; line-height: 1; }
.ap-stats span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; font-weight: 500; }
.ap-stats em { font-style: normal; color: var(--green); font-weight: 700; font-size: 14px; }
.ap-worlds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 64px; }
.ap-worlds figure { margin: 0; position: relative; border-radius: 28px; overflow: hidden; }
.ap-worlds img { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; }
.ap-worlds figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 16px 16px; color: #fff; font-weight: 700; font-size: 16px; text-align: left; line-height: 1.25; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.ap-worlds figcaption span { display: block; font-size: 13px; font-weight: 500; opacity: .82; margin-top: 2px; }
.ap-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 0; text-align: left; }
.ap-card { background: var(--soft); border-radius: 32px; padding: 44px; }
.ap-card .ap-h3 { font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.12 "Manrope", system-ui, sans-serif; letter-spacing: -.03em; margin: 0 0 12px; }
.ap-card p { margin: 0; color: var(--muted); }
.ap-final { background: var(--green); color: #fff; text-align: center; }
.ap-final .ap-lead { color: rgba(255,255,255,.88); }
.ap-old { padding: 96px 0; }  /* прежние блоки (тарифы, вопросы) в новой рамке */
.ap-old > section.w { padding-top: 0 !important; padding-bottom: 0 !important; }
@media (max-width: 900px) {
  .ap-links a:not(.ap-pill):not(.ap-keep) { display: none; }
  .ap-grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .ap-split { grid-template-columns: 1fr; gap: 48px; }
  .ap-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .ap-hero { padding-top: 52px; } .ap-sec { padding: 76px 0; } .ap-old { padding: 64px 0; }
  .ap-shot { border-radius: 26px; margin-top: 40px; } .ap-shot > img { aspect-ratio: 4 / 3; }
  .ap-chip.b, .ap-chip.c { display: none; } .ap-chip.a { left: 14px; bottom: 14px; padding: 10px 14px; } .ap-chip b { font-size: 26px; }
  .ap-stage { border-radius: 22px; } .ap-stage img { aspect-ratio: 4 / 3; } .ap-seg { bottom: 10px; } .ap-seg button { padding: 9px 12px; font-size: 13px; } .ap-stage-cap { display: none; }
  .ap-five, .ap-worlds { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -24px; margin-right: -24px; padding: 4px 24px 8px; scrollbar-width: none; max-width: none; }
  .ap-five::-webkit-scrollbar, .ap-worlds::-webkit-scrollbar { display: none; }
  .ap-five > button { flex: 0 0 38%; scroll-snap-align: center; } .ap-worlds > figure { flex: 0 0 62%; scroll-snap-align: center; }
  .ap-worlds { margin-top: 40px; }
  .ap-grid { margin-top: 40px; gap: 28px; } .ap-grid.c4, .ap-grid.c3 { grid-template-columns: 1fr; }
  .ap-phone { width: 260px; }
  .ap-two { grid-template-columns: 1fr; } .ap-card { padding: 28px; border-radius: 26px; }
  .ap-stats { gap: 28px 16px; margin-top: 40px; }
}
@media (prefers-reduced-transparency: reduce) { .ap-nav, .ap-chip, .ap-seg { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }
