/* Teller — tellerheat.com */

:root {
  --navy: #1b1f8a;
  --navy-dark: #12155f;
  --ink: #16181d;
  --text: #2c2f36;
  --muted: #61656f;
  --rule: #dcd9d0;
  --paper: #fbfaf7;
  --paper-alt: #f3f1ea;
  --white: #ffffff;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Wordmark — swap for the official logo file when available */
.logo { text-decoration: none; display: inline-block; }
.logo-word {
  display: inline-block;
  font-family: "Arial Narrow", "Roboto Condensed", var(--sans);
  font-weight: 800;
  font-style: italic;
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--navy);
  line-height: 1;
  padding-bottom: 7px;
  background:
    linear-gradient(var(--navy), var(--navy)) 0 100% / 100% 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 0 calc(100% - 4px) / 100% 2px no-repeat;
}
.logo-word.small { font-size: 18px; padding-bottom: 5px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 3px solid var(--navy);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--navy); }
.nav .nav-cta {
  color: var(--navy); font-weight: 600;
  border: 1.5px solid var(--navy); padding: 6px 14px;
}
.nav .nav-cta:hover { background: var(--navy); color: var(--white); }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 72px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 24px;
}
.lede { font-size: 19px; max-width: 62ch; color: var(--text); }

.actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin: 32px 0 64px; }

.btn {
  display: inline-block; text-decoration: none;
  font-size: 16px; font-weight: 600; line-height: 1;
  padding: 15px 22px;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white); }
.btn-plain { padding-left: 0; padding-right: 0; }

/* Key figures */
.figures {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0; border-top: 1px solid var(--ink);
}
.figures > div { padding: 20px 20px 0 0; }
.figures > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.figures dt {
  font-family: var(--mono);
  font-size: 26px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.figures .unit { font-size: 16px; color: var(--muted); font-weight: 400; }
.figures dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }

sup a { text-decoration: none; font-weight: 600; }

/* Sections */
.section { padding: 80px 0; border-top: 1px solid var(--rule); }
.section.alt { background: var(--paper-alt); }

.grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.section-head .num {
  display: block;
  font-family: var(--mono); font-size: 13px; color: var(--navy);
  margin-bottom: 10px;
}
.section-head h2 { font-size: 26px; letter-spacing: -0.01em; }
.section-body { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li {
  position: relative; padding: 9px 0 9px 26px;
  border-bottom: 1px solid var(--rule);
}
.ticks li:first-child { border-top: 1px solid var(--rule); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 20px;
  width: 12px; height: 2px; background: var(--navy);
}

/* Numbered blocks (drawbacks, steps) */
.drawbacks, .steps {
  list-style: none; padding: 0; margin: 8px 0 28px;
  counter-reset: item;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--ink);
}
.drawbacks li, .steps li {
  counter-increment: item;
  padding: 18px 18px 4px 0;
}
.drawbacks li + li, .steps li + li { padding-left: 18px; border-left: 1px solid var(--rule); }
.drawbacks li::before, .steps li::before {
  content: counter(item, decimal-leading-zero);
  font-family: var(--mono); font-size: 12px; color: var(--navy);
  display: block; margin-bottom: 8px;
}
.drawbacks h3, .steps h3 { font-size: 16px; margin-bottom: 6px; }
.drawbacks p, .steps p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Diagram */
.diagram { margin-top: 48px; margin-bottom: 48px; color: var(--ink); }
.diagram img {
  width: 100%; background: var(--white);
  border: 1px solid var(--rule); padding: 24px;
}
.diagram figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; max-width: 70ch; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td {
  text-align: left; vertical-align: top;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--rule);
}
.compare thead th {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); border-bottom: 1px solid var(--ink);
}
.compare thead th:last-child { color: var(--navy); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare td:last-child { color: var(--ink); font-weight: 500; }

/* Team */
.people {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
}
.people li { padding: 18px 18px 18px 0; }
.people li + li { padding-left: 18px; border-left: 1px solid var(--rule); }
.person-name { display: block; font-size: 19px; font-weight: 600; color: var(--ink); }
.person-role { display: block; font-size: 15px; color: var(--muted); }

/* Contact */
.contact { background: var(--white); border-top: 3px solid var(--navy); }
.contact .btn { margin-bottom: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.footnote { max-width: 70ch; margin-bottom: 28px; }
.footnote a { text-decoration: none; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-row a { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures > div { padding-bottom: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 56px; padding-bottom: 48px; }
  .lede { font-size: 17px; }
  .section { padding: 56px 0; }
  .drawbacks, .steps, .people { grid-template-columns: 1fr; }
  .drawbacks li + li, .steps li + li, .people li + li {
    padding-left: 0; border-left: 0; border-top: 1px solid var(--rule);
  }
  .diagram img { padding: 12px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .compare th, .compare td { border: 0; padding: 2px 0; }
  .compare td:nth-of-type(1)::before { content: "Conventional: "; color: var(--muted); }
  .compare td:nth-of-type(2)::before { content: "Teller: "; color: var(--navy); font-weight: 600; }
  .compare td:nth-of-type(1) { color: var(--muted); }
}
