:root {
  color-scheme: dark light;
  --ink: #f7efdc;
  --ink-strong: #fff8d8;
  --ink-soft: #d8c79d;
  --muted: #a99a76;
  --field: #071d1a;
  --field-deep: #03110f;
  --field-soft: #0d2d25;
  --gold: #e7bf55;
  --gold-soft: #f3df9b;
  --leaf: #8fd66e;
  --reef: #66c8c9;
  --coral: #ef9c87;
  --copper: #c98551;
  --line: rgba(231, 191, 85, 0.28);
  --panel: rgba(8, 31, 27, 0.82);
  --paper: #fbf4df;
  --paper-ink: #221c12;
  --paper-muted: #73664d;
  --paper-line: #d6c595;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--field-deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 191, 85, 0.14) 0, transparent 360px),
    linear-gradient(180deg, var(--field) 0, var(--field-deep) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.58;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(243, 223, 155, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 214, 110, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body[dir="rtl"] {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 18px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--field-deep);
  background: var(--gold-soft);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 18px;
}

.site-header,
.site-footer,
.hero-inner,
.section-block,
.legal-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 15px 0;
  backdrop-filter: blur(18px);
}

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

.brand img {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(231, 191, 85, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 760;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 740;
}

.language-control select {
  max-width: 154px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(5, 20, 17, 0.92);
  font: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 74px);
  background:
    linear-gradient(90deg, rgba(3, 17, 15, 0.96), rgba(3, 17, 15, 0.84) 46%, rgba(3, 17, 15, 0.45)),
    linear-gradient(180deg, rgba(231, 191, 85, 0.1), rgba(3, 17, 15, 0.7)),
    url("patina-worlds-strip.png") center bottom / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, transparent, var(--field-deep));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  min-height: calc(100vh - 74px);
  padding: 58px 0 88px;
}

.hero-copy {
  width: 100%;
  max-width: 640px;
  min-width: 0;
}

body[dir="rtl"] .hero {
  background:
    linear-gradient(270deg, rgba(3, 17, 15, 0.96), rgba(3, 17, 15, 0.84) 46%, rgba(3, 17, 15, 0.45)),
    linear-gradient(180deg, rgba(231, 191, 85, 0.1), rgba(3, 17, 15, 0.7)),
    url("patina-worlds-strip.png") center bottom / cover no-repeat;
}

body[dir="rtl"] .hero-copy {
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}

.hero-stage {
  position: relative;
  min-height: 680px;
}

.phone-stack {
  position: relative;
  width: min(100%, 470px);
  height: 680px;
  margin-inline-start: auto;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 8px solid #11130f;
  border-radius: 34px;
  background: #11130f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.phone-frame::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 27px;
  content: "";
  transform: translateX(-50%);
  border-radius: 16px;
  background: #070807;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-main {
  position: absolute;
  right: 46px;
  bottom: 0;
  z-index: 3;
  width: 260px;
}

.phone-menu,
.phone-garden {
  position: absolute;
  width: 194px;
  border-width: 7px;
  border-radius: 28px;
  opacity: 0.94;
}

.phone-menu {
  top: 24px;
  left: 0;
  transform: rotate(-7deg);
}

.phone-garden {
  right: 0;
  top: 4px;
  transform: rotate(7deg);
}

body[dir="rtl"] .phone-stack {
  margin-inline: auto 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  white-space: nowrap;
  margin: 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.94;
  text-shadow: 0 0 30px rgba(231, 191, 85, 0.22);
}

.tagline {
  margin: 14px 0 0;
  color: var(--gold);
  font-size: 22px;
  font-weight: 740;
}

.lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: #e5d8b8;
  font-size: 22px;
  line-height: 1.36;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  border-color: var(--gold);
  color: #161006;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(231, 191, 85, 0.18);
}

.button.secondary {
  color: var(--ink);
  background: rgba(8, 31, 27, 0.76);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 0;
}

.trust-strip div {
  border-top: 2px solid var(--gold);
  padding-top: 12px;
}

.trust-strip dt {
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 900;
}

.trust-strip dd {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.section-block {
  padding: 74px 0;
}

.section-heading {
  max-width: 760px;
  min-width: 0;
}

h2 {
  margin: 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.08;
}

h3 {
  margin: 0 0 8px;
  color: var(--ink-strong);
  font-size: 21px;
  line-height: 1.18;
}

p,
li {
  font-size: 17px;
}

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

.feature-grid article,
.policy-grid article,
.support-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.feature-grid article,
.policy-grid article {
  min-height: 220px;
  padding: 24px;
}

.feature-grid p,
.policy-grid p {
  color: #d7c9a7;
}

.section-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: #dfd0ad;
}

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

