:root {
  --green-950: #053321;
  --green-900: #065f3c;
  --green-700: #059669;
  --green-600: #00c97b;
  --green-500: #00e68a;
  --green-100: #e8fff5;
  --green-50: #f2fff9;
  --text: #073323;
  --muted: #53645d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
a,
strong,
small,
li {
  font-family: inherit;
}

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

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

.page {
  min-height: 100vh;
}

.container {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  width: min(100%, 1000px);
}

.hero {
  min-height: 70vh;
  padding: 50px 0 40px;
  color: var(--white);
  background: linear-gradient(90deg, var(--green-900), var(--green-600), var(--green-500));
  display: flex;
  align-items: flex-start;
}

.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero h1 {
  margin: 28px 0 0;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.14;
  font-weight: 700;
}

.hero p {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.65;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
}

.app-preview-media {
  min-height: 420px;
  align-items: center;
}

.chat-phone {
  width: min(100%, 310px);
  min-height: 560px;
  padding: 46px 20px 22px;
  border: 8px solid #111;
  border-radius: 42px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.22), inset 0 0 0 2px #5a5f66;
  position: relative;
  overflow: hidden;
}

.tilted-phone {
  transform: rotate(15deg);
  transform-origin: center;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 96px;
  height: 24px;
  border-radius: 0 0 14px 14px;
  background: #090a0b;
  transform: translateX(-50%);
}

.phone-status {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  color: #161b22;
  font-size: 10px;
  font-weight: 700;
  z-index: 2;
}

.chat-preview-head img {
  width: 132px;
  margin: 0 0 18px;
}

.preview-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 10px;
  background: #f2f2f2;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.preview-tabs span {
  padding: 8px 6px;
  border-radius: 8px;
  color: #9aa1a8;
}

.preview-tabs span:first-child {
  color: var(--green-600);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.preview-chat-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.preview-chat-list article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #edf1f3;
  background: #fff;
}

.preview-chat-list article.active {
  background: #e5fff4;
}

.preview-chat-list b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-size: 14px;
}

.preview-chat-list h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
}

.preview-chat-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.preview-chat-list small {
  color: var(--green-700);
  font-size: 10px;
  white-space: nowrap;
}

.preview-message {
  margin-top: 18px;
  margin-left: auto;
  width: 88%;
  border-radius: 14px;
  padding: 12px 14px;
  background: #e9fff5;
  color: #405048;
  font-size: 12px;
  line-height: 1.4;
}

.preview-message p {
  margin: 0;
}

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

.hero-brand {
  margin-bottom: 8px;
}

.logo-link img {
  width: 220px;
  height: auto;
  object-fit: contain;
}

.hero-brand img {
  width: min(100%, 240px);
  max-width: 240px;
}

.brand-mark {
  width: 102px;
  height: 102px;
  border: 8px solid currentColor;
  border-top-color: transparent;
  border-radius: 0 0 56px 56px;
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  padding: 0 12px 10px;
}

.brand-mark span {
  width: 13px;
  background: currentColor;
  border-radius: 6px 6px 0 0;
}

.brand-mark span:nth-child(1) {
  height: 63px;
}

.brand-mark span:nth-child(2) {
  height: 82px;
}

.brand-mark span:nth-child(3) {
  height: 43px;
}

.brand-text {
  display: grid;
  gap: 4px;
}

.brand-text strong {
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-text small {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.1;
}

.section {
  padding: 64px 0;
}

.section-white {
  background: var(--white);
  color: var(--green-950);
}

.section-soft {
  background: var(--green-50);
  color: var(--green-950);
}

.section-heading {
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--green-700);
}

.section-heading span {
  display: block;
  width: 64px;
  height: 4px;
  margin: 16px auto 0;
  background: var(--green-600);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card,
.reason-grid article,
.steps article {
  text-align: center;
}

.feature-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(78%) sepia(76%) saturate(929%) hue-rotate(91deg) brightness(92%) contrast(92%);
}

.app-feature-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  position: relative;
}

.app-feature-icon::before,
.app-feature-icon::after {
  content: "";
  position: absolute;
}

.notify-icon::before {
  width: 34px;
  height: 34px;
  border: 5px solid var(--green-600);
  border-radius: 8px;
}

.notify-icon::after {
  right: 24px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-500);
}

.profile-icon::before {
  width: 38px;
  height: 28px;
  border: 5px solid var(--green-600);
  border-radius: 8px;
}

.profile-icon::after {
  top: 28px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-600);
}

.chat-icon::before {
  width: 48px;
  height: 34px;
  border-radius: 18px;
  background: var(--green-600);
}

.chat-icon::after {
  right: 25px;
  bottom: 29px;
  width: 16px;
  height: 16px;
  background: var(--green-600);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.feature-card h3,
.reason-grid h3,
.steps h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-950);
}

.feature-card p,
.reason-grid p,
.steps p {
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.app-features {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.app-features ul {
  flex: 1;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  font-size: 18px;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-features li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: hue-rotate(92deg) saturate(1.7) brightness(1.08);
}

.phone-art {
  flex: 1;
  width: min(100%, 420px);
  max-height: 520px;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

.community-panel {
  max-height: none;
  min-height: 420px;
  padding: 28px;
  border: 1px solid #e9f2ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(7, 51, 35, 0.08);
}

.community-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--green-100);
}

.community-header img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.community-header h3 {
  margin: 0;
  font-size: 24px;
}

.community-header p {
  margin: 4px 0 0;
  color: var(--muted);
}

.community-notices {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.community-notices article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 14px;
  background: var(--green-50);
}

.community-notices span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-100);
  position: relative;
}

.community-notices span::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid var(--green-600);
  border-radius: 3px;
}

.community-notices h4 {
  margin: 0;
  font-size: 16px;
}

.community-notices p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.reason-grid img {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(78%) sepia(76%) saturate(929%) hue-rotate(91deg) brightness(92%) contrast(92%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.steps article div {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-900);
  color: var(--white);
  font-size: 28px;
}

.footer {
  padding: 32px 0 0;
  color: var(--white);
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr minmax(220px, 1fr);
  gap: 32px;
  align-items: start;
}

.footer .brand {
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.footer .brand-mark {
  width: 84px;
  height: 84px;
  border-width: 7px;
}

.footer .brand-text strong {
  font-size: 26px;
}

.footer .brand-text small {
  font-size: 12px;
}

.footer p {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.55;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-brand a,
.footer-contact a {
  color: #a8ffda;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-links h3 {
  margin: 0 0 16px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-contact {
  text-align: right;
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}

.socials img {
  width: 32px;
  height: 32px;
}

.copyright {
  margin-top: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 110vh;
  }

  .hero-grid,
  .app-features {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .tilted-phone {
    transform: none;
  }

  .reason-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contact {
    text-align: center;
  }

  .socials {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 110vh;
  }

  .container {
    padding: 0 20px;
  }

  .brand {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .brand-text strong {
    font-size: 44px;
  }

  .brand-text small {
    font-size: 17px;
  }

  .feature-row,
  .reason-grid,
  .steps,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 26px;
  }
}
