/* traicee.com — shared styles for the marketing pages. Colors match the app. */
:root {
  --ink: #1c1c28; --muted: #5a5c6b; --line: #e4e4eb; --bg: #f5f5f8; --card: #fff;
  --brand: #0b7a6c; --brand-dark: #096459; --brand-ink: #06433b; --brand-soft: #e4f0ef;
  --ok: #067647; --ok-soft: #dcfae6; --warn: #93370d; --warn-soft: #fef0c7; --bad: #b42318; --bad-soft: #fee4e2;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--ink); }
.logo img { width: 40px; height: 40px; border-radius: 50%; }
.top nav { display: flex; gap: 24px; margin-left: auto; align-items: center; font-size: 15px; }
.top nav a { color: var(--ink); }
.top nav a.on { color: var(--brand); font-weight: 600; }
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); color: #fff; }
.btn.ghost { background: #fff; border-color: #d5d5de; color: var(--ink); }
.btn.big { font-size: 17px; padding: 14px 26px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
h1 { font-size: 50px; line-height: 1.08; margin: 12px 0 18px; letter-spacing: -.02em; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Product sketch in the hero (a simplified view of a file) */
.sketch { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(46,37,119,.14); padding: 22px; font-size: 14px; }
.sketch .addr { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.facts div { background: var(--bg); border-radius: 10px; padding: 9px 12px; }
.facts small { display: block; color: var(--muted); font-size: 12px; }
.facts b { font-size: 15px; }
.sk-h { font-weight: 700; margin: 14px 0 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sk-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f0f4; }
.sk-row:last-child { border-bottom: 0; }
.sk-src { color: var(--muted); font-size: 12px; }
.sk-ask { margin-top: 14px; background: var(--brand-soft); border-radius: 12px; padding: 12px 14px; }
.sk-ask .q { font-weight: 600; color: var(--brand-ink); }

/* Sections */
section.band { padding: 72px 0; }
section.band.alt { background: var(--bg); }
h2 { font-size: 36px; line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
.sub { font-size: 18px; color: var(--muted); margin: 0 0 36px; max-width: 720px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card h3 { margin: 10px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps .card::before { counter-increment: s; content: counter(s); display: flex; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; align-items: center; justify-content: center; }

/* Feature rows */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.feat:last-child { border-bottom: 0; }
.feat h3 { font-size: 26px; margin: 8px 0 10px; }
.feat p { color: var(--muted); font-size: 16px; margin: 0 0 10px; }
.feat ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink); font-size: 15px; }
.feat ul li { margin: 4px 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.plan.pop { border: 2px solid var(--brand); box-shadow: 0 18px 40px rgba(75,59,201,.14); position: relative; }
.plan.pop::before { content: "For teams"; position: absolute; top: -13px; left: 22px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan .name { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 6px 0 14px; font-size: 15px; flex: 1; }
.plan ul li { padding: 6px 0 6px 26px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan .btn { text-align: center; }
.allplans { margin-top: 28px; background: var(--bg); border-radius: 16px; padding: 22px 26px; }
.allplans h3 { margin: 0 0 10px; font-size: 17px; }
.allplans .cols { columns: 3; font-size: 15px; color: var(--ink); }
.allplans .cols div { break-inside: avoid; padding: 3px 0; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* Closing band and footer */
.closing { background: var(--brand-ink); color: #fff; text-align: center; padding: 64px 0; }
.closing h2 { color: #fff; }
.closing p { color: #d2dddc; font-size: 18px; margin: 0 0 24px; }
.closing .btn.primary { background: #fff; color: var(--brand-ink); }
footer { padding: 28px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
footer .wrap span { margin-left: auto; }

@media (max-width: 900px) {
  .hero .wrap, .feat, .grid2 { grid-template-columns: 1fr; }
  .grid3, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .allplans .cols { columns: 1; }
  h1 { font-size: 38px; }
  .top nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) { .grid3, .steps, .plans { grid-template-columns: 1fr; } }
.sub.center { margin-left: auto; margin-right: auto; }
.quote { margin: 26px 0 0; padding: 14px 18px; border-left: 4px solid var(--brand); background: rgba(255,255,255,.7); border-radius: 0 12px 12px 0; }
.quote blockquote { margin: 0; font-size: 17px; font-weight: 500; }
.quote figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Added for the full site: home video, About, legal pages, phone menu */
.video { position: relative; padding-bottom: 56.25%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(6,67,59,.16); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.founder { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.founder p { font-size: 17px; color: #33343f; line-height: 1.65; }
.founder-card { background: var(--bg); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.founder-card img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid #fff; margin-bottom: 8px; }
.founder-card > span { color: var(--brand); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.founder-card .stat { background: #fff; border-radius: 12px; padding: 12px 14px; width: 100%; margin-top: 8px; display: flex; flex-direction: column; }
.founder-card .stat span { font-size: 13px; color: var(--muted); }
.quote.mission { max-width: 760px; margin: 0 auto; }
.quote.mission blockquote { font-size: 22px; }
.legal .narrowtext { max-width: 820px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: #33343f; }
.legal .last-updated { color: var(--muted); font-size: 14px; }
.legal .contact-box { background: var(--bg); border-radius: 12px; padding: 18px 20px; margin-top: 28px; }
.menubtn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 20px; padding: 4px 10px; cursor: pointer; }
/* Interview Traicee */
.iv { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: Inter, system-ui, sans-serif; }
.iv-bubble { display: flex; align-items: center; gap: 10px; background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 8px 18px 8px 8px; font: 600 15px Inter, system-ui, sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgba(6,67,59,.3); }
.iv-bubble:hover { background: var(--brand-dark); }
.iv-bubble img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 3px; }
.iv.open .iv-bubble span { display: none; }
.iv.open .iv-bubble { padding: 8px; }
.iv-panel { width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 110px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(6,67,59,.22); display: flex; flex-direction: column; overflow: hidden; }
.iv-panel[hidden] { display: none; }
.iv-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--brand); color: #fff; }
.iv-head img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 3px; }
.iv-head b { display: block; font-size: 16px; }
.iv-head span { display: block; font-size: 12.5px; line-height: 1.3; opacity: .85; }
.iv-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.iv-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.iv-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; }
.iv-msg.you { align-self: flex-end; }
.iv-av { width: 26px; height: 26px; border-radius: 50%; background: #fff; padding: 2px; flex: none; }
.iv-text { padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.iv-msg.her .iv-text { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: #23242e; }
.iv-msg.you .iv-text { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.iv-msg.thinking .iv-text { color: var(--muted); }
.iv-starters { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 34px; }
.iv-chip { background: #fff; border: 1px solid var(--brand); color: var(--brand); border-radius: 999px; padding: 6px 11px; font: 500 13px Inter, system-ui, sans-serif; cursor: pointer; }
.iv-chip:hover { background: var(--brand-soft); }
.iv-offer { background: var(--brand-soft); border-radius: 12px; padding: 12px; margin-left: 34px; font-size: 14px; }
.iv-offer-t { font-weight: 600; color: var(--brand-ink); margin-bottom: 8px; }
.iv-offer form { display: flex; flex-direction: column; gap: 6px; }
.iv-offer input, .iv-ask input { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: 14px Inter, system-ui, sans-serif; min-width: 0; }
.iv-offer .btn { align-self: flex-start; }
.iv-start { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; }
.iv-err { color: #b42318; font-size: 13px; margin-top: 6px; }
.iv-ask { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.iv-ask input { flex: 1; }
.iv-ask .btn, .iv-offer .btn { padding: 9px 16px; font-size: 14px; }
.iv-foot { font-size: 11.5px; color: var(--muted); text-align: center; padding: 0 12px 10px; background: #fff; }
@media (max-width: 520px) { .iv { right: 12px; bottom: 12px; } .iv-panel { height: calc(100vh - 90px); } }
@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .menubtn { display: block; }
  .top nav { display: none; }
  body.menuopen .top .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  body.menuopen .top nav { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 14px; margin: 8px 0 4px; }
  body.menuopen .top nav a:not(.btn) { display: block; }
}
