/* Tomeil — public site
 *
 * No framework, no CDN fonts, no JavaScript anywhere.
 * That is not frugality: this site states that it carries no trackers, and a claim like
 * that is only worth printing if the Network tab genuinely shows zero third-party
 * requests. The check takes ten seconds, and the people who come here are the checking
 * kind.
 *
 * Accepted consequence: Inter — the product's brand typeface — is not used here, because
 * loading it means one request to fonts.gstatic.com. The system stack below yields SF Pro
 * on Apple and Segoe on Windows; both sit in the same family of feeling as Inter.
 */

:root {
  --bg: #ffffff;
  --surface: #f7f6fa;
  --surface-2: #f1eff6;
  --text: #16151b;
  --muted: #5e5b6a;
  --hair: rgba(22, 21, 27, .10);
  --hair-strong: rgba(22, 21, 27, .17);
  --brand: #645c96;
  --brand-strong: #504a78;
  --radius: 10px;
  --width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #16181d;
    --surface-2: #1b1e24;
    --text: #e9e8ef;
    --muted: #9c99a9;
    --hair: rgba(255, 255, 255, .10);
    --hair-strong: rgba(255, 255, 255, .18);
    --brand: #928db6;
    --brand-strong: #b2aeca;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-strong); }

code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.header {
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.header-inner { display: flex; align-items: center; gap: 18px; height: 66px; }

.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17.5px; letter-spacing: -.015em;
  color: var(--text); text-decoration: none; margin-right: auto;
}

.badge {
  width: 32px; height: 32px; border-radius: 7px;
  background: linear-gradient(135deg, #8880b0, #564d8a);
  display: grid; place-items: center; color: #fff; flex: none;
}

.nav { display: flex; align-items: center; gap: 24px; font-size: 14.5px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

@media (max-width: 680px) {
  .nav { gap: 18px; font-size: 14px; }
  .nav .hide-sm { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 24px; border-radius: 9px;
  font-size: 15.5px; font-weight: 500; text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover { background: #413c63; color: #fff; }

@media (prefers-color-scheme: dark) {
  .btn-primary { background: var(--brand); color: #14131a; }
  .btn-primary:hover { background: #a8a3c8; color: #14131a; }
}

.btn-secondary { border-color: var(--hair-strong); color: var(--text); }
.btn-secondary:hover { border-color: var(--brand); color: var(--text); }

/* ---------- Hero ---------- */

.hero { padding: 86px 0 64px; text-align: center; }

.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 600;
  margin: 0 auto 20px;
  max-width: 15ch;
}

.hero p {
  font-size: clamp(16.5px, 2.2vw, 19px);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 32px;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Product shot ---------- */

.stage { padding: 0 0 86px; }

.window {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--hair);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(22, 21, 27, .10), 0 2px 6px rgba(22, 21, 27, .05);
}

@media (prefers-color-scheme: dark) {
  .window { box-shadow: 0 24px 70px rgba(0, 0, 0, .55); }
}

.window-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--hair);
  background: var(--surface);
  font-size: 13px; color: var(--muted);
}

.msg {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 15px 20px;
  border-bottom: 1px solid var(--hair);
  font-size: 14.5px;
}
.msg:last-child { border-bottom: 0; }

.msg-from { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-body { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-body span { color: var(--muted); font-weight: 400; }
.msg-time { color: var(--muted); font-size: 13px; white-space: nowrap; }

.msg-read .msg-from { font-weight: 400; color: var(--muted); }
.msg-read .msg-body { color: var(--muted); }

@media (max-width: 640px) {
  .msg { grid-template-columns: 1fr auto; gap: 4px 14px; padding: 13px 16px; }
  .msg-body { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.band { background: var(--surface); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }

.section-head { text-align: center; max-width: 54ch; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(25px, 3.4vw, 34px);
  letter-spacing: -.025em; font-weight: 600; margin: 0 0 12px; line-height: 1.2;
}
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Feature cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; gap: 16px; } }

.card {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--bg);
}

.card-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--surface-2);
  color: var(--brand);
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 7px; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.8px; }

/* ---------- Split ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.split h2 { font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -.025em; font-weight: 600; margin: 0 0 14px; line-height: 1.2; }
.split p { color: var(--muted); margin: 0 0 14px; max-width: 48ch; }

.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 13px; color: var(--muted); }
.checks li strong { color: var(--text); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .52em;
  width: 11px; height: 6px;
  border-left: 1.8px solid var(--brand);
  border-bottom: 1.8px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }

details { border-bottom: 1px solid var(--hair); }
details:first-of-type { border-top: 1px solid var(--hair); }

summary {
  cursor: pointer; padding: 18px 32px 18px 0;
  font-weight: 500; list-style: none; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 18px; color: var(--muted); max-width: 68ch; }

/* ---------- Closing call to action ---------- */

.cta { text-align: center; padding: 86px 0; }
.cta h2 { font-size: clamp(25px, 3.4vw, 34px); letter-spacing: -.025em; font-weight: 600; margin: 0 0 14px; }
.cta p { color: var(--muted); max-width: 50ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--hair); padding: 44px 0 56px; font-size: 14px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 22px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; }
.footer p { margin: 0 0 8px; max-width: 74ch; }

/* ---------- Narrow pages ---------- */

.page { padding: 84px 0 48px; max-width: 70ch; }
.page h1 { font-size: clamp(28px, 4.6vw, 40px); letter-spacing: -.028em; font-weight: 600; margin: 0 0 18px; line-height: 1.14; }
.page h2 { font-size: 18px; font-weight: 600; margin: 36px 0 8px; }
.page p { color: var(--muted); }
.page p.lead { color: var(--text); font-size: 17px; }
.page ul { color: var(--muted); padding-left: 20px; }
.page li { margin-bottom: 6px; }

.note {
  border: 1px solid var(--hair);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px 22px;
  margin: 28px 0;
}
.note h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.note p { margin: 0; max-width: 66ch; }
.note p + p { margin-top: 10px; }

.url-full { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
