:root {
  color-scheme: light;
  --background: #fbfaf7;
  --text: #161616;
  --muted: #68635d;
  --line: #ded9d1;
  --soft: #f1eee8;
  --accent: #1f7a5c;
  --accent-dark: #11533f;
  --accent-soft: #e9f4ef;
  --link: #1f7a5c;
  --link-dark: #11533f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.62;
  overflow-x: hidden;
}

a {
  color: var(--link);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--link-dark);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.9rem;
}

.site-header nav a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-header nav a:hover {
  color: var(--link-dark);
}

.app-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.app-mark video {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.page {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
}

.page,
.site-header,
.site-footer {
  min-width: 0;
}

p,
li,
h1,
h2,
h3,
a {
  overflow-wrap: anywhere;
}

.intro {
  padding-bottom: 1rem;
}

.terminal-kicker {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1;
}

.terminal-text {
  display: inline-block;
  width: 28ch;
  max-width: calc(100vw - 3.5rem);
  overflow: hidden;
  white-space: nowrap;
  animation: terminal-type 6s steps(28, end) infinite;
}

.terminal-cursor {
  width: 0.42rem;
  height: 1em;
  margin-left: 0.12rem;
  background: var(--muted);
  animation: cursor-blink 1s steps(2, start) infinite;
}

@keyframes terminal-type {
  0%,
  8% {
    width: 0;
  }

  42%,
  88% {
    width: 28ch;
  }

  89%,
  100% {
    width: 0;
  }
}

@keyframes cursor-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.9rem;
  font-size: clamp(3.2rem, 12vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 3.1rem 0 0.9rem;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.98rem;
  line-height: 1.25;
}

.lede {
  max-width: 680px;
  margin-bottom: 1.1rem;
  font-size: 1.28rem;
  line-height: 1.48;
}

p {
  margin-bottom: 1.05rem;
}

ul {
  margin: 0.2rem 0 0;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.72rem;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: 1.65rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.95rem;
}

.download-row a {
  min-height: 2.55rem;
  display: inline-flex;
  align-items: center;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  border: 1px solid var(--accent-dark);
  border-radius: 2px;
  background: var(--accent-dark);
  color: #ffffff;
  padding: 0 0.92rem;
  text-decoration: none;
  font-weight: 700;
}

.primary-link:hover {
  color: #ffffff;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.note-grid article {
  border: 0;
  border-radius: 2px;
  background: var(--accent-soft);
  padding: 1rem;
}

.note-grid article p {
  margin: 0.68rem 0 0;
  color: #34302b;
  font-size: 0.98rem;
  line-height: 1.5;
}

.note-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.note-heading img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.risk-highlight {
  display: flex;
  gap: 0.7rem;
  margin: 1rem 0;
  border: 0;
  border-radius: 2px;
  background: var(--accent-soft);
  padding: 0.85rem 0.9rem;
  list-style: none;
}

.risk-highlight img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-top: 0.12rem;
}

.risk-highlight strong {
  color: var(--accent-dark);
}

.feedback-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.15rem 0;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.95rem;
}

.feedback-callout span {
  color: var(--text);
  font-weight: 400;
}

.feedback-callout a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border-radius: 2px;
  padding: 0 0.7rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 750;
}

.feedback-callout a:hover {
  color: #ffffff;
  opacity: 0.88;
}

.linkedin-button {
  background: #0a66c2;
}

.x-button {
  background: #000000;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.2rem 1.25rem 1.6rem;
  color: var(--muted);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.9rem;
}

@media (max-width: 700px), (max-device-width: 700px) {
  body {
    font-size: 17px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem 0;
    max-width: 100%;
    width: 100%;
  }

  .site-header nav {
    gap: 0.35rem 0.7rem;
    min-width: 0;
    max-width: 100%;
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .app-mark {
    gap: 0;
  }

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

  .app-mark video {
    width: 48px;
    height: 48px;
  }

  .page {
    max-width: 100%;
    padding: 2.9rem 1rem 2.5rem;
  }

  .terminal-kicker {
    width: 100%;
  }

  h1 {
    margin-bottom: 0.75rem;
  }

  h2 {
    margin-top: 2.65rem;
  }

  .lede {
    font-size: 1.16rem;
    line-height: 1.46;
  }

  .download-row {
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 1.35rem;
  }

  .download-row a {
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 0 0.72rem;
    text-align: center;
    text-decoration: none;
  }

  .download-row .primary-link {
    width: 100%;
    min-height: 3rem;
    border-color: var(--accent-dark);
  }

  .note-grid {
    grid-template-columns: 1fr;
  }

  ul {
    padding-left: 1.05rem;
  }

  .risk-highlight {
    margin-left: -1.05rem;
    padding: 0.8rem;
  }

  .site-footer {
    display: block;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer a {
    display: block;
    margin-top: 0.35rem;
  }
}

@media (max-width: 380px), (max-device-width: 380px) {
  body {
    font-size: 16px;
  }

  .site-header nav {
    max-width: calc(100vw - 5.8rem);
    font-size: 0.82rem;
  }

  .app-mark video {
    width: 42px;
    height: 42px;
  }

  .download-row a {
    width: 100%;
  }
}
