:root {
  --ink: #161311;
  --muted: #665f58;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #ddd7ce;
  --green: #5c7c67;
  --red: #b64d3b;
  --gold: #d3a749;
  --blue: #3d6f8e;
  --shadow: 0 18px 60px rgba(35, 31, 27, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 14%, rgba(211, 167, 73, 0.18), transparent 30%),
    linear-gradient(180deg, #fffdfa 0%, var(--paper) 42%, #f2eee7 100%);
}

a {
  color: inherit;
}

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

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: #fff9ed;
  box-shadow: 0 10px 28px rgba(22, 19, 17, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 48px;
  align-items: center;
  padding: 44px 0 80px;
}

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

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

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

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

.showcase {
  position: relative;
  min-height: 640px;
}

.app-tile {
  position: absolute;
  width: 48%;
  min-width: 190px;
  padding: 18px;
  border: 1px solid rgba(221, 215, 206, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.app-tile:nth-child(1) {
  top: 8px;
  left: 4px;
}

.app-tile:nth-child(2) {
  top: 92px;
  right: 0;
}

.app-tile:nth-child(3) {
  bottom: 118px;
  left: 28px;
}

.app-tile:nth-child(4) {
  bottom: 112px;
  right: 34px;
}

.app-tile:nth-child(5) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.tile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.tile-top img,
.app-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
}

.tile-top strong {
  display: block;
}

.tile-top span,
.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.mock-screen {
  height: 170px;
  overflow: hidden;
  border-radius: 8px;
  background: #efe9df;
}

.mock-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 88px 0;
  border-top: 1px solid rgba(221, 215, 206, 0.9);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.section-head p {
  max-width: 420px;
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(35, 31, 27, 0.06);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 24px 0 10px;
  font-size: 1.35rem;
}

.card p {
  color: var(--muted);
  line-height: 1.5;
}

.card .meta {
  margin-top: auto;
  font-weight: 750;
  color: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.about-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.principles {
  display: grid;
  gap: 14px;
}

.principle {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.principle strong {
  display: block;
  margin-bottom: 8px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.page-hero {
  padding: 84px 0 64px;
}

.page-hero h1 {
  max-width: 850px;
}

.app-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.app-page-visual {
  min-height: 460px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(92, 124, 103, 0.16), rgba(61, 111, 142, 0.18)),
    rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.app-page-visual img {
  width: min(74%, 380px);
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(22, 19, 17, 0.22));
}

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

.detail {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.detail strong {
  display: block;
  margin-bottom: 6px;
}

.detail span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.legal {
  max-width: 820px;
  padding: 72px 0 96px;
}

.legal h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.legal h2 {
  margin: 42px 0 12px;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  margin-left: 16px;
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .app-page,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .showcase {
    min-height: 620px;
  }

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

  .section-head {
    display: block;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(2.8rem, 17vw, 4.7rem);
  }

  .showcase {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .app-tile {
    position: static;
    width: 100%;
    min-width: 0;
  }

  .app-grid,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .footer .shell {
    display: block;
  }

  .footer a {
    display: inline-block;
    margin: 12px 16px 0 0;
  }
}
