:root {
  --bg: #f7f3ec;
  --paper: #fffdf8;
  --paper-strong: #ffffff;
  --ink: #20251f;
  --muted: #677069;
  --line: #e4ddd0;
  --green: #2f705e;
  --green-dark: #194f43;
  --clay: #c46f4d;
  --gold: #efb95f;
  --sage: #dfeade;
  --rose: #f4d7ca;
  --blue: #dce7ef;
  --shadow: 0 24px 80px rgba(57, 44, 29, 0.14);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.82), rgba(247, 243, 236, 0.96)),
    url("../img/myremio_icon.png") top -420px right -360px / 820px auto no-repeat,
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header,
.site-footer,
.hero,
.section,
.privacy-band,
.legal-page {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
}

.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(47, 112, 94, 0.22);
}

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

.site-nav a,
.site-footer a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 720;
}

.site-nav a:hover,
.site-footer a:hover {
  background: rgba(47, 112, 94, 0.08);
  color: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
  min-height: min(820px, calc(100svh - 68px));
  padding: 36px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.legal-card h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6.7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: #49524c;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero__actions,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-weight: 840;
}

.button--primary {
  background: var(--green-dark);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(25, 79, 67, 0.24);
}

.button--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--green-dark);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
  margin: 26px 0 0;
}

.hero__stats div {
  padding: 16px;
  border: 1px solid rgba(228, 221, 208, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
}

.hero__stats dt {
  color: var(--green-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

.hero__stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}

.phone-shot {
  position: relative;
  width: min(100%, 334px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 253, 248, 0.18));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-shot img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(8, 13, 26, 0.22);
}

.floating-note span,
.screen-card span,
.store-button span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
}

.screen-card,
.feature-card,
.story-grid article,
details,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 16px 44px rgba(57, 44, 29, 0.08);
}

.screen-card p,
.product-band p,
.feature-card p,
.story-grid p,
.privacy-band p,
.launch p,
.legal-card p,
.faq p {
  color: var(--muted);
}

.floating-note {
  position: absolute;
  width: 210px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 18px 45px rgba(57, 44, 29, 0.14);
}

.floating-note strong {
  display: block;
  margin-top: 4px;
}

.floating-note--one {
  top: 90px;
  right: 0;
}

.floating-note--two {
  bottom: 90px;
  left: 0;
}

.section {
  padding: 82px 0;
}

.section__header {
  max-width: 720px;
  margin-bottom: 30px;
}

.section__header h2,
.product-band h2,
.privacy-band h2,
.launch h2,
.legal-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.story-grid article,
.feature-card {
  min-height: 230px;
  padding: 24px;
}

.story-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--sage);
  color: var(--green-dark);
  font-weight: 900;
}

.story-grid h3,
.feature-card h3 {
  margin: 24px 0 10px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.product-band {
  width: min(100% - 32px, calc(var(--max) + 80px));
  margin: 28px auto 0;
  padding: clamp(32px, 6vw, 68px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(25, 79, 67, 0.94), rgba(31, 61, 55, 0.94)),
    var(--green-dark);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.product-band__copy {
  max-width: 760px;
}

.product-band .eyebrow,
.product-band p {
  color: rgba(255, 255, 255, 0.76);
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.screen-card {
  min-height: 260px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.95);
  color: var(--ink);
}

.screen-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
  line-height: 1.12;
}

.screen-line {
  width: 74%;
  height: 10px;
  margin-top: 18px;
  border-radius: 99px;
  background: var(--line);
}

.screen-line--long {
  width: 100%;
}

.screen-pill,
.date-card {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--rose);
  color: #683927;
  font-weight: 820;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-cloud b {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--sage);
  color: var(--green-dark);
  font-size: 0.86rem;
}

.date-card {
  background: var(--blue);
  color: #28455b;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.privacy-band h2 {
  color: var(--green-dark);
}

.launch__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f4d7ca, #fff6e5 58%, #dfeade);
  box-shadow: var(--shadow);
}

.launch__panel > div:first-child {
  max-width: 650px;
}

.store-buttons {
  margin-top: 0;
}

.store-button {
  min-width: 158px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(32, 37, 31, 0.16);
  background: var(--ink);
  color: #ffffff;
}

.store-button span {
  color: rgba(255, 255, 255, 0.68);
}

.store-button strong {
  font-size: 1.08rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.legal-page {
  padding: 56px 0 90px;
}

.legal-card {
  max-width: 840px;
  padding: clamp(26px, 5vw, 48px);
}

.legal-card h1 {
  font-size: clamp(2.5rem, 7vw, 4.6rem);
}

.legal-card h2 {
  font-size: 1.25rem;
}

.legal-block {
  margin-top: 30px;
}

.legal-block p {
  margin-bottom: 0;
}

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

@media (max-width: 960px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .hero__visual {
    min-height: 610px;
  }

  .story-grid,
  .feature-grid,
  .screen-row,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .launch__panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.86), rgba(247, 243, 236, 0.98)),
      var(--bg);
  }

  .site-header,
  .site-footer,
  .hero,
  .section,
  .privacy-band,
  .legal-page,
  .product-band {
    width: min(100% - 22px, var(--max));
  }

  .hero h1,
  .legal-card h1 {
    font-size: clamp(3.05rem, 16vw, 4.25rem);
  }

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

  .hero__visual {
    min-height: 560px;
  }

  .phone-shot {
    width: min(100%, 286px);
    border-radius: 34px;
  }

  .floating-note {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .story-grid article,
  .feature-card,
  .screen-card {
    min-height: auto;
  }

  .privacy-band,
  .launch__panel {
    padding: 24px;
  }

  .store-button,
  .button {
    width: 100%;
  }
}
