@font-face {
  font-family: "Geist";
  src: url("assets/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #12201e;
  --muted: #5f6b69;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --line: #dbe2df;
  --green: #14856e;
  --green-deep: #0a453d;
  --green-soft: #e4f2ee;
  --gold: #df9229;
  --gold-soft: #fff4df;
  --shadow: 0 24px 64px rgba(18, 44, 39, 0.09);
  --content-width: 1180px;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 4%, rgba(20, 133, 110, 0.08), transparent 31rem),
    var(--paper);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  border-radius: 6px;
  outline: 3px solid rgba(223, 146, 41, 0.75);
  outline-offset: 4px;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--gold);
  color: #101815;
  font-weight: 720;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header,
.hero,
.app-section,
.future-section,
.principles,
footer {
  width: min(var(--content-width), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(18, 32, 30, 0.1);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  color: var(--green-deep);
  font-size: 1.04rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 5px;
  border-radius: 8px;
  background: var(--green-deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-mark span {
  border-radius: 2px;
  background: #ffffff;
}

.brand-mark span:nth-child(1) {
  opacity: 0.58;
}

.brand-mark span:nth-child(2) {
  opacity: 0.78;
}

.brand-mark span:nth-child(3) {
  opacity: 0.86;
}

.brand-mark.compact {
  transform: scale(0.84);
  transform-origin: left center;
}

nav,
.footer-links {
  display: flex;
  gap: 28px;
}

nav a,
.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 580;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 0.86fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 6.5vw, 6.35rem);
  font-weight: 760;
  letter-spacing: -0.068em;
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 720;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--green-deep);
  border-radius: 12px;
  font-weight: 680;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green-deep);
  box-shadow: 0 12px 26px rgba(10, 69, 61, 0.19);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-deep);
}

.studio-index {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.index-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 660;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.index-count {
  color: var(--green);
}

.index-mark {
  display: grid;
  width: min(270px, 62%);
  aspect-ratio: 1;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin: 44px auto 50px;
  padding: 18px;
  border-radius: 31%;
  background: var(--green-soft);
  transform: rotate(-2deg);
}

.index-mark span {
  border-radius: 24%;
  background: var(--green-deep);
}

.index-mark span:nth-child(1) {
  opacity: 0.48;
}

.index-mark span:nth-child(2) {
  opacity: 0.7;
}

.index-mark span:nth-child(3) {
  opacity: 0.83;
}

.index-product {
  display: grid;
  min-height: 94px;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  background: rgba(228, 242, 238, 0.42);
  text-decoration: none;
  transition: background 160ms ease;
}

.index-product:hover {
  background: rgba(228, 242, 238, 0.78);
}

.index-product img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(18, 44, 39, 0.14);
}

.index-product > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.index-product strong {
  font-size: 0.98rem;
}

.index-product small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.index-arrow {
  color: var(--green);
  font-size: 1.15rem;
}

.app-section {
  padding: 102px 0;
  border-top: 1px solid rgba(18, 32, 30, 0.1);
}

.app-section > .eyebrow {
  margin-bottom: 28px;
}

.app-feature {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-feature:hover {
  box-shadow: 0 30px 74px rgba(18, 44, 39, 0.12);
  transform: translateY(-2px);
}

.firepath-visual {
  position: relative;
  min-height: 460px;
  overflow: clip;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.13), transparent 13rem),
    var(--green-deep);
  color: #ffffff;
}

