:root {
  --background: #fff9e8;
  --card: #ffffff;
  --surface: #f7f7f2;
  --text: #1f1f18;
  --muted: #68685f;
  --line: #e9e4d3;
  --yellow: #ffd84d;
  --yellow-soft: #fff4bf;
  --green: #138a4d;
  --green-soft: #eaf6ef;
  --green-dark: #0f7040;
  --shadow: 0 18px 48px rgba(49, 45, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100%;
  margin: 0;
  background: linear-gradient(180deg, #fff9e8 0%, #fffdf5 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--green);
  text-decoration-color: rgba(19, 138, 77, 0.36);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-dark);
  text-decoration-color: currentColor;
}

.page {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 28px 0 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(49, 45, 28, 0.08);
  border-radius: 18px;
  background: var(--yellow);
  box-shadow: 0 8px 22px rgba(255, 216, 77, 0.3);
}

.brand-mark::before {
  width: 16px;
  height: 16px;
  border: 3px solid var(--text);
  border-top-color: transparent;
  border-radius: 50%;
  content: "";
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.footer-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav a {
  padding: 8px 12px;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--green);
  background: rgba(255, 255, 255, 0.72);
}

.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero {
  padding: 40px;
  overflow: hidden;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: #6f5700;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 12px;
}

.hero h1,
.content h1 {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(38px, 8vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.content h1 {
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.05;
}

.subtitle {
  margin: 16px 0 0;
  color: var(--green);
  font-size: clamp(21px, 4.8vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  padding: 14px 20px;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(19, 138, 77, 0.18);
}

.button-primary:hover {
  background: var(--green-dark);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(19, 138, 77, 0.2);
  color: var(--green);
}

.content {
  padding: 34px 36px;
}

.date {
  display: inline-block;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  padding: 7px 12px;
}

.content p {
  margin: 16px 0 0;
}

.section {
  margin-top: 30px;
}

.section h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
}

.section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.section li {
  margin: 8px 0;
  padding-left: 2px;
}

.section li::marker {
  color: var(--green);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
}

.contact-link:hover {
  background: #ddf0e6;
}

.closing {
  margin-top: 30px;
  border-left: 5px solid var(--yellow);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 18px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links a {
  padding: 7px 10px;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 760px);
    padding-top: 16px;
  }

  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero,
  .content {
    padding: 26px 22px;
  }

  .hero h1,
  .content h1 {
    overflow-wrap: anywhere;
  }

  .actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .section {
    margin-top: 26px;
  }
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-link img,
.brand-logo {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  object-fit: cover !important;
  border-radius: 12px;
  display: block;
  flex: 0 0 42px;
}

.button-appstore {
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  box-shadow: 0 14px 26px rgba(17, 17, 17, 0.18);
}

.button-appstore:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}
