@font-face { font-family: "Outfit"; font-weight: 100 900; src: url(/fonts/Outfit.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 100 900; src: url(/fonts/Inter.ttf) format("truetype"); font-display: swap; }

:root {
  --bg: #12141C; --bg2: #191C27; --line: #2A2E3D; --text: #F4EFE6; --mute: #A7ABBA;
  --sun: #FFC845; --coral: #FF6B5B; --teal: #2EC4B6;
  --head: "Outfit", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --w: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
section { max-width: var(--w); margin: 0 auto; padding: 96px 24px 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { display: none; }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(24px, calc((100vw - var(--w)) / 2 + 24px)); background: rgba(18, 20, 28, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 20px var(--head); text-decoration: none; }
.brand img { display: block; }
.brand span { color: var(--mute); font-weight: 500; margin-left: -4px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--mute); }
.top nav a:hover { color: var(--text); }
.top nav a.pill { color: var(--bg); background: var(--sun); padding: 8px 16px; border-radius: 99px; font-weight: 600; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 72px; }
.kicker { color: var(--sun); font: 600 14px var(--body); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; }
h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; }
h1 em { font-style: normal; color: var(--sun); }
.lead { font-size: 19px; color: #D9D6CF; margin: 22px 0 30px; max-width: 34em; }
.join { display: flex; gap: 10px; max-width: 470px; }
.join input[type=email] { flex: 1; min-width: 0; font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.join input[type=email]:focus { outline: 2px solid var(--sun); outline-offset: 1px; border-color: transparent; }
.join button { font: 600 16px var(--body); color: var(--bg); background: var(--sun); border: 0; border-radius: 12px; padding: 14px 20px; cursor: pointer; white-space: nowrap; }
.join button:hover { background: #FFD66E; }
.fine { color: var(--mute); font-size: 14px; margin: 12px 0 0; }
.phones { display: flex; gap: 16px; justify-content: center; }
.phones video { width: 31%; max-width: 200px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; border: 3px solid #2E3242; background: #000; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.phones video:nth-child(2) { transform: translateY(-28px); }

.proof { padding-top: 72px; }
.proof p { margin: 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg2); color: #D9D6CF; font-size: 17px; }

/* style grid */
.sub { color: var(--mute); margin: 14px 0 32px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.tile { all: unset; cursor: pointer; display: block; border-radius: 16px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.tile:hover, .tile:focus-visible { transform: translateY(-3px); border-color: #4A5068; }
.tile:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.tile .pic { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; }
.tile .pic::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(18, 20, 28, .78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23F4EFE6'/%3E%3C/svg%3E") center / 22px no-repeat; }
.tile .txt { padding: 14px 16px 18px; }
.tile h3 { font-size: 19px; }
.tile p { margin: 6px 0 0; color: var(--mute); font-size: 14.5px; line-height: 1.5; }

/* one video, several styles */
.mix { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.mix-text p { color: #D9D6CF; margin: 18px 0 0; }
.mix > * { min-width: 0; }
.mix-video { margin: 0; }
.mix-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid var(--line); background: #000; }
.mix-video figcaption { color: var(--mute); font-size: 14px; margin-top: 10px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { padding: 24px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); }
.steps .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: var(--bg); font: 700 17px var(--head); margin-bottom: 16px; }
.steps p { color: var(--mute); margin: 10px 0 0; font-size: 15.5px; }

/* features */
.cards { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 26px; border-radius: 16px; border: 1px solid var(--line); }
.card h3 { color: var(--sun); }
.card p { color: #CFCBC3; margin: 10px 0 0; font-size: 15.5px; }

/* faq */
.faq h2 { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 820px; }
summary { cursor: pointer; font: 600 19px var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--sun); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: #CFCBC3; margin: 12px 0 0; max-width: 46em; }

/* final */
.final { text-align: center; padding-bottom: 40px; }
.final > p { color: var(--mute); margin: 12px 0 26px; }
.final .join { margin: 0 auto; }

footer { max-width: var(--w); margin: 80px auto 0; padding: 28px 24px 48px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13.5px; }
footer p { margin: 6px 0; }

/* player */
dialog { width: min(1000px, 94vw); max-height: 94vh; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--bg2); color: var(--text); }
dialog::backdrop { background: rgba(6, 7, 11, .82); }
.pl-head { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.pl-head h3 { flex: 1; }
.tabs { display: flex; background: var(--bg); border-radius: 99px; padding: 4px; }
.tabs button, .close { font: 600 14px var(--body); color: var(--mute); background: none; border: 0; padding: 7px 16px; border-radius: 99px; cursor: pointer; }
.tabs button.on { background: var(--sun); color: var(--bg); }
.close { font-size: 26px; padding: 0 8px; color: var(--text); }
.pl-body { background: #000; display: flex; justify-content: center; }
.pl-body video { display: block; width: 100%; max-height: 74vh; }
.pl-body video.short { width: auto; height: 74vh; max-width: 100%; }
.pl-good { margin: 0; padding: 12px 18px 16px; color: var(--mute); font-size: 14.5px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .phones { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .mix { grid-template-columns: 1fr; gap: 28px; }
  .top nav a:not(.pill) { display: none; }
  section { padding-top: 72px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top { padding: 12px 16px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .top nav a.pill { white-space: nowrap; padding: 8px 14px; font-size: 14px; }
  .join { flex-direction: column; }
  .steps, .cards { grid-template-columns: 1fr; }
  .phones video:nth-child(2) { transform: translateY(-14px); }
  .pl-body video.short { height: 70vh; }
}
@media (max-width: 370px) {
  .top { padding: 12px 12px; }
  .brand { font-size: 16px; gap: 6px; }
  .brand img { width: 24px; height: 24px; }
  .top nav a.pill { padding: 7px 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile { transition: none; } }