.icon-frame {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 30px;
  width: 90px;
  padding: 7px;
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.icon-frame img {
  border-radius: 18px;
}

.path-panel {
  position: absolute;
  inset: 120px 24px 54px;
  overflow: clip;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

.path-grid,
.path-trace {
  position: absolute;
  inset-inline: 0;
}

.path-grid {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.path-grid-one {
  top: 34%;
}

.path-grid-two {
  top: 67%;
}

.path-trace {
  bottom: 14%;
  height: 170px;
  border-bottom: 2px solid rgba(132, 213, 196, 0.28);
  border-radius: 0 0 88% 16%;
  transform-origin: left bottom;
}

.path-trace-one {
  transform: rotate(-9deg) scaleY(0.48);
}

.path-trace-two {
  transform: rotate(-17deg) scaleY(0.74);
}

.path-trace-three {
  transform: rotate(-25deg) scaleY(1.04);
}

.path-trace-main {
  z-index: 2;
  height: 196px;
  border-bottom: 5px solid #84d5c4;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.15));
  transform: rotate(-18deg) scaleY(0.8);
}

.firepath-visual > p {
  position: absolute;
  right: 26px;
  bottom: 17px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.73rem;
}

.firepath-visual > p span {
  display: inline-block;
  width: 21px;
  height: 3px;
  border-radius: 8px;
  background: #84d5c4;
}

.firepath-visual > p strong {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.87);
  font-weight: 550;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 560;
}

.status {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 680;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.app-copy h2 {
  margin-bottom: 20px;
}

.app-lede {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
}

.app-attributes {
  margin: 0 0 30px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.app-attributes li {
  display: grid;
  grid-template-columns: minmax(150px, 0.82fr) 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.app-attributes strong {
  font-size: 0.9rem;
}

.app-attributes span {
  color: var(--muted);
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  color: var(--green);
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.future-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: end;
  padding: 96px 0;
  border-top: 1px solid rgba(18, 32, 30, 0.1);
}

.future-section h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.future-section > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.principles {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(44px, 8vw, 94px);
  align-items: start;
  margin-bottom: 100px;
  padding: clamp(42px, 7vw, 76px);
  border-radius: 30px;
  background: var(--green-deep);
  color: #ffffff;
}

.principles .eyebrow {
  color: #84d5c4;
}

.principles h2 {
  margin-bottom: 0;
}

.principle-list article {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.principle-list article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.principle-list h3 {
  color: #ffffff;
}

.principle-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

footer {
  display: grid;
  min-height: 150px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
  border-top: 1px solid rgba(18, 32, 30, 0.1);
  color: var(--muted);
}

footer p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-brand {
  font-size: 0.98rem;
}

.footer-links {
  align-items: center;
  font-size: 0.88rem;
}


.app-section-alt {
  padding-top: 0;
}

.bookforge-feature {
  background:
    radial-gradient(circle at 92% 8%, rgba(223, 146, 41, 0.12), transparent 20rem),
    var(--surface);
}

.bookforge-visual {
  position: relative;
  min-height: 460px;
  overflow: clip;
  border-radius: 24px;
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.18), transparent 12rem),
    linear-gradient(145deg, #2d1d16, #6f3a1f 54%, #b66a2b);
  color: #ffffff;
}

.bookforge-visual .icon-frame {
  background: rgba(255, 255, 255, 0.16);
}

.forge-shelf {
  position: absolute;
  inset: 126px 30px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.forge-shelf span {
  min-height: 142px;
  border-radius: 16px 16px 6px 6px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 -42px 0 rgba(255, 255, 255, 0.1);
}

.forge-shelf span:nth-child(2) { min-height: 180px; background: rgba(255, 244, 223, 0.26); }
.forge-shelf span:nth-child(3) { min-height: 162px; background: rgba(255, 255, 255, 0.22); }
.forge-shelf span:nth-child(4) { min-height: 196px; background: rgba(255, 244, 223, 0.2); }

.forge-wave {
  position: absolute;
  right: 30px;
  bottom: 72px;
  left: 30px;
  display: flex;
  align-items: end;
  gap: 10px;
  height: 70px;
}

.forge-wave span {
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 244, 223, 0.72);
}

.forge-wave span:nth-child(1) { height: 24%; }
.forge-wave span:nth-child(2) { height: 70%; }
.forge-wave span:nth-child(3) { height: 42%; }
.forge-wave span:nth-child(4) { height: 90%; }
.forge-wave span:nth-child(5) { height: 52%; }

.bookforge-visual > p {
  position: absolute;
  right: 26px;
  bottom: 17px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.73rem;
}

.bookforge-visual > p span {
  display: inline-block;
  width: 21px;
  height: 3px;
  border-radius: 8px;
  background: #fff4df;
}

.bookforge-visual > p strong {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 550;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .studio-index {
    width: min(620px, 100%);
  }

  .app-feature {
    grid-template-columns: 1fr;
  }

  .firepath-visual,
  .bookforge-visual {
    min-height: 390px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 15px;
  }

  .site-header {
    min-height: 76px;
  }

  nav {
    gap: 17px;
  }

  .hero {
    gap: 48px;
    padding: 58px 0 72px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .index-mark {
    width: min(230px, 62%);
    margin-block: 34px 40px;
  }

  .app-section {
    padding: 72px 0;
  }

  .app-feature {
    gap: 36px;
    padding: 20px;
    border-radius: 22px;
  }

  .firepath-visual,
  .bookforge-visual {
    min-height: 330px;
    border-radius: 18px;
  }

  .icon-frame {
    top: 20px;
    left: 20px;
    width: 72px;
    border-radius: 19px;
  }

  .icon-frame img {
    border-radius: 14px;
  }

  .path-panel {
    inset: 100px 18px 48px;
  }

  .app-attributes li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .future-section {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    padding: 72px 0;
  }

  .principles {
    margin-bottom: 70px;
    padding: 40px 24px;
    border-radius: 22px;
  }

  footer {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 40px 0;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 0.94rem;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 0.86rem;
  }

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

  .index-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .index-product {
    grid-template-columns: 48px 1fr auto;
    padding-inline: 16px;
  }

  .index-product img {
    width: 48px;
    height: 48px;
  }

  .firepath-visual > p strong,
  .bookforge-visual > p strong {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf5f2;
    --muted: #abb9b6;
    --paper: #0f1716;
    --surface: #17211f;
    --line: #34423f;
    --green: #45b99f;
    --green-deep: #193d37;
    --green-soft: #19352f;
    --gold-soft: #352916;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.27);
  }

  body {
    background:
      radial-gradient(circle at 88% 4%, rgba(69, 185, 159, 0.08), transparent 31rem),
      var(--paper);
  }

  .brand {
    color: var(--ink);
  }

  .button-primary {
    border-color: #50bba3;
    background: #50bba3;
    color: #07110f;
  }

  .button-secondary,
  .studio-index {
    background: rgba(23, 33, 31, 0.92);
  }

  .index-product {
    background: rgba(25, 53, 47, 0.62);
  }

  .index-product:hover {
    background: rgba(25, 61, 55, 0.86);
  }

  .index-mark {
    background: #19352f;
  }

  .app-feature {
    background: var(--surface);
  }

  .status {
    color: #9ae0d0;
  }

  .text-link {
    color: #7dd0bd;
  }

  .principles {
    background: #132e29;
  }
}
