/* TalkToMyCams site. Layout: one centered column, 1248px max; hero is text left, chat demo right. */
:root {
  --bg: #ECEEF1;
  --ink: #0F1319;
  --muted: #47505C;
  --line: #D5D9DF;
  --card: #FFFFFF;
  --soft: #F0F1F3;
  --blue: #A6CFF9;
  --blue-deep: #3F8DEB;
  --rec: #FF3B30;
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -0.03em; line-height: 1; text-decoration: none; }
.brand svg { height: 38px; width: auto; flex: none; }
.links { display: flex; gap: 36px; font-weight: 500; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 17px/1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: #232A34; }
.btn.big { min-height: 68px; padding: 0 40px; font-size: 21px; }
.btn.blue { background: var(--blue); color: var(--ink); }
.btn.blue:hover { background: #93C3F5; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 28px 72px; }
h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(50px, 8.2vw, 112px); line-height: 0.92; letter-spacing: -0.04em; text-wrap: balance; }
.lead { margin: 28px 0 0; max-width: 520px; font-size: clamp(18px, 1.9vw, 25px); line-height: 1.38; font-weight: 500; letter-spacing: -0.015em; color: var(--muted); }
.cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.works { margin: 36px 0 0; font-size: 15px; font-weight: 500; color: var(--muted); }
.stage { border-radius: 56px; padding: clamp(18px, 4vw, 52px); background: linear-gradient(160deg, #3F8DEB 0%, #7DB6F5 50%, #C9E1FA 100%); }
.win { background: var(--card); border-radius: 30px; box-shadow: 0 0 0 7px rgba(255,255,255,.45), 0 30px 70px rgba(15,40,90,.28); overflow: hidden; }
.wb { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 58px; padding: 0 22px; border-bottom: 1px solid #EEF0F2; font-weight: 600; }
.ham { display: flex; flex-direction: column; gap: 5px; }
.ham i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 1px; }
.ham i:last-child { width: 12px; }
.conn { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--soft); font-size: 13.5px; }
.conn svg { height: 20px; width: auto; }
.wm { padding: 22px clamp(16px, 4vw, 36px) 6px; }
.wq { margin: 0 0 18px auto; width: fit-content; max-width: 100%; background: var(--soft); border-radius: 22px; padding: 11px 18px; }
.via { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: #4A5360; }
.via svg { height: 20px; width: auto; flex: none; }
.wt { margin: 0 0 12px; }
.pic { position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 12px; background: #1B222C; aspect-ratio: 16 / 8.6; }
.pic svg { display: block; width: 100%; height: 100%; }
.pic span { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(0,0,0,.7); color: #fff; font-size: 13px; font-weight: 500; }
.pic span i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); }
.wc { display: flex; align-items: center; gap: 12px; margin: 0 clamp(16px, 4vw, 36px) 20px; height: 54px; padding: 0 10px 0 20px; border-radius: 999px; background: var(--soft); color: #7A828D; }
.wc b { margin-left: auto; display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); }

/* sections */
section { padding-block: 64px; }
h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.6vw, 60px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.intro { margin: 0 0 36px; max-width: 640px; font-size: 20px; color: var(--muted); }
.asks { display: flex; flex-wrap: wrap; gap: 12px; }
.asks span { padding: 14px 22px; border-radius: 999px; background: var(--card); font-size: 19px; font-weight: 500; }
.asks span:nth-child(3n+2) { background: var(--ink); color: #fff; }
.asks span:nth-child(3n) { background: var(--blue); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border-radius: 30px; padding: 30px 28px 32px; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 50%; background: var(--blue); font: 800 20px/1 var(--display); }
.steps h3 { margin: 0 0 8px; font: 800 26px/1.05 var(--display); letter-spacing: -0.025em; }
.steps p { margin: 0; color: var(--muted); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel { background: var(--card); border-radius: 30px; padding: 32px 30px; }
.panel.dark { background: var(--ink); color: #fff; }
.panel h3 { margin: 0 0 12px; font: 800 28px/1.05 var(--display); letter-spacing: -0.025em; }
.panel ul { margin: 0; padding-left: 20px; }
.panel li { margin: 6px 0; }
.panel p { margin: 0 0 12px; }
.price { font: 800 clamp(56px, 8vw, 96px)/0.95 var(--display); letter-spacing: -0.04em; }
.price small { font: 500 20px/1.3 var(--body); letter-spacing: 0; display: block; margin-top: 10px; color: #C9D1DB; }
.panel.dark p { color: #C9D1DB; }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 24px; padding-block: 34px 44px; font-size: 15px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot p { margin: 0; max-width: 520px; }

/* legal and simple pages */
.doc { max-width: 760px; padding-block: 28px 80px; }
.doc h1 { font-size: clamp(42px, 6.4vw, 76px); margin-bottom: 14px; }
.doc .date { margin: 0 0 36px; color: var(--muted); }
.doc h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; margin: 44px 0 12px; }
.doc p, .doc li { color: #232B36; }
.doc ul { padding-left: 22px; }
.doc li { margin: 7px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.tablebox { overflow-x: auto; }
.note { background: var(--card); border-radius: 22px; padding: 20px 24px; margin: 24px 0; }

/* form */
form { display: grid; gap: 18px; margin-top: 28px; }
label { display: grid; gap: 8px; font-weight: 600; }
input[type=text], input[type=email], textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); font: 400 17px/1.4 var(--body); }
textarea { min-height: 170px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; font-weight: 600; }
.status.err { color: #A3261D; }
.done { background: var(--card); border-radius: 26px; padding: 30px; }
.ok { width: 60px; height: 60px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-size: 30px; margin-bottom: 18px; }

@media (max-width: 900px) {
  .links { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 12px 48px; }
  .stage { border-radius: 36px; }
  .steps, .two { grid-template-columns: minmax(0, 1fr); }
  section { padding-block: 44px; }
  .cta .btn.big { flex: 1 1 100%; }
  .brand { font-size: 20px; } .brand svg { height: 30px; }
  .nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
