:root {
  color-scheme: light;
  --background: #fcf9f8;
  --surface: #fff7ed;
  --text: #18181b;
  --muted: #5b5563;
  --primary: #09a1a1;
  --primary-dark: #067575;
  --secondary: #30525c;
  --secondary-soft: #d1e5f9;
  --warm: #ffddb6;
  --line: #e4e2e1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

.site-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

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

.brand img {
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(9, 161, 161, 0.22);
}

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

.nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.65fr);
  min-height: calc(72vh - 76px);
  align-items: center;
  gap: 40px;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 24px;
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 221, 182, 0.72), transparent 30%),
    linear-gradient(135deg, var(--primary), #0bb8b1 48%, var(--secondary));
  color: #ffffff;
  overflow: hidden;
}

.hero__content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #d1fffe;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 10vw, 6.25rem);
  line-height: 0.95;
}

.lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: #f3fffe;
  font-size: 1.25rem;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff;
  border-radius: 6px;
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.app-mark {
  display: grid;
  justify-items: center;
}

.app-mark img {
  width: min(52vw, 220px);
  height: auto;
  border-radius: 44px;
  box-shadow: 0 28px 70px rgba(24, 24, 27, 0.24);
}

.content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0;
}

.content > div {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(48, 82, 92, 0.08);
}

.content h2,
.legal h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--secondary);
}

.content p,
.legal p {
  color: var(--muted);
}

.legal {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.legal h1 {
  margin-top: 24px;
  color: var(--primary-dark);
  font-size: clamp(2rem, 7vw, 3.25rem);
}

.legal section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}

.updated {
  font-size: 0.95rem;
}

.back {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    width: min(100% - 40px, 1080px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    width: 100%;
    border-radius: 0;
    padding: 40px 20px;
  }

  .app-mark {
    justify-items: start;
  }

  .app-mark img {
    width: 132px;
    border-radius: 28px;
  }

  .content {
    grid-template-columns: 1fr;
    width: min(100% - 40px, 980px);
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
  }

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