/* ------------------------------------------------------------------
   Tether — landing site styles
   Display: Schibsted Grotesk · Body: Inter · Utility: IBM Plex Mono
------------------------------------------------------------------- */

:root {
  --sky: #e9eff1;
  --ink: #131c17;
  --ink-soft: #4a564f;
  --lime: #b5ec5e;
  --lime-soft: #e3f7c2;
  --lime-ink: #1b2d11;
  --pine: #142219;
  --card: #ffffff;
  --line: rgba(19, 28, 23, 0.1);
  --shadow-lg: 0 30px 80px rgba(12, 24, 17, 0.35);
  --radius: 18px;
  --font-display: "Schibsted Grotesk", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sky);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.cta :focus-visible,
.footer :focus-visible {
  outline-color: #fff;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 6px 18px rgba(127, 190, 49, 0.35);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

/* ---------- nav ---------- */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 22px 0;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand svg { display: block; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.85;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { opacity: 1; }

.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.hero {
  position: relative;
  background-color: var(--sky);
  background-image:
    linear-gradient(180deg, rgba(233, 239, 241, 0.94) 0%, rgba(233, 239, 241, 0.55) 20%, rgba(233, 239, 241, 0) 44%),
    linear-gradient(180deg, rgba(8, 18, 12, 0) 58%, rgba(8, 18, 12, 0.62) 100%),
    var(--hero-image, none);
  background-size: cover;
  background-position: center bottom;
  padding: 140px 0 56px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.7rem);
  max-width: 17ch;
}

.hero .lede {
  margin: 22px auto 0;
  text-align: center;
  color: #2e3a33;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- product mockup ---------- */

.mockup {
  width: min(960px, 100%);
  margin: 64px auto 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  text-align: left;
  font-size: 12.5px;
  line-height: 1.45;
  user-select: none;
  pointer-events: none;
}

.mk-side {
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  background: #fbfcfb;
}

.mk-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}

.mk-nav { display: grid; gap: 2px; color: var(--ink-soft); }

.mk-nav span {
  padding: 7px 10px;
  border-radius: 8px;
}

.mk-nav .active {
  background: var(--lime-soft);
  color: var(--lime-ink);
  font-weight: 600;
}

.mk-main { padding: 18px 22px 20px; }

.mk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mk-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}

.mk-search {
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  min-width: 170px;
}

.mk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-soft);
}

.mk-chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
}

.mk-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.mk-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.mk-badge {
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
}

.mk-when { margin-left: auto; color: var(--ink-soft); font-size: 11px; }

.mk-journey {
  list-style: none;
  margin: 14px 0 0;
  padding: 0 0 0 22px;
  position: relative;
  display: grid;
  gap: 13px;
}

.mk-journey::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--lime);
  border-radius: 2px;
}

.mk-journey li { position: relative; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }

.mk-journey li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--lime);
}

.mk-journey .ev { font-weight: 600; }

.mk-journey .meta {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.mk-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--ink-soft);
  background: #fff;
}

.mk-tag.ok {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
}

.mk-sync {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--lime-ink);
}

/* ---------- hero logo strip ---------- */

.logos {
  margin-top: 56px;
  text-align: center;
  color: #fff;
}

.logos p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 18px;
}

.logos ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 44px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  opacity: 0.92;
}

.logos li:nth-child(2n) { font-weight: 500; font-style: italic; }

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

.section { padding: 104px 0; }

.section-head { max-width: 720px; }

.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }

.section-head .lede { margin-top: 18px; }

.on-white { background: #fff; }

/* problem / fix — the tether line story */

.thread {
  margin-top: 56px;
  display: grid;
  gap: 22px;
}

.thread-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}

.thread-card.is-fixed { background: var(--pine); color: #f2f7ee; border-color: var(--pine); }

.thread-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.is-fixed .thread-label { color: var(--lime); }

.thread-svg { width: 100%; height: auto; display: block; }

.thread-steps {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

.is-fixed .thread-steps { color: rgba(242, 247, 238, 0.75); }

.thread-steps span { flex: 1; }

.thread-steps span:nth-child(2) { text-align: center; }

.thread-steps span:last-child { text-align: right; }

.break-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.break-list li {
  border: 1px dashed rgba(19, 28, 23, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.6);
}

/* features grid */

.grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
}

.on-sky .card { background: #fff; border: 1px solid var(--line); }

.card h3 {
  font-size: 18.5px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.card p {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.section-foot { margin-top: 36px; }

.text-link {
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
}

/* how it works */

.steps {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 22px;
}

.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lime-ink);
  background: var(--lime);
  border-radius: 999px;
  padding: 4px 10px;
  position: absolute;
  top: -14px;
  left: 0;
}

.steps li::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 54px;
  right: 8px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 16px);
}

.steps li:last-child::after { display: none; }

.steps h3 { font-size: 18px; }

.steps p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- big CTA ---------- */

.cta {
  background: var(--pine);
  color: #f2f7ee;
  text-align: center;
  padding: 110px 0;
}

.cta h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  max-width: 18ch;
  margin: 0 auto;
}

.cta .lede {
  color: rgba(242, 247, 238, 0.75);
  margin: 20px auto 0;
  text-align: center;
}

.cta .hero-ctas { justify-content: center; }

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

.footer {
  background: var(--pine);
  color: rgba(242, 247, 238, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer .brand { color: #fff; font-size: 17px; }

.footer nav { display: flex; gap: 22px; }

.footer a { text-decoration: none; }

.footer a:hover { color: #fff; }

/* ---------- features page ---------- */

.subhero {
  position: relative;
  padding: 150px 0 80px;
  background:
    radial-gradient(900px 420px at 80% -10%, var(--lime-soft), transparent 70%),
    var(--sky);
  border-bottom: 1px solid var(--line);
}

.subhero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); max-width: 16ch; }

.subhero .lede { margin-top: 20px; }

.feature-rows { margin-top: 64px; display: grid; gap: 0; }

.feature-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.feature-row h3 { font-size: 21px; }

.feature-row p { margin: 0; color: var(--ink-soft); max-width: 60ch; }

.chips {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--ink-soft);
}

/* faq */

.faq { margin-top: 56px; display: grid; gap: 12px; max-width: 820px; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after { content: "+"; font-size: 22px; color: var(--ink-soft); flex-shrink: 0; }

.faq details[open] summary::after { content: "–"; }

.faq details p { color: var(--ink-soft); margin: 14px 0 0; font-size: 15px; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * {
    animation: rise 0.7s ease both;
  }
  .hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.26s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.34s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps li:nth-child(2)::after { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding-top: 110px; }
  .mockup { grid-template-columns: 1fr; }
  .mk-side { display: none; }
  .mk-search { display: none; }
  .mk-tag { margin-left: 0; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .thread-steps span:nth-child(2) { display: none; }
  .logos ul { font-size: 17px; gap: 12px 28px; }
}
