:root {
  --ink: #142129;
  --ink-soft: #43535a;
  --paper: #f7f8f7;
  --white: #ffffff;
  --line: #d8dfdc;
  --teal: #087f73;
  --teal-dark: #065e56;
  --plum: #642d63;
  --blue: #27628f;
  --green: #247a54;
  --amber: #a36312;
  --header-height: 72px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 34px;
  border-bottom: 1px solid rgba(20, 33, 41, 0.12);
  background: rgba(247, 248, 247, 0.96);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.wordmark i {
  display: block;
  order: -1;
  width: 34px;
  height: 3px;
  margin-bottom: 7px;
  background: var(--teal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-dark);
}

.nav-cta {
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  padding: 7px 10px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: flex;
  min-height: 620px;
  height: calc(100svh - 116px);
  max-height: 780px;
  align-items: center;
  overflow: hidden;
  background-color: #eef1ef;
  background-image: url("assets/sedl-hero.webp");
  background-position: center;
  background-size: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(650px, calc(100% - 48px));
  margin-left: max(6vw, calc((100vw - var(--content)) / 2));
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 78px;
  line-height: 0.95;
}

.hero h1::before {
  display: block;
  width: 76px;
  height: 6px;
  margin-bottom: 22px;
  background: var(--teal);
  content: "";
}

.hero-line {
  max-width: 610px;
  margin: 30px 0 14px;
  font-size: 35px;
  font-weight: 720;
  line-height: 1.14;
}

.hero-description {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

.text-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 32px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.hero-signals li:not(:last-child)::after {
  margin-left: 20px;
  color: var(--teal);
  content: "/";
}

.section {
  padding: 94px 28px;
}

.section-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.statement {
  padding-top: 78px;
  padding-bottom: 78px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.statement-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 60px;
}

.statement h2,
.section-heading h2,
.control-copy h2,
.developer-grid h2,
.early-access h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.15;
}

.statement h2 {
  max-width: 850px;
}

.statement-grid > div > p {
  max-width: 790px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 54px;
}

.section-heading > p:last-child {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.platform {
  background: var(--paper);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.module {
  grid-column: span 2;
  min-height: 370px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.module:nth-child(4),
.module:nth-child(5) {
  grid-column: span 3;
  min-height: 330px;
}

.module > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.module-identity > span {
  color: var(--teal);
}

.module-authority > span {
  color: var(--plum);
}

.module-payments > span {
  color: var(--blue);
}

.module-ledger > span {
  color: var(--green);
}

.module-compliance > span {
  color: var(--amber);
}

.module h3 {
  margin: 25px 0 12px;
  font-size: 24px;
}

.module p {
  color: var(--ink-soft);
}

.module ul,
.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.module li,
.check-list li {
  position: relative;
  margin-top: 8px;
  padding-left: 18px;
  font-size: 14px;
}

.module li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "+";
  font-weight: 900;
}

.control-section {
  background: var(--ink);
  color: var(--white);
}

.control-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  gap: 80px;
  align-items: center;
}

.control-copy > p:not(.section-label) {
  color: #cad2d2;
  font-size: 17px;
}

.control-section .section-label {
  color: #6ed0c2;
}

.lifecycle {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.lifecycle li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.lifecycle b {
  color: #8de0d4;
}

.lifecycle span {
  color: #cad2d2;
}

.control-console {
  overflow: hidden;
  border: 1px solid #8ba19f;
  border-radius: 7px;
  background: #f9fbfa;
  color: var(--ink);
  box-shadow: 16px 18px 0 rgba(8, 127, 115, 0.2);
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #edf3f1;
  font-size: 13px;
  font-weight: 800;
}

.console-topbar strong {
  color: var(--green);
}

.console-topbar i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
}

.control-console dl {
  margin: 0;
}

.control-console dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 20px;
  border-bottom: 1px solid #e5e9e7;
}

.control-console dt {
  color: #68767c;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.control-console dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 650;
}

.policy-row dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.policy-row dd span {
  padding: 4px 7px;
  border: 1px solid #b9d8cc;
  border-radius: 4px;
  background: #e6f3ee;
  color: #1c654a;
  font-size: 11px;
}

.console-note {
  margin: 0;
  padding: 12px 20px;
  color: #778388;
  font-size: 11px;
}

.principals {
  background: #edf1f0;
}

.principal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #bec9c5;
}

