:root {
  color-scheme: light;
  --ink: #111411;
  --muted: #5f625d;
  --line: #d7d8d2;
  --paper: #f6f4ee;
  --surface: #ffffff;
  --green: #2d8b57;
  --green-dark: #1f623f;
  --gold: #b58b2c;
}

* {
  box-sizing: border-box;
}

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;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px 40px;
  background: rgba(246, 244, 238, 0.94);
  border-bottom: 1px solid rgba(17, 20, 17, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 1rem;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  align-items: center;
  min-height: calc(100vh - 128px);
  padding: 56px 40px 72px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(17, 20, 17, 0.98), rgba(31, 98, 63, 0.9)),
    var(--ink);
  color: var(--surface);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.statement h2,
.section-heading h2,
.site-footer h2 {
  margin: 0;
  line-height: 1.03;
}

.hero h1 {
  max-width: 780px;
  font-size: 4.5rem;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--surface);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-media {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
}

.phone-frame {
  position: absolute;
  width: min(260px, 38vw);
  margin: 0;
  overflow: hidden;
  background: #e8e6df;
  border: 10px solid #111411;
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 945 / 2048;
  object-fit: cover;
}

.phone-front {
  z-index: 2;
  transform: translateX(-72px) rotate(-4deg);
}

.phone-back {
  z-index: 1;
  transform: translateX(132px) translateY(42px) rotate(6deg);
  opacity: 0.92;
}

.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.statement {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.statement-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 0.8fr) minmax(280px, 0.9fr);
  gap: 36px;
  padding: 74px 0;
}

.statement h2,
.section-heading h2,
.site-footer h2 {
  font-size: 2.4rem;
}

.statement p:last-child,
.section-heading p,
.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about {
  padding: 84px 0;
  background: #eef3ee;
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.founder-photo {
  margin: 0;
}

.founder-photo img {
  width: min(100%, 430px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(17, 20, 17, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(17, 20, 17, 0.16);
}

.about-copy {
  max-width: 700px;
}

.about-copy h2 {
  margin: 0 0 18px;
  font-size: 2.4rem;
  line-height: 1.05;
}

.about-copy strong {
  color: var(--ink);
}

.founder-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.founder-details div {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.founder-details dt {
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.founder-details dd {
  margin: 0;
  font-weight: 800;
}

.projects {
  padding: 84px 0 96px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p {
  margin-top: 14px;
}

.project-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: start;
}

.project-copy {
  position: sticky;
  top: 100px;
}

.project-points {
  display: grid;
  gap: 14px;
  margin: 0;
}

.project-points div {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-points dt {
  margin-bottom: 6px;
  font-size: 1.04rem;
  font-weight: 850;
}

.project-points dd {
  margin: 0;
  color: var(--muted);
}

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

.screenshot-card {
  margin: 0;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 945 / 2048;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(17, 20, 17, 0.08);
  border-radius: 6px;
}

.screenshot-card figcaption {
  padding: 12px 2px 2px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-footer {
  padding: 72px 0 38px;
  background: var(--ink);
  color: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 44px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.74);
}

.company-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.company-details div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.company-details dt {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-details dd {
  margin: 0;
  font-weight: 700;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

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

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-media {
    min-height: 500px;
    margin-top: 28px;
  }

  .statement-grid,
  .about-grid,
  .project-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .statement-grid {
    gap: 18px;
  }

  .project-copy {
    position: static;
  }

  .founder-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 20px;
  }

  .brand span:last-child {
    max-width: 145px;
  }

  nav {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero {
    padding: 34px 24px 42px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero-media {
    min-height: 310px;
  }

  .phone-frame {
    width: min(180px, 48vw);
    border-width: 8px;
    border-radius: 28px;
  }

  .phone-front {
    transform: translateX(-42px) rotate(-3deg);
  }

  .phone-back {
    transform: translateX(66px) translateY(24px) rotate(5deg);
  }

  .section-inner,
  .footer-inner {
    width: min(100% - 32px, 1180px);
  }

  .statement-grid {
    padding: 54px 0;
  }

  .statement h2,
  .about-copy h2,
  .section-heading h2,
  .site-footer h2 {
    font-size: 2rem;
  }

  .about {
    padding: 62px 0;
  }

  .projects {
    padding: 62px 0 72px;
  }

  .screenshot-grid,
  .company-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 0.94rem;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  nav {
    gap: 10px;
  }

  .button {
    flex: 1 1 136px;
  }

  .hero-media {
    min-height: 270px;
  }
}
