:root {
  --brand: #19b2a8;
  --brand-deep: #0d5e64;
  --brand-soft: #ddf7f1;
  --ink: #11272b;
  --ink-soft: #587175;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --line: rgba(17, 39, 43, 0.1);
  --shadow: 0 26px 56px rgba(9, 42, 45, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(25, 178, 168, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(13, 94, 100, 0.12), transparent 32%),
    linear-gradient(180deg, #effaf7 0%, #ffffff 48%, #eef7f8 100%);
}

a {
  color: inherit;
}

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

.legal-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.legal-hero {
  padding: 10px 0 36px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 122, 0.26), transparent 22%),
    linear-gradient(145deg, rgba(12, 63, 66, 0.98), rgba(25, 178, 168, 0.98));
  color: #ffffff;
}

.hero-card {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(233, 250, 247, 0.86));
}

.eyebrow,
.section-label,
.nav-title,
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.hero-text {
  max-width: 58ch;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 0.9rem;
}

.app-icon-frame {
  width: 132px;
  height: 132px;
  padding: 10px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(12, 63, 66, 0.1), rgba(25, 178, 168, 0.18));
  box-shadow: inset 0 0 0 1px rgba(17, 39, 43, 0.06);
}

.app-icon-frame img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 600;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
}

.legal-nav {
  position: sticky;
  top: 20px;
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(9, 42, 45, 0.08);
}

.nav-title {
  margin: 0 0 4px;
  color: var(--brand-deep);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--brand-deep);
}

.legal-content {
  display: grid;
  gap: 20px;
}

.card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(9, 42, 45, 0.07);
}

.section-label {
  color: var(--brand-deep);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

p,
li {
  color: var(--ink-soft);
  line-height: 1.8;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.list-block + .list-block {
  margin-top: 20px;
}

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

.permission-grid article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(25, 178, 168, 0.08), rgba(25, 178, 168, 0.03));
  border: 1px solid rgba(25, 178, 168, 0.12);
}

.permission-grid p {
  margin-bottom: 0;
}

.note {
  margin-top: 18px;
}

.contact-line a {
  color: var(--brand-deep);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  .legal-shell {
    width: min(calc(100% - 20px), 1200px);
    padding-top: 18px;
  }

  .hero-copy,
  .hero-card,
  .card,
  .legal-nav {
    padding: 22px;
  }

  .permission-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }
}