.mechanic-card,
.premium-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 31, 27, 0.78);
}

.mechanic-card {
  min-height: 360px;
  padding: 18px;
}

.mechanic-art {
  display: block;
  width: 100%;
  aspect-ratio: 52 / 17;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 247, 221, 0.14);
}

.mechanic-card h3 {
  margin-top: 22px;
}

.mechanic-card p,
.premium-card p,
.timeline-list p,
.showcase-copy li {
  color: #d7c9a7;
}

.age-card {
  border-color: rgba(143, 214, 110, 0.34);
}

.cascade-card {
  border-color: rgba(102, 200, 201, 0.34);
}

.restore-card {
  border-color: rgba(239, 156, 135, 0.34);
}

.showcase-row,
.restoration-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: 70px;
}

.showcase-phone,
.restoration-phone {
  width: min(100%, 315px);
  margin: 0 auto;
}

.showcase-copy {
  max-width: 620px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  content: "";
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent),
    var(--gold);
}

body[dir="rtl"] .check-list li {
  padding-right: 30px;
  padding-left: 0;
}

body[dir="rtl"] .check-list li::before {
  right: 0;
  left: auto;
}

.worlds-section {
  border-top: 1px solid var(--line);
}

.world-strip {
  display: block;
  width: 100%;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.world-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid rgba(255, 244, 208, 0.24);
  border-radius: var(--radius);
  padding: 22px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.world-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 17, 15, 0.22), rgba(3, 17, 15, 0.86));
}

.world-card > * {
  position: relative;
}

.world-card span,
.premium-card span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.world-card h3 {
  margin-top: 128px;
}

.world-card p {
  margin-bottom: 0;
  color: #efe0bc;
}

.world-garden {
  background-image: url("garden.jpg");
}

.world-temple {
  background-image: url("temple.jpg");
}

.world-workshop {
  background-image: url("industrial.jpg");
}

.world-reef {
  background-image: url("underwater.jpg");
}

.restoration-section {
  background:
    linear-gradient(180deg, rgba(231, 191, 85, 0.07), rgba(102, 200, 201, 0.06)),
    rgba(3, 17, 15, 0.36);
}

.timeline-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.timeline-list div {
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  background: rgba(8, 31, 27, 0.66);
}

.timeline-list strong {
  color: var(--ink-strong);
  font-size: 17px;
}

.timeline-list p {
  margin: 4px 0 0;
}

body[dir="rtl"] .timeline-list div {
  border-right: 4px solid var(--gold);
  border-left: 0;
}

.premium-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.premium-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
}

.premium-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.34;
}

.premium-card > * {
  position: relative;
}

.premium-card h3 {
  margin-top: 88px;
}

.golden-card::before {
  background:
    linear-gradient(180deg, rgba(231, 191, 85, 0.22), rgba(8, 31, 27, 0.1)),
    url("patina-screen-garden.png") center top / cover no-repeat;
}

.bloom-card::before {
  background:
    linear-gradient(180deg, rgba(143, 214, 110, 0.24), rgba(8, 31, 27, 0.2)),
    url("patina-mechanic-cascade.png") center top / cover no-repeat;
}

.founder-card::before {
  background:
    linear-gradient(180deg, rgba(239, 156, 135, 0.24), rgba(8, 31, 27, 0.2)),
    url("patina-screen-menu.png") center top / cover no-repeat;
}

.seasonal-card::before {
  background:
    linear-gradient(180deg, rgba(102, 200, 201, 0.24), rgba(8, 31, 27, 0.2)),
    url("underwater.jpg") center top / cover no-repeat;
}

.trust-section {
  padding-bottom: 96px;
}

.trust-actions {
  margin-top: 26px;
}

.proof-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-top: 30px;
}

.proof-list p {
  margin: 0;
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  color: #e2d2ae;
  background: rgba(8, 31, 27, 0.62);
}

body[dir="rtl"] .proof-list p {
  border-right: 4px solid var(--gold);
  border-left: 0;
}

.site-footer {
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  font-weight: 750;
}

.legal-page {
  color: var(--paper-ink);
  background:
    linear-gradient(180deg, rgba(13, 45, 37, 0.18) 0, transparent 280px),
    var(--paper);
}

.legal-page::before {
  opacity: 0.26;
}

