/* Pass landing (trypass.app): built from Paper «Pass · лендинг целиком», desktop 1440 and phone 390.
   Phone values are the base; the desktop artboard applies from 1100px. */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/landing/fonts/geist-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/landing/fonts/lora-italic-500-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/landing/fonts/jetbrains-mono-latin.woff2) format('woff2');
}

:root {
  --ink: #14202B;
  --night: #111820;
  --rust: #9C4F27;
  --peach-text: #F0A878;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Lora', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --bells: url(/landing/bells.webp);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #2A6794; outline-offset: 3px; border-radius: 6px; }
img { display: block; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--rust); }
.dark em { color: var(--peach-text); }
code { font-family: var(--mono); }

/* Copy and parts that exist on only one of the two artboards: .d desktop, .m phone. */
/* Privacy and Terms (public/legal/): plain reading pages under the landing's header. */
.doc { max-width: 680px; margin: 0 auto; padding: 32px 20px 64px; }
.doc h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; font-weight: 600; }
.doc-date { margin-top: 8px; color: #6B7680; font-size: 14px; }
.doc h2 { margin-top: 32px; font-size: 22px; line-height: 28px; font-weight: 600; }
.doc p, .doc li { margin-top: 12px; color: #33414D; line-height: 1.55; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc a { color: #2A6794; text-decoration: underline; }
.doc-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; padding: 24px 20px 40px; border-top: 1px solid #E6E9EC; font-size: 14px; color: #6B7680; }
.doc-foot a:hover { color: var(--ink); }

@media (max-width: 1099.98px) { .d { display: none !important; } }
@media (min-width: 1100px) { .m { display: none !important; } }

.wrap { width: min(100% - 40px, 560px); margin-inline: auto; }

.kicker { font-family: var(--mono); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.12em; color: var(--peach-text); }
.title-l, .title-xl { font-size: 38px; line-height: 41px; font-weight: 600; letter-spacing: -0.035em; }
.lead { font-size: 16px; line-height: 23px; color: #4F5B66; }
.dark { background: var(--night); color: #fff; }
.dark .lead { color: #AEB9C3; }

.chip {
  display: inline-flex; align-self: start; justify-self: start; white-space: nowrap;
  padding: 5px 10px; border: 1px solid #14202B2E; border-radius: 999px; background: #14202B1A;
  font-family: var(--mono); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink);
}
.bell { display: block; flex-shrink: 0; background: var(--bells) no-repeat; }
.c-blue { background: #A9CBE7; }
.c-mustard { background: #F1D27C; }
.c-green { background: #B8D79D; }
.c-peach { background: #F2B48F; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand .logo { width: 28px; height: 28px; flex-shrink: 0; }
.brand-name { font-size: 18px; line-height: 22px; font-weight: 600; }
.brand-domain { font-size: 15px; line-height: 18px; color: #8A8F94; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; line-height: 18px; color: #3B4A57; }
.nav-links a:not(.btn-dark):hover { color: var(--ink); }
.btn-dark { display: inline-flex; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; line-height: 18px; font-weight: 600; }
.btn-dark:hover { background: #22323F; }

/* ---------- 1 hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; padding: 22px 20px 48px; background: #fff; text-align: center; }
.hero-title { font-size: 44px; line-height: 46px; font-weight: 600; letter-spacing: -0.035em; white-space: pre-wrap; }
.hero-sub { max-width: 560px; margin-top: 14px; font-size: 16px; line-height: 23px; color: #4F5B66; }
.hero-get { order: 4; display: flex; flex-direction: column; align-items: center; margin-top: 22px; width: 100%; }
.btn-start { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 17px; line-height: 22px; font-weight: 600; }
.btn-start:hover { background: #22323F; }
.or-open { margin-top: 12px; font-size: 14px; line-height: 18px; color: #6B7680; }
.or-open a { color: #2A6794; font-weight: 500; }
.or-open a:hover { text-decoration: underline; }

.cast { order: 3; display: flex; flex-direction: column; gap: 2px; margin-top: 20px; width: min(350px, 100%); container-type: inline-size; }
.cast-row { display: flex; flex-direction: column; gap: 2px; }
/* The phone's 2×2: each row is half of the four-bell picture, 350 × 176 at 390 wide, scaled below that. */
.cast-art { aspect-ratio: 350 / 176; background: var(--bells) no-repeat 0 calc(-30cqw / 3.5) / 200% auto; }
.cast-b .cast-art { background-position: 100% calc(-30cqw / 3.5); }
.cast-names { display: flex; font-size: 13px; line-height: 16px; font-weight: 600; }
.cast-names span { flex: 1 1 0; }
.s-accepted { color: #9C4F27; }
.s-progress { color: #2A6794; }
.s-check { color: #A67C12; }
.s-done { color: #45652A; }

/* ---------- 2 product ---------- */
.product {
  display: flex; flex-direction: column; align-items: center; gap: 32px; padding-top: 72px; overflow: clip;
  background-color: var(--night);
  background-image: radial-gradient(ellipse 90% 45% at 50% 100%, #D678426B 0%, #2A67942E 50%, #11182000 80%);
  background-image: radial-gradient(ellipse 90% 45% at 50% 100% in oklab, #D678426B 0%, #2A67942E 50%, #11182000 80%);
}
.center-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.product .kicker { font-weight: 500; }
.window {
  width: min(100% - 40px, 560px); aspect-ratio: 350 / 360; min-height: 0; padding: 7px 7px 0; overflow: clip;
  border-radius: 16px 16px 0 0; background: #2A3540; box-shadow: 0 -20px 80px #F0A87838;
}
.window-in { height: 100%; overflow: clip; border-radius: 10px 10px 0 0; }
.window-in img { width: 100%; height: auto; }

/* ---------- 3 what Pass does ---------- */
.does { padding-block: 72px; }
.does-head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.cards { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.card { display: flex; flex-direction: column; justify-content: space-between; height: 600px; overflow: clip; border-radius: 24px; color: var(--ink); }
.card-copy { display: flex; flex-direction: column; gap: 14px; padding: 24px 28px 0; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.card-top .bell { width: 132px; height: 102px; background-size: 533px 178px; }
.bell-1 { background-position: -134.4px -29.4px; }
.bell-2 { background-position: -266.4px -29.4px; }
.bell-3 { background-position: -397.8px -29.4px; }
.card h3 { font-size: 32px; line-height: 35px; font-weight: 600; letter-spacing: -0.03em; }
.card p { font-size: 16px; line-height: 24px; color: #2C3E4F; }
.shot {
  align-self: center; width: calc(100% - 56px); height: 290px; overflow: clip;
  border-radius: 14px 14px 0 0; box-shadow: 0 -6px 30px #14202B2E; background: #fff;
}
.shot-team { width: 479px; min-width: 100%; max-width: none; height: auto; }
.shot-question { width: 100%; height: auto; margin-top: -21.09%; }
.shot-check { width: 100%; height: auto; }

/* ---------- 4 AI agent ---------- */
.agent { padding-block: 72px; background: #F6F0E4; }
.agent-in { display: flex; flex-direction: column; gap: 20px; }
.agent-copy { display: contents; }
.agent .kicker { color: var(--rust); order: 1; }
.agent .title-l { order: 2; }
.agent .lead { order: 3; }
.agent-visual { order: 4; display: flex; flex-direction: column; align-items: flex-end; padding-top: 8px; }
.agent-steps { order: 5; display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.bell-agent { width: 158px; height: 122px; background-size: 639px 213px; background-position: -3.6px -35px; }
.agent-shot { width: 100%; aspect-ratio: 350 / 200; min-height: 0; overflow: clip; border: 1px solid #E3D5BD; border-radius: 14px; box-shadow: 0 14px 40px #22384B24; }
.agent-shot img { width: 100%; height: 100%; }
.agent-steps li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 8px; font-size: 16px; line-height: 20px; font-weight: 500; }
.agent-steps .num {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: 13px; line-height: 16px; font-weight: 600;
}
.agent-steps .step-paste { display: grid; grid-template-columns: 28px 1fr; }
.agent-steps .step-paste code { grid-column: 1 / -1; justify-self: start; }
.agent-steps code {
  padding: 7px 12px; border: 1px solid #E3D5BD; border-radius: 9px; background: #ECE4D4;
  color: #22384B; font-size: 15px; line-height: 18px; font-weight: 400; white-space: nowrap;
}
.agent-names { display: flex; gap: 8px; padding-top: 18px; }
.agent-names li { padding: 7px 12px; border: 1px solid #E3D5BD; border-radius: 999px; background: #FFFAF1; color: #22384B; font-size: 14px; line-height: 18px; font-weight: 500; }

/* ---------- 5 how to start ---------- */
.start { padding-block: 72px; }
.start-copy { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.steps { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.step {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "chip count" "bell bell" "title title" "text text";
  row-gap: 6px; padding: 20px 22px 24px; border-radius: 22px; color: var(--ink);
}
.step .chip { grid-area: chip; align-self: center; }
.step-count { grid-area: count; align-self: center; font-family: var(--mono); font-size: 12px; line-height: 16px; }
.step-bell { grid-area: bell; justify-self: end; width: 132px; height: 100px; background-size: 533px 178px; }
.bell-s0 { background-position: -3px -29.4px; }
.bell-s1 { background-position: -134.4px -29.4px; }
.bell-s3 { background-position: -397.8px -29.4px; }
.step h3 { grid-area: title; font-size: 30px; line-height: 33px; font-weight: 600; letter-spacing: -0.03em; }
.step p { grid-area: text; font-size: 15px; line-height: 22px; color: #22343F; }
.step.c-peach p { color: #3D3229; }

/* ---------- 6 get Pass ---------- */
.get { padding-block: 72px; background: #fff; }
.get-head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.platforms { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.platform { display: flex; flex-direction: column; justify-content: space-between; height: 272px; padding: 24px; border-radius: 24px; color: var(--ink); }
.platform svg { flex-shrink: 0; }
.platform-copy { display: flex; flex-direction: column; gap: 8px; }
.platform h3 { font-size: 36px; line-height: 38px; font-weight: 600; letter-spacing: -0.03em; }
.platform p { font-size: 15px; line-height: 18px; color: #22343F; }
.platform.c-peach p { color: #3D3229; }
.platform.c-mustard p { color: #3F3418; }
.btn-open { align-self: flex-start; margin-top: 22px; height: 54px; border-radius: 12px; color: #fff; }
.btn-open { display: inline-flex; align-items: center; padding: 0 20px; background: var(--ink); font-size: 17px; line-height: 22px; font-weight: 600; }
.btn-open:hover { background: #22323F; }

/* ---------- 7 final ---------- */
.final { position: relative; height: 560px; overflow: clip; }
.field { position: absolute; top: 16px; left: 0; right: 0; display: flex; flex-direction: column; gap: 21px; }
.field-row { height: 71px; background: var(--bells) repeat-x 0 -21.5px / 390px 130px; }
.field-row.alt { background-position: -195px -21.5px; }
.final-center {
  position: absolute; top: 80px; left: 0; width: 100%; height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center;
  background-image: radial-gradient(ellipse 80% 55% at 50% 50%, #111820FA 0%, #111820F5 60%, #11182000 100%);
  background-image: radial-gradient(ellipse 80% 55% at 50% 50% in oklab, #111820FA 0%, #111820F5 60%, #11182000 100%);
}
.final-title { font-size: 40px; line-height: 43px; font-weight: 600; letter-spacing: -0.035em; white-space: pre-wrap; }
.final-sub { width: 280px; font-size: 15px; line-height: 22px; color: #B9C4CE; }
.final-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 4px; }
.btn-white { display: inline-flex; padding: 12px 22px; border-radius: 12px; background: #fff; color: var(--night); font-size: 16px; line-height: 20px; font-weight: 600; }
.btn-white:hover { background: #E9EDF0; }
.btn-ghost { display: inline-flex; padding: 13px 22px; border: 1px solid #3A4856; border-radius: 12px; background: #11182099; color: #fff; font-size: 16px; line-height: 20px; font-weight: 500; }
.btn-ghost:hover { border-color: #5A6876; }
.link-soft { font-size: 14px; line-height: 18px; color: #D5DDE4; }
.link-soft:hover { color: #fff; }

/* ---------- 8 footer ---------- */
.foot { padding: 56px 0 32px; border-top: 1px solid #222E39; }
.foot .wrap { display: flex; flex-direction: column; gap: 36px; }
.foot-top { display: flex; flex-direction: column; gap: 36px; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot .brand { gap: 10px; }
.foot .brand .logo { width: 30px; height: 30px; }
.foot .brand-name { font-size: 19px; line-height: 24px; }
.foot-line { font-size: 22px; line-height: 29px; font-weight: 500; letter-spacing: -0.02em; }
.foot-cols { display: flex; gap: 40px; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 18px; color: #D5DDE4; }
.foot-col a:hover, .foot-legal a:hover { color: #fff; }
.foot-h { font-family: var(--mono); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.1em; color: #7F8C97; }
.foot-bottom { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid #222E39; }
.foot-legal { order: 1; display: flex; gap: 22px; font-size: 14px; line-height: 18px; color: #D5DDE4; }
.copy { order: 2; font-size: 14px; line-height: 18px; color: #7F8C97; }

/* ================= desktop artboard (1440) ================= */
@media (min-width: 1100px) {
  .wrap { width: min(1200px, 100% - 80px); }
  .kicker { font-size: 13px; line-height: 16px; }
  .title-l { font-size: 56px; line-height: 60px; }
  .lead { font-size: 18px; line-height: 27px; }

  .nav { padding: 24px 56px; }
  .brand { gap: 10px; }
  .brand .logo { width: 30px; height: 30px; }
  .brand-name { font-size: 19px; line-height: 24px; }
  .nav-links .btn-dark { padding: 9px 16px; border-radius: 11px; }

  .hero { padding: 72px 120px 64px; }
  .hero-title { font-size: 76px; line-height: 80px; }
  .hero-sub { width: 620px; max-width: 100%; margin-top: 20px; font-size: 19px; line-height: 28px; }
  .hero-get { order: 0; margin-top: 26px; }
  .btn-start { height: 54px; padding: 0 32px; }
  .cast { order: 0; gap: 6px; margin-top: 36px; width: min(1080px, 100%); }
  .cast-row { gap: 6px; }
  .cast-art { aspect-ratio: auto; height: 318px; background-size: cover; background-position: 50%; }
  .cast-names { font-size: 14px; line-height: 18px; letter-spacing: 0.02em; }

  .product { gap: 56px; padding-top: 120px; background-image: radial-gradient(ellipse 70% 55% at 50% 100%, #D678426B 0%, #2A67942E 45%, #11182000 75%); background-image: radial-gradient(ellipse 70% 55% at 50% 100% in oklab, #D678426B 0%, #2A67942E 45%, #11182000 75%); }
  .center-head { gap: 18px; }
  .title-xl { font-size: 64px; line-height: 68px; }
  .product .lead { width: 640px; max-width: 100%; font-size: 19px; line-height: 28px; }
  .window { width: min(1200px, 100% - 80px); aspect-ratio: 1200 / 640; padding: 10px 10px 0; border-radius: 20px 20px 0 0; box-shadow: 0 -30px 120px #F0A87838; }
  .window-in { border-radius: 12px 12px 0 0; }

  .does { padding-block: 120px; }
  .does-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 0; }
  .does-head .title-l { flex: 0 1 620px; }
  .does-head .lead { flex: 0 1 460px; }
  .cards { flex-direction: row; gap: 24px; margin-top: 48px; }
  .card { flex: 1 1 0; min-width: 0; height: 660px; }
  .shot { height: 300px; }
  .shot-question { margin-top: -21.34%; }

  .agent { padding-block: 128px; }
  .agent-in { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
  .agent-copy { display: flex; flex-direction: column; gap: 22px; flex: 0 1 500px; min-width: 0; }
  .agent-visual { flex: 0 1 620px; min-width: 0; padding-top: 0; }
  .agent-steps { padding-top: 6px; }
  .bell-agent { width: 220px; height: 170px; background-size: 888px 296px; background-position: -5px -49px; }
  .agent-shot { aspect-ratio: 620 / 356; border-radius: 18px; box-shadow: 0 20px 60px #22384B24; }
  .agent-steps li { column-gap: 14px; font-size: 17px; line-height: 22px; }
  .agent-steps .num { width: 30px; height: 30px; border-radius: 15px; font-size: 14px; line-height: 18px; }
  .agent-steps code { padding: 6px 12px; }
  .agent-steps .step-paste { display: flex; }

  .start { padding-block: 128px; }
  .start-in { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
  .start-copy { flex: 0 1 420px; gap: 22px; padding: 8px 0 0; }
  .start-toc { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
  .start-toc li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 18px; color: #7F8C97; }
  .start-toc .tick { width: 2px; height: 20px; flex-shrink: 0; background: #3A4856; }
  .start-toc .mono { font-family: var(--mono); font-size: 13px; line-height: 16px; }
  .start-toc li.on { color: #fff; }
  .start-toc li.on .tick { background: var(--peach-text); }
  .steps { flex: 0 1 680px; min-width: 0; gap: 20px; margin-top: 0; }
  .step {
    height: 300px; padding: 26px 30px 32px; border-radius: 24px; row-gap: 0;
    grid-template-columns: minmax(0, 400px) 1fr; grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "chip count" ". bell" "title bell" "text bell";
  }
  .step .chip { align-self: start; }
  .step-count { justify-self: end; align-self: start; font-size: 13px; }
  .step-bell { align-self: end; width: 198px; height: 150px; background-size: 799px 266px; }
  .bell-s0 { background-position: -4.5px -44px; }
  .bell-s1 { background-position: -201.6px -44px; }
  .bell-s3 { background-position: -596.7px -44px; }
  .step h3 { font-size: 44px; line-height: 46px; letter-spacing: -0.035em; }
  .step p { margin-top: 10px; font-size: 16px; line-height: 24px; }

  .get { padding-block: 128px; }
  .get-head { width: 640px; max-width: 100%; gap: 16px; padding-bottom: 0; }
  .platforms { flex-direction: row; gap: 24px; margin-top: 48px; }
  .platform { flex: 1 1 0; min-width: 0; height: 340px; padding: 28px; }

  .final { height: 620px; }
  .field { top: 28px; gap: 27px; }
  .field-row { height: 87px; background-size: 480px 160px; background-position: 0 -26.5px; }
  .field-row.alt { background-position: -240px -26.5px; }
  .final-center {
    top: 90px; left: 50%; width: 1000px; max-width: 100%; height: 440px; transform: translateX(-50%); gap: 22px;
    background-image: radial-gradient(ellipse 52% 52% at 50% 50%, #111820FA 0%, #111820F5 62%, #11182000 100%);
    background-image: radial-gradient(ellipse 52% 52% at 50% 50% in oklab, #111820FA 0%, #111820F5 62%, #11182000 100%);
  }
  .final-title { font-size: 72px; line-height: 76px; }
  .final-sub { width: 520px; font-size: 18px; line-height: 27px; }
  .final-cta { flex-direction: row; gap: 12px; padding-top: 6px; }
  .btn-white { padding: 13px 22px; }

  .foot { padding: 88px 0 40px; }
  .foot .wrap { gap: 64px; }
  .foot-top { flex-direction: row; justify-content: space-between; gap: 40px; }
  .foot-brand { flex: 0 1 520px; gap: 26px; }
  .foot .brand .logo { width: 32px; height: 32px; }
  .foot .brand-name { font-size: 20px; line-height: 24px; }
  .foot-line { font-size: 30px; line-height: 38px; }
  .foot-cols { gap: 72px; padding-top: 6px; }
  .foot-col { gap: 14px; }
  .foot-h { font-size: 12px; line-height: 16px; }
  .foot-bottom { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 24px; }
  .foot-legal { order: 2; gap: 24px; color: #7F8C97; }
  .copy { order: 1; }
}
