/* tomac.app
   One stylesheet for both pages. Google-flavoured, white ground, no tints. */

:root {
  --blue: #1a73e8;
  --blue-dark: #1557b0;
  --red: #ea4335;
  --yellow: #fbbc04;
  --green: #34a853;
  --ink: #202124;
  --grey: #5f6368;
  --line: #e4e6ea;
  --wash: #f8f9fa;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: #fff;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- header ---- */

header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 12px; height: 62px; }
.bar img { width: 30px; height: 30px; display: block; }
.bar .name { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.bar nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.bar nav a {
  color: var(--grey); text-decoration: none; font-size: 14.5px; font-weight: 500;
}
.bar nav a:hover { color: var(--ink); }

/* ---- hero ---- */

.hero { padding: 78px 0 64px; text-align: center; }
.hero img.mark { width: 108px; height: 108px; margin-bottom: 26px; }
h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08; font-weight: 800; letter-spacing: -.035em;
  max-width: 17ch; margin: 0 auto;
}
.hero .sub {
  font-size: clamp(16px, 2.2vw, 19.5px); color: var(--grey);
  max-width: 58ch; margin: 22px auto 0;
}
.keycap {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em; font-weight: 600;
  background: #eef1f6; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 7px; color: #3c4043;
}

/* ---- download ---- */

.downloads {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px;
}
.badge {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 22px 12px 16px; border-radius: 12px;
  text-decoration: none; min-width: 236px;
  border: 1px solid var(--line); background: #fff; transition: .16s;
  /* Without this the inner text inherits the anchor's link colour and the
     store name renders blue, which reads as a broken button. */
  color: var(--ink);
}
.badge:hover { border-color: #c9ccd1; transform: translateY(-1px); }
.badge .slot {
  width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0;
  border: 1.5px dashed #b9bec6; background: var(--wash);
  display: flex; align-items: center; justify-content: center;
  font-size: 8.5px; color: #9aa0a6; text-align: center; line-height: 1.1;
}
.badge .txt { text-align: left; }
.badge .txt small {
  display: block; font-size: 11px; color: var(--grey); letter-spacing: .01em;
}
.badge .txt strong {
  display: block; font-size: 15px; font-weight: 650;
  letter-spacing: -.01em; color: var(--ink);
}
.badge.dark { background: var(--ink); border-color: var(--ink); }
.badge.dark .txt small { color: #b6b9bd; }
.badge.dark .txt strong { color: #fff; }
.badge.soon { cursor: default; }
.badge.soon:hover { border-color: var(--line); transform: none; }
.badge.dark.soon:hover { border-color: var(--ink); }
.badge.dark .slot { border-color: #55585c; background: #2b2d30; color: #8a8e93; }

.priceline { margin-top: 16px; font-size: 13.5px; color: var(--grey); }

/* ---- sections ---- */

section { padding: 62px 0; border-top: 1px solid var(--line); }
h2 {
  font-size: clamp(24px, 3.4vw, 32px); font-weight: 750;
  letter-spacing: -.028em; margin-bottom: 12px;
}
.lede { color: var(--grey); max-width: 62ch; font-size: 16.5px; }

.grid {
  display: grid; gap: 20px; margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; background: #fff;
}
.card .dot {
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 15px;
  display: flex; align-items: center; justify-content: center;
}
.card h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -.012em; margin-bottom: 7px; }
.card p { font-size: 14.5px; color: var(--grey); line-height: 1.6; }
.c-blue { background: #e8f0fe; } .c-red { background: #fce8e6; }
.c-yellow { background: #fef7e0; } .c-green { background: #e6f4ea; }
.card .dot svg { width: 18px; height: 18px; }

/* ---- steps ---- */

.steps { counter-reset: s; margin-top: 34px; display: grid; gap: 4px; }
.step {
  display: grid; grid-template-columns: 40px 1fr; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step .n {
  counter-increment: s; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step .n::before { content: counter(s); }
.step h3 { font-size: 16px; font-weight: 650; margin-bottom: 4px; }
.step p { color: var(--grey); font-size: 14.5px; }

/* ---- faq ---- */

.faq { margin-top: 30px; }
details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
details summary {
  cursor: pointer; list-style: none; padding: 17px 34px 17px 0; position: relative;
  font-weight: 600; font-size: 16px; letter-spacing: -.012em;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%); font-size: 21px; font-weight: 400;
  color: var(--grey); line-height: 1;
}
details[open] summary::after { content: "\2212"; }
details .a { padding: 0 44px 20px 0; color: var(--grey); font-size: 15px; }
details .a p + p { margin-top: 11px; }

/* ---- privacy page ---- */

.doc { padding: 56px 0 72px; max-width: 760px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); text-align: left; max-width: none; }
.doc .updated { color: var(--grey); font-size: 14px; margin-top: 12px; }
.doc h2 {
  font-size: 20.5px; margin-top: 44px; margin-bottom: 10px; letter-spacing: -.02em;
}
.doc p, .doc li { color: #3c4043; font-size: 16px; }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 14px 0 0 22px; }
.doc li { margin-bottom: 9px; }
.doc strong { color: var(--ink); font-weight: 650; }
.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: 10px; background: var(--wash);
  padding: 18px 20px; margin-top: 22px;
}
.callout p { font-size: 15px; }

/* ---- footer ---- */

footer { border-top: 1px solid var(--line); padding: 34px 0 54px; }
.foot { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.foot img { width: 24px; height: 24px; }
.foot .links { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--grey); text-decoration: none; font-size: 14px; }
.foot a:hover { color: var(--ink); }
.foot .copy { color: #9aa0a6; font-size: 13.5px; }
.ekdutn-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; text-decoration: none; color: #9aa0a6; transition: color .15s ease; }
.ekdutn-badge:hover { color: var(--ink); }
.ekdutn-badge strong { font-weight: 700; }

@media (max-width: 620px) {
  .bar nav { display: none; }
  .hero { padding: 54px 0 46px; }
  section { padding: 48px 0; }
  .badge { min-width: 0; width: 100%; }
  .foot .links { margin-left: 0; width: 100%; }
}