.legal-page .site-header,
.legal-page .site-footer {
  color: var(--paper-ink);
}

.legal-page .brand {
  color: var(--paper-ink);
}

.legal-page .site-nav,
.legal-page .language-control,
.legal-page .site-footer {
  color: var(--paper-muted);
}

.legal-page .language-control select {
  color: var(--paper-ink);
  background: rgba(255, 251, 235, 0.86);
}

.legal-shell {
  max-width: 860px;
  padding: 56px 0 86px;
}

.legal-shell h1 {
  max-width: none;
  color: #6c5120;
  font-size: clamp(28px, 8.5vw, 48px);
  text-shadow: none;
}

.legal-shell h2 {
  margin-top: 36px;
  color: #6c5120;
  font-size: 30px;
}

.legal-shell h3 {
  margin-top: 22px;
  color: #765d2b;
}

.legal-shell p,
.legal-shell li {
  color: var(--paper-ink);
}

.legal-shell a {
  color: #654911;
  font-weight: 780;
  text-underline-offset: 4px;
}

.legal-date {
  margin: 12px 0 24px;
  color: var(--paper-muted);
}

.translation-note,
.legal-summary,
.support-panel {
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: rgba(255, 251, 235, 0.72);
}

.translation-note,
.legal-summary {
  padding: 16px 18px;
}

.translation-note {
  margin: 24px 0 34px;
}

.legal-summary {
  margin: 26px 0 8px;
}

.legal-summary ul {
  margin: 10px 0 0;
}

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

.support-panel {
  padding: 22px;
}

.support-email {
  display: inline-flex;
  margin: 20px 0 8px;
  padding: 14px 18px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: rgba(255, 251, 235, 0.8);
  font-weight: 850;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(3, 17, 15, 0.9), rgba(3, 17, 15, 0.74)),
      url("patina-worlds-strip.png") center bottom / cover no-repeat;
  }

  body[dir="rtl"] .hero {
    background:
      linear-gradient(180deg, rgba(3, 17, 15, 0.9), rgba(3, 17, 15, 0.74)),
      url("patina-worlds-strip.png") center bottom / cover no-repeat;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 48px;
    overflow: hidden;
  }

  .hero-stage {
    min-height: 580px;
  }

  .phone-stack {
    height: 580px;
    margin: 0 auto;
  }

  .phone-main {
    right: calc(50% - 138px);
    width: 252px;
  }

  .phone-menu,
  .phone-garden {
    width: 170px;
  }

  .mechanic-grid,
  .world-grid,
  .premium-grid,
  .showcase-row,
  .restoration-layout {
    grid-template-columns: 1fr;
  }

  .world-card h3,
  .premium-card h3 {
    margin-top: 96px;
  }

  h1 {
    font-size: clamp(28px, 8.5vw, 48px);
  }

  .feature-grid,
  .policy-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .hero-inner,
  .section-block,
  .legal-shell {
    width: calc(100vw - 24px);
    max-width: 1180px;
  }

  .language-control {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 340px);
    gap: 8px;
    justify-content: stretch;
  }

  .language-control select {
    width: 160px;
    max-width: 100%;
    justify-self: start;
  }

  .brand {
    width: 100%;
  }

  h1,
  .legal-shell h1 {
    font-size: 42px;
  }

  h2,
  .legal-shell h2 {
    font-size: 28px;
  }

  .lede {
    width: 100%;
    max-width: 340px;
    font-size: 19px;
  }

  .site-nav {
    flex-wrap: wrap;
    max-width: 340px;
    gap: 10px 16px;
    overflow-x: visible;
  }

  .hero-actions,
  .link-row {
    flex-direction: column;
    max-width: 340px;
  }

  .button {
    width: 100%;
    max-width: 340px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .hero-stage {
    min-height: 500px;
    overflow: hidden;
  }

  .phone-stack {
    width: 100%;
    height: 500px;
  }

  .phone-main {
    right: calc(50% - 116px);
    width: 230px;
  }

  .phone-menu,
  .phone-garden {
    width: 136px;
    border-width: 6px;
    border-radius: 24px;
  }

  .phone-menu {
    left: 4px;
    top: 36px;
  }

  .phone-garden {
    right: 4px;
    top: 18px;
  }

  .phone-frame::before {
    width: 72px;
    height: 22px;
  }

  .mechanic-card,
  .premium-card {
    min-height: 0;
  }

  .section-block {
    padding: 56px 0;
  }

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