:root {
  --ink: #111418;
  --muted: #59616d;
  --line: #dfe4ea;
  --soft: #f5f7fa;
  --brand: #2388ff;
  --brand-dark: #0f5fc6;
  --rose: #f1419d;
  --mint: #18b888;
  --paper: #ffffff;
  --shadow: 0 22px 70px rgba(17, 20, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand strong {
  display: block;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.logo {
  width: 42px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
}

.logo.small {
  width: 28px;
  height: 29px;
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.site-footer a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--ink);
  background: var(--soft);
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 64px;
  align-items: center;
  padding: 64px 0 72px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: 5.8rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
}

.product-visual {
  display: grid;
  place-items: center;
  min-height: 540px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(24, 184, 136, 0.16), transparent 30%),
    radial-gradient(circle at 80% 12%, rgba(241, 65, 157, 0.14), transparent 28%),
    linear-gradient(135deg, #f7fafc, #eef4fb);
  box-shadow: inset 0 0 0 1px rgba(17, 20, 24, 0.06);
}

.phone-shell {
  width: min(280px, 82vw);
  padding: 14px;
  border-radius: 32px;
  background: #15191f;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 74px;
  height: 8px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #343b45;
}

.app-screen {
  min-height: 472px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
}

.mini-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-card {
  margin-top: 28px;
  padding: 20px;
  border-radius: 8px;
  background: #111418;
  color: #fff;
}

.story-card span {
  display: block;
  margin-bottom: 10px;
  color: #a7b2c1;
  font-size: 0.82rem;
}

.story-card strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
}

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

.story-grid span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--soft);
}

.story-grid span:nth-child(2) {
  background: rgba(35, 136, 255, 0.14);
}

.story-grid span:nth-child(3) {
  background: rgba(241, 65, 157, 0.14);
}

.legal-chip {
  margin-top: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.identity-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.identity-band h2,
.feature-grid h2,
.content-section h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.identity-band p {
  margin: 0;
  color: var(--muted);
}

.legal-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.legal-details div {
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.legal-details dd {
  margin: 2px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 56px 0 72px;
}

.feature-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid p,
.content-section p,
.page-hero p {
  color: var(--muted);
}

.page {
  padding: 54px 0 80px;
}

.page-hero {
  max-width: 780px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: 4.5rem;
}

.page-hero p {
  max-width: 680px;
  font-size: 1.08rem;
}

.content-section {
  max-width: 820px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.founder-section {
  max-width: 920px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.founder-photo {
  position: relative;
  width: 260px;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 136, 255, 0.12), rgba(241, 65, 157, 0.12)),
    var(--soft);
}

.founder-photo::before {
  content: "SL";
  color: var(--ink);
  font-size: 3rem;
  font-weight: 900;
}

.founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eef2f8;
}

.founder-copy h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0;
}

.founder-role {
  margin: 8px 0 16px;
  color: var(--ink);
  font-weight: 800;
}

.founder-copy p:not(.eyebrow):not(.founder-role) {
  color: var(--muted);
}

.founder-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.founder-link:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.certificate-section {
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.certificate-copy h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0;
}

.certificate-copy p:not(.eyebrow) {
  color: var(--muted);
}

.certificate-frame {
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.certificate-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
  max-width: 600px;
  color: var(--muted);
}

.site-footer .company-ids {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-nav a {
    justify-content: center;
    text-align: center;
  }

  .hero,
  .identity-band,
  .feature-grid,
  .founder-section,
  .certificate-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 36px;
    padding: 38px 0 56px;
  }

  .product-visual {
    min-height: 430px;
  }

  .identity-band {
    gap: 24px;
    padding: 28px;
  }

  .legal-details div {
    flex: 1 1 190px;
    min-width: 0;
  }

  .page {
    padding: 42px 0 64px;
  }

  .certificate-section {
    gap: 24px;
  }

  .certificate-frame {
    padding: 8px;
  }

  .site-footer {
    gap: 16px;
  }

  .founder-photo {
    width: min(280px, 100%);
  }

  h1 {
    font-size: 3.7rem;
  }

  .page-hero h1 {
    font-size: 3.3rem;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1120px);
  }

  .site-nav {
    width: 100%;
    gap: 6px;
  }

  .site-nav a {
    min-height: 42px;
    padding: 0 8px;
    font-size: 0.92rem;
  }

  .brand {
    align-items: center;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.74rem;
  }

  .logo {
    width: 36px;
    height: 37px;
  }

  .button,
  .founder-link {
    width: 100%;
    text-align: center;
  }

  .identity-band,
  .feature-grid article {
    padding: 22px;
  }

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

  .legal-details div {
    width: 100%;
  }

  .feature-grid {
    padding: 40px 0 54px;
  }

  .product-visual {
    min-height: 360px;
  }

  .phone-shell {
    width: min(250px, 100%);
  }

  .app-screen {
    min-height: 390px;
  }

  .founder-section,
  .certificate-section {
    gap: 22px;
    padding: 30px 0;
  }

  .founder-photo {
    justify-self: center;
    width: min(240px, 100%);
  }

  .founder-copy h2,
  .certificate-copy h2 {
    font-size: 1.65rem;
  }

  .site-footer nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer a {
    justify-content: center;
    padding: 0 8px;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .lede,
  .page-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 22px, 1120px);
  }

  .site-nav,
  .site-footer nav {
    gap: 4px;
  }

  .site-nav a,
  .site-footer a {
    font-size: 0.86rem;
  }

  h1 {
    font-size: 2.05rem;
  }

  .page-hero h1 {
    font-size: 1.95rem;
  }
}
