/* Simple layout: cool white page with a faint dot grid, solid white panels, plain header, navy footer. Colors from the logo. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../assets/fonts/inter-latin.woff2') format('woff2'); }

:root { --ink: #1d1d1f; --text: #475569; --muted: #6b7280; --dark: #0f172a; --blue: #0880d0; --orange: #f0a020; --line: #dfe6ef; --soft: #eef3f9; --page: #f4f7fb; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); line-height: 1.6;
  background-color: var(--page);
  background-image: radial-gradient(#cfd9e6 1px, transparent 1px); background-size: 22px 22px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
code { font: .88em ui-monospace, SFMono-Regular, Menlo, monospace; background: #eef2f7; padding: 2px 6px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--dark); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.container { width: 95%; max-width: 1200px; margin-inline: auto; }
main { width: 100%; }

/* header */
.site-header { width: 100%; background: #fff; border-top: 3px solid var(--orange); border-bottom: 1px solid var(--line); padding: 10px 0; position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 40px; height: 40px; display: inline-grid; place-items: center; flex: none; }
.brand-logo img { width: 32px; height: auto; }
.brand-title { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.brand-subtitle { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.nav-menu { display: flex; gap: 6px; }
.nav-link { color: var(--ink); text-decoration: none; font-size: 15px; padding: 8px 12px; border-bottom: 2px solid transparent; }
.nav-link:hover { border-bottom-color: var(--blue); color: var(--blue); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 10px; border: 1px solid #c9d4e2; background: #fff; color: var(--ink); font: 600 15px/1.2 inherit; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--dark); }
.btn.dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn.dark:hover { background: var(--blue); border-color: var(--blue); }

/* big white panels */
.panel { width: 95%; max-width: 1200px; margin: 20px auto; padding: 40px clamp(20px, 5vw, 56px); border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); text-align: center; }
.panel h1 { margin: 0 0 10px; font-size: clamp(28px, 4.6vw, 44px); line-height: 1.15; letter-spacing: -.03em; color: var(--dark); }
.panel h2 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.2; letter-spacing: -.025em; color: var(--dark); }
h3 { margin: 0 0 6px; font-size: 17px; color: var(--dark); }
.sub { max-width: 760px; margin: 0 auto 22px; color: var(--text); font-size: 17px; }
.small { font-size: 14px; color: var(--muted); max-width: 760px; margin: 18px auto 0; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 28px; }
.actions.left { justify-content: center; margin: 22px 0 0; }
.notice { max-width: 860px; margin: 0 auto 22px; padding: 12px 16px; border-radius: 14px; background: #eaf4fc; color: var(--dark); font-size: 14.5px; border: 1px solid #cfe5f6; }

/* video */
.video { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--dark); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; color: #cbd5e1; background: var(--dark); }
.video-empty strong { color: #fff; font-size: 20px; }
.video-empty span { font-size: 14px; max-width: 46ch; }
.video-empty code { background: rgba(255, 255, 255, .14); color: #fff; }
.play { width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.play svg { width: 30px; height: 30px; fill: #fff; }

/* demo */
.btn.big { padding: 14px 28px; font-size: 16px; }
.hint { max-width: 640px; margin: 0 auto 18px; padding: 10px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f5d58a; color: #7a5a00; font-size: 14px; }
.hint.flash { animation: flash 1.2s ease 2; }
@keyframes flash { 50% { background: #ffe29a; border-color: #e2a400; } }
.try-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 8px auto 0; text-align: left; }
.try-grid > div { padding: 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.try-grid p { margin: 6px 0 0; color: var(--text); font-size: 14.5px; }
.n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 13px; font-weight: 700; margin-right: 8px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.card { padding: 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.card p { margin: 0; color: var(--text); font-size: 15px; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--soft); color: var(--dark); margin-bottom: 12px; }
.ico .icon { width: 22px; height: 22px; fill: currentColor; }

/* extension */
.ext { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; text-align: left; max-width: 980px; margin: 0 auto; }
.steps { margin: 0; padding-left: 22px; color: var(--text); } .steps li { margin: 10px 0; }
.shot { border-radius: 12px; border: 1px solid var(--line); }

/* team */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.person { padding: 26px 22px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.person p { margin: 6px 0 0; color: var(--text); font-size: 15px; }
.person .role { color: var(--blue); font-weight: 600; margin: 0 0 4px; }
.avatar { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 30px; font-weight: 800; overflow: hidden; margin-bottom: 8px; }
.avatar.two { background: var(--orange); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.links { display: flex; gap: 14px; margin-top: 8px !important; } .links a { font-weight: 600; font-size: 14px; }
.links .icon-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #0a66c2; color: #fff; transition: transform .15s, background .15s; } .links .icon-link:hover, .links .icon-link:focus-visible { background: #004182; transform: translateY(-1px); }

/* footer */
.site-footer { width: 100%; margin-top: 36px; padding: 48px 0 24px; background: #0b1220; color: #fff; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: #cbd5e1; max-width: 38ch; font-size: 14.5px; margin: 14px 0 0; }
.brand.light { color: #fff; } .brand.light .brand-title { color: #fff; }
.foot h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; }
.foot a:not(.brand) { display: block; padding: 4px 0; color: #fff; text-decoration: none; font-size: 15px; }
.foot a:not(.brand):hover { text-decoration: underline; }
.legal a { color: #cbd5e1; }
.legal { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); color: #94a3b8; font-size: 13.5px; }
.top { color: #fff; text-decoration: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); font-size: 18px; }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .ext { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-header .container { flex-wrap: wrap; }
  .site-header .btn { display: none; }
  .nav-menu { width: 100%; justify-content: center; }
  .nav-link { padding: 8px 12px; font-size: 13px; }
  .people { grid-template-columns: 1fr; }
  .panel { padding: 28px 18px; }
  .try-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