.principal-grid article {
  padding: 30px 28px 12px 0;
  border-right: 1px solid #bec9c5;
}

.principal-grid article:not(:first-child) {
  padding-left: 28px;
}

.principal-grid article:last-child {
  border-right: 0;
}

.principal-grid h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.principal-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.developers {
  background: var(--white);
}

.developer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 80px;
  align-items: center;
}

.developer-grid > div > p:not(.section-label) {
  color: var(--ink-soft);
  font-size: 17px;
}

.api-sample {
  min-width: 0;
  margin: 0;
  overflow: auto;
  padding: 30px;
  border: 1px solid #2e3d44;
  border-radius: 6px;
  background: #142129;
  color: #d9e2df;
  font: 14px/1.65 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.api-sample span {
  color: #7ed9cc;
  font-weight: 800;
}

.api-sample em {
  color: #d2a5d0;
  font-style: normal;
}

.security {
  background: var(--paper);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.security-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.security-grid span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.security-grid h3 {
  margin: 16px 0 10px;
  font-size: 21px;
}

.security-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.use-cases {
  background: #e8eded;
}

.use-case-list {
  border-top: 1px solid #b9c7c4;
}

.use-case-list article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #b9c7c4;
}

.use-case-list > article > span {
  color: var(--teal-dark);
  font-weight: 800;
}

.use-case-list h3 {
  margin: 0 0 7px;
  font-size: 23px;
}

.use-case-list p {
  margin: 0;
  color: var(--ink-soft);
}

.early-access {
  background: var(--teal-dark);
  color: var(--white);
}

.early-access-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.early-access .section-label {
  color: #9ce6da;
}

.early-access h2 {
  max-width: 760px;
}

.early-access p:not(.section-label) {
  max-width: 740px;
  color: #d5ebe7;
  font-size: 17px;
}

.button-light {
  flex: 0 0 auto;
  border-color: var(--white);
  background: var(--white);
  color: var(--teal-dark);
}

.button-light:hover,
.button-light:focus-visible {
  background: #dff4ef;
}

.site-footer {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  gap: 50px;
  align-items: start;
  padding: 46px max(28px, calc((100vw - var(--content)) / 2));
  border-top: 1px solid #2b3940;
  background: var(--ink);
  color: #d6dddd;
  font-size: 13px;
}

.footer-wordmark {
  color: var(--white);
}

.site-footer > div > p {
  margin: 18px 0 0;
}

.legal {
  max-width: 700px;
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    padding: 12px 4px;
  }

  .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  .hero {
    height: calc(100svh - 104px);
    min-height: 650px;
    background-position: 58% center;
  }

  .hero::before {
    position: absolute;
    inset: 0;
    background: rgba(247, 248, 247, 0.82);
    content: "";
  }

  .hero-copy {
    margin-left: 28px;
  }

  .statement-grid,
  .control-grid,
  .developer-grid {
    grid-template-columns: 1fr;
  }

  .control-grid,
  .developer-grid {
    gap: 50px;
  }

  .module {
    grid-column: span 3;
  }

  .module:nth-child(5) {
    grid-column: span 6;
  }

  .principal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principal-grid article:nth-child(2) {
    border-right: 0;
  }

  .principal-grid article:nth-child(3),
  .principal-grid article:nth-child(4) {
    padding-top: 28px;
    border-top: 1px solid #bec9c5;
  }

  .early-access-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 680px;
    background-position: 63% center;
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin: 0 18px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-line {
    font-size: 29px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-signals {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-signals li::after {
    display: none;
  }

  .section {
    padding: 70px 18px;
  }

  .statement-grid {
    gap: 20px;
  }

  .statement h2,
  .section-heading h2,
  .control-copy h2,
  .developer-grid h2,
  .early-access h2 {
    font-size: 34px;
  }

  .module-grid {
    display: block;
    border-left: 0;
  }

  .module,
  .module:nth-child(4),
  .module:nth-child(5) {
    min-height: auto;
    border-left: 1px solid var(--line);
  }

  .control-console {
    box-shadow: 8px 10px 0 rgba(8, 127, 115, 0.2);
  }

  .control-console dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lifecycle li {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .principal-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .principal-grid article,
  .principal-grid article:not(:first-child) {
    padding: 24px 0;
    border-top: 1px solid #bec9c5;
    border-right: 0;
  }

  .api-sample {
    padding: 20px;
    font-size: 12px;
  }

  .use-case-list article {
    grid-template-columns: 42px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
