:root {
  --bg: #f4efe5;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-strong: rgba(255, 251, 244, 0.98);
  --border: rgba(17, 32, 39, 0.08);
  --text: #132127;
  --muted: #5c6a71;
  --accent: #124d52;
  --accent-strong: #0b3639;
  --shadow-soft: 0 24px 70px rgba(17, 32, 39, 0.1);
  --shadow-strong: 0 24px 70px rgba(17, 32, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(18, 77, 82, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(205, 164, 82, 0.1), transparent 32%),
    linear-gradient(180deg, #f8f4eb 0%, var(--bg) 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
}

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

.site-shell {
  width: min(1380px, calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0 40px;
}

.brand-lockup {
  display: flex;
  justify-content: center;
  width: 100%;
}

.brand-logo {
  display: block;
  width: min(420px, 32vw);
  min-width: 320px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-title {
  max-width: 18ch;
  margin: 26px 0 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.description {
  margin: 24px 0 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 30px;
  padding: 0 30px;
  border: 1px solid rgba(11, 54, 57, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 38px rgba(18, 77, 82, 0.22);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(18, 77, 82, 0.26);
}

.link-block {
  margin: 0 0 42px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  max-width: 54rem;
}

.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 12px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-copy {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 162px;
  padding: 22px;
  border: 1px solid rgba(17, 32, 39, 0.1);
  border-radius: 22px;
  background: var(--surface-strong);
  box-shadow: 0 10px 24px rgba(17, 32, 39, 0.06);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 77, 82, 0.24);
  box-shadow: 0 16px 34px rgba(17, 32, 39, 0.1);
}

.link-card-app {
  background: linear-gradient(140deg, rgba(18, 77, 82, 0.12), rgba(11, 54, 57, 0.18));
}

.link-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.link-card-copy {
  color: var(--muted);
  line-height: 1.55;
}

.preview {
  padding: 0;
}

.preview-frame {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.preview-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-strong);
}

@media (max-width: 1100px) {
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 24px, 1380px);
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .brand-logo {
    min-width: 0;
    width: min(340px, 72vw);
  }

  .hero-title {
    max-width: none;
  }

  .description,
  .section-copy,
  .link-card-copy {
    font-size: 1rem;
  }

  .link-block {
    padding: 20px;
  }
}

@media (max-width: 680px) {
  .link-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .link-card {
    min-height: 0;
  }
}
