:root {
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --paper: #f2f2f0;
  --paper-soft: rgba(242, 242, 240, 0.76);
  --stone: #989490;
  --stone-2: #b3b0ad;
  --ink: #0d1117;
  --white: rgba(255, 255, 255, 0.95);
  --glass: rgba(128, 128, 128, 0.3);
  --glass-2: rgba(255, 255, 255, 0.32);
  --line: rgba(255, 255, 255, 0.42);
  --ease: cubic-bezier(0.55, 0, 0.1, 1);
  --shadow: 0 3rem 9rem rgba(35, 48, 55, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: var(--font-body);
  background:
    linear-gradient(180deg, rgba(242, 242, 240, 0.04), rgba(242, 242, 240, 0.72)),
    url("/positive_landscape2.png") center top / cover fixed no-repeat;
  color: var(--stone);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

.topbar {
  position: fixed;
  top: 1.55rem;
  left: 50%;
  z-index: 20;
  width: auto;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transform: translateX(-50%);
}

.shell,
.footer {
  position: relative;
  z-index: 1;
}

.button::after,
.app-policy-button::after,
.resource::after,
.pillar-card::after,
.legal-card::after,
.app-status::after,
.story::after,
.resources::after,
.contact-band::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  background: linear-gradient(156deg, rgba(255, 255, 255, 0.42) 2%, rgba(255, 255, 255, 0) 39%, rgba(255, 255, 255, 0.1) 93%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.brand {
  position: relative;
  width: 3.35rem;
  height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 1.2rem 4rem rgba(35, 48, 55, 0.14);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
}

.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(156deg, rgba(255, 255, 255, 0.42) 2%, rgba(255, 255, 255, 0) 39%, rgba(255, 255, 255, 0.1) 93%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.brand-icon {
  width: 2.18rem;
  height: auto;
  display: block;
  opacity: 0.9;
  transform: translateY(0.02rem);
}

.menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 1.2rem 4rem rgba(35, 48, 55, 0.14);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
}

.menu::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  background: linear-gradient(156deg, rgba(255, 255, 255, 0.42) 2%, rgba(255, 255, 255, 0) 39%, rgba(255, 255, 255, 0.1) 93%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.menu a {
  min-height: 2.65rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.62rem 1.15rem;
  color: rgba(8, 12, 18, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: opacity 0.45s var(--ease), background-color 0.45s var(--ease);
}

.menu a:hover {
  opacity: 0.68;
  background: rgba(255, 255, 255, 0.12);
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 86px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8.8rem 0 8rem;
  color: var(--ink);
  text-align: center;
}

.hero-copy {
  width: min(930px, 100%);
}

.eyebrow,
.section-label {
  margin-bottom: 1.2rem;
  color: rgba(8, 12, 18, 0.74);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1.35rem;
  line-height: 1;
}

.hero-logo {
  width: min(68vw, 620px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.lead {
  max-width: 820px;
  margin: 0 auto 2rem;
  color: rgba(8, 12, 18, 0.84);
  font-size: clamp(1.15rem, 2.2vw, 1.95rem);
  line-height: 1.34;
}

.button {
  position: relative;
  min-height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  background: var(--glass);
  color: var(--white);
  font-weight: 800;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.button:hover {
  opacity: 0.74;
  transform: translateY(-1px);
}

.story,
.resources,
.contact-band,
.app-status,
.legal-card {
  position: relative;
  border-radius: 5.5rem;
  background: var(--paper-soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.latest-app {
  margin-top: 0;
  position: relative;
}

.latest-app-card {
  padding: clamp(1.9rem, 5vw, 3.9rem);
  border-radius: 5.5rem;
  background: var(--paper-soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.latest-app-content {
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1fr);
  gap: clamp(0.8rem, 2vw, 1.2rem) clamp(1.5rem, 5vw, 3.25rem);
  align-items: center;
}

.latest-app-title {
  grid-column: 2;
  align-self: end;
}

.latest-app-text {
  grid-column: 2;
  align-self: start;
  min-width: 0;
}

.latest-app-shot {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: min(100%, 312px);
  justify-self: start;
  padding: 10px;
  border: 1px solid rgba(8, 12, 18, 0.12);
  border-radius: 42px;
  overflow: hidden;
  background: rgba(8, 12, 18, 0.86);
  box-shadow: 0 2rem 5rem rgba(8, 12, 18, 0.18);
}

.latest-app-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.latest-app .section-label {
  color: var(--stone);
}

.latest-app h2 {
  max-width: 10ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.48rem, 5.95vw, 4.65rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.latest-app-text p {
  max-width: 650px;
  margin: 0;
  color: var(--stone);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.store-badge-link {
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.store-badge-link img {
  display: block;
  width: auto;
  height: 70px;
}

.app-policy-button {
  position: relative;
  width: fit-content;
  margin-top: 12px;
  padding: 0.72rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 1rem 2.6rem rgba(35, 48, 55, 0.12);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  transition: transform 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.app-policy-button:hover,
.app-policy-button:focus-visible {
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 1.2rem 3rem rgba(35, 48, 55, 0.16);
  transform: translateY(-1px);
}

.app-policy-button:focus-visible {
  outline: 3px solid rgba(13, 17, 23, 0.28);
  outline-offset: 4px;
}

.story .section-label,
.app-status .section-label,
.resources .section-label,
.contact-band .section-label {
  color: var(--stone);
}

.story h2,
.section-heading h2,
.contact-band h2 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.8vw, 5.8rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.story-copy p,
.section-intro,
.contact-band p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--stone);
  font-size: clamp(1rem, 1.8vw, 1.55rem);
  line-height: 1.48;
}

.story-copy p,
.section-intro {
  margin-top: 1.5rem;
}

.story {
  margin-top: 0;
  padding: clamp(1rem, 2vw, 1.3rem);
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 1rem;
}

.story-copy {
  min-height: 34rem;
  padding: clamp(2rem, 5vw, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pillar-grid {
  display: grid;
  gap: 1rem;
}

.pillar-card {
  position: relative;
  min-height: 10.5rem;
  border-radius: 3.6rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
}

.pillar-card span {
  display: block;
  margin-bottom: 1.2rem;
  color: rgba(8, 12, 18, 0.38);
  font-size: 0.82rem;
  font-weight: 800;
}

.pillar-card h3 {
  margin-bottom: 0.7rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.pillar-card p {
  margin-bottom: 0;
  color: var(--stone);
}

.app-status {
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 5rem);
}

.app-status .section-heading {
  max-width: 940px;
}

.app-grid {
  margin-top: clamp(2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.app-card {
  position: relative;
  min-height: 18rem;
  border-radius: 3.6rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.26);
}

.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  background: linear-gradient(156deg, rgba(255, 255, 255, 0.42) 2%, rgba(255, 255, 255, 0) 39%, rgba(255, 255, 255, 0.1) 93%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.app-card h3 {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.app-card p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--stone);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.5;
}

.app-status-label {
  margin-bottom: 1.3rem;
  color: rgba(8, 12, 18, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.app-card a {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.92rem 1.25rem;
  background: rgba(8, 12, 18, 0.86);
  color: var(--white);
  font-weight: 800;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.app-card a:hover {
  opacity: 0.78;
  transform: translateY(-1px);
}

.status-list {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 3.6rem;
  background: rgba(255, 255, 255, 0.26);
}

.status-list p {
  min-height: 8.8rem;
  margin: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--stone);
}

.status-list p + p {
  border-left: 1px solid rgba(152, 148, 144, 0.16);
}

.status-list strong {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.status-list span {
  color: var(--stone);
  font-size: 1.05rem;
}

.resources {
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 5rem);
}

.section-heading {
  max-width: 820px;
}

.resource-grid {
  margin-top: clamp(2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.resource {
  position: relative;
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 3.6rem;
  padding: 1.55rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.26);
  color: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.resource:hover {
  transform: translateY(-0.25rem);
  opacity: 0.82;
}

.resource h3 {
  margin-bottom: 0.7rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.resource p {
  margin-bottom: 0;
  color: var(--stone);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.contact-band {
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 5rem);
}

.contact-band h2 {
  margin: 0 0 1.5rem;
}

.contact-band a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-main {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.legal-card {
  padding: clamp(2rem, 5vw, 5rem);
}

.legal-card h1 {
  margin-bottom: 0.7rem;
  color: var(--stone);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.muted {
  color: var(--stone-2);
}

.legal-card section {
  margin-top: 2rem;
}

.legal-card h2 {
  margin-bottom: 0.7rem;
  color: var(--ink);
  font-size: 1.25rem;
}

.legal-card p,
.legal-card li {
  color: var(--stone);
}

.legal-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--ink);
  font-weight: 800;
}

.footer p {
  margin: 0;
}

.footer a {
  margin-left: 1rem;
  transition: opacity 0.45s var(--ease);
}

.footer a:hover {
  opacity: 0.68;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar,
  .button,
  .resource,
  .app-card,
  .pillar-card,
  .status-list {
    background: rgba(128, 128, 128, 0.58);
  }

  .story,
  .latest-app-card,
  .resources,
  .contact-band,
  .app-status,
  .legal-card {
    background: rgba(242, 242, 240, 0.95);
  }
}

@media (max-width: 980px) {
  .resource-grid,
  .status-list,
  .story {
    grid-template-columns: 1fr;
  }

  .latest-app-content {
    grid-template-columns: 1fr;
  }

  .latest-app-title,
  .latest-app-text,
  .latest-app-shot {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }

  .latest-app-title,
  .latest-app-text {
    text-align: center;
  }

  .latest-app-title h2 {
    margin-inline: auto;
  }

  .latest-app-shot {
    justify-self: center;
    width: min(100%, 262px);
  }

  .store-badges {
    justify-content: center;
  }

  .app-policy-button {
    margin-inline: auto;
  }

  .story-copy {
    min-height: 24rem;
  }

  .app-card {
    display: block;
  }

  .app-card a {
    display: inline-flex;
    margin-top: 1.8rem;
  }

  .status-list p + p {
    border-top: 1px solid rgba(152, 148, 144, 0.16);
    border-left: 0;
  }

  .resource {
    min-height: 12rem;
  }
}

@media (max-width: 680px) {
  body {
    background:
      linear-gradient(180deg, rgba(242, 242, 240, 0.1), rgba(242, 242, 240, 0.82)),
      url("/positive_landscape2.png") center top / auto 100svh no-repeat;
    background-attachment: scroll;
  }

  .topbar {
    top: 0.9rem;
    gap: 0.5rem;
  }

  .menu {
    justify-content: center;
  }

  .menu a {
    min-height: 2.45rem;
    padding: 0.54rem 0.78rem;
    font-size: 0.84rem;
  }

  .brand {
    width: 3rem;
    height: 3rem;
  }

  .shell {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: 620px;
    padding: 4.8rem 0 5.6rem;
  }

  .lead {
    max-width: 92%;
  }

  .button {
    width: 100%;
  }

  .latest-app-card,
  .story,
  .resources,
  .contact-band,
  .app-status,
  .legal-card {
    border-radius: 2.6rem;
  }

  .resource,
  .app-card,
  .pillar-card,
  .status-list {
    border-radius: 2.2rem;
  }

  .footer {
    display: block;
    color: var(--ink);
  }

  .footer p + p {
    margin-top: 1rem;
  }

  .footer a {
    display: inline-block;
    margin: 0 1rem 0.6rem 0;
  }
}
