@font-face {
  font-family: "Parisienne";
  src: url("assets/fonts/Parisienne-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 600;
}

:root {
  color-scheme: dark;
  --background: #08090c;
  --background-deep: #050608;
  --surface: #111318;
  --surface-raised: #171920;
  --text: #f6f3ec;
  --muted: #a7a9b1;
  --faint: #70737d;
  --gold: #d9b66f;
  --gold-bright: #f1d58c;
  --gold-deep: #9a7136;
  --cherry: #7e2638;
  --border: rgba(217, 182, 111, 0.26);
  --border-strong: rgba(217, 182, 111, 0.52);
  --content: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(100% - 40px, var(--content));
  min-height: 82px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.brand-mark,
.brand-mark img {
  display: block;
  width: 50px;
  height: 50px;
}

.brand-mark img {
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.40);
}

nav {
  display: flex;
  align-items: stretch;
  gap: 34px;
  font-family: "Montserrat", system-ui, sans-serif;
}

nav a {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: #e4e3df;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

nav a:hover::after,
nav a:focus-visible::after,
nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  display: flex;
  width: min(100% - 40px, var(--content));
  min-height: 690px;
  margin: 0 auto;
  padding: 72px 0 62px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.app-icon {
  width: 172px;
  height: 172px;
  border: 1px solid var(--border-strong);
  border-radius: 38px;
  object-fit: cover;
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.55), 0 0 54px rgba(217, 182, 111, 0.10);
}

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

.hero h1 {
  max-width: 980px;
  margin: 34px auto 12px;
  background: linear-gradient(105deg, var(--gold-deep), var(--gold-bright) 46%, #c5934f 78%, var(--gold-bright));
  background-clip: text;
  color: transparent;
  font-family: "Parisienne", cursive;
  font-size: 74px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
summary:focus-visible,
nav a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.button-primary {
  border-color: var(--gold-bright);
  background: linear-gradient(115deg, var(--gold-deep), var(--gold-bright) 55%, #b67d3b);
  color: #100d08;
  font-weight: 600;
}

.button-secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--gold-bright);
}

.button-secondary:hover {
  background: rgba(217, 182, 111, 0.08);
}

.platform-list {
  display: grid;
  width: min(100%, 900px);
  margin: 52px auto 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.platform-list li {
  min-width: 0;
  padding: 0 18px;
  color: #c2c3c8;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 14px;
}

.platform-list li + li {
  border-left: 1px solid var(--border);
}

.support-section {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: 86px 0 72px;
  border-top: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2,
.contact-section h2,
.policy-content h2 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
}

.section-heading p,
.contact-section p,
.policy-header p,
.policy-content p {
  color: var(--muted);
}

.faq-list {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

details + details {
  border-top: 1px solid var(--border);
}

summary {
  position: relative;
  min-height: 72px;
  padding: 22px 64px 20px 24px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 22px;
  right: 26px;
  color: var(--gold);
  content: "+";
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

details[open] summary {
  color: var(--gold-bright);
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 820px;
  margin: 0;
  padding: 0 64px 24px 24px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: 68px 0;
  align-items: center;
  border-top: 1px solid var(--border);
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.contact-section p {
  max-width: 620px;
  margin-bottom: 0;
}

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

.text-link,
.policy-content a,
.back-link,
.footer-links a {
  color: var(--gold-bright);
  text-decoration-color: rgba(241, 213, 140, 0.45);
  text-underline-offset: 4px;
}

.text-link {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 14px;
}

footer {
  display: flex;
  width: min(100% - 40px, var(--content));
  min-height: 150px;
  margin: 0 auto;
  padding: 38px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--faint);
  font-size: 13px;
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.policy-main {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  padding: 76px 0 96px;
}

.policy-header {
  display: flex;
  margin-bottom: 64px;
  align-items: center;
  gap: 28px;
}

.policy-icon {
  width: 92px;
  height: 92px;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  object-fit: cover;
}

.policy-header h1 {
  margin: 0 0 2px;
  color: var(--gold-bright);
  font-size: 48px;
  line-height: 1.2;
}

.policy-header p {
  margin: 0;
}

.policy-content {
  display: grid;
  gap: 0;
}

.policy-content section {
  padding: 34px 0 30px;
  border-top: 1px solid var(--border);
}

.policy-content h2 {
  font-size: 22px;
}

.policy-content p {
  margin-bottom: 0;
}

.back-link {
  display: inline-flex;
  margin-top: 44px;
  font-family: "Montserrat", system-ui, sans-serif;
}

@media (max-width: 760px) {
  body {
    background: var(--background);
  }

  .site-header {
    min-height: 72px;
  }

  .brand-mark,
  .brand-mark img {
    width: 44px;
    height: 44px;
  }

  nav {
    gap: 18px;
    font-size: 14px;
  }

  nav a {
    min-height: 44px;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 48px;
  }

  .app-icon {
    width: 132px;
    height: 132px;
    border-radius: 30px;
  }

  .hero h1 {
    margin-top: 26px;
    font-size: 50px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .platform-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-list li {
    min-height: 58px;
    padding: 16px 12px;
    border-top: 1px solid var(--border);
  }

  .platform-list li + li {
    border-left: 0;
  }

  .platform-list li:nth-child(even) {
    border-left: 1px solid var(--border);
  }

  .support-section {
    padding: 64px 0 58px;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 29px;
  }

  summary {
    font-size: 16px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    align-items: stretch;
  }

  .contact-actions .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .policy-main {
    padding-top: 56px;
  }

  .policy-header {
    margin-bottom: 44px;
  }

  .policy-header h1 {
    font-size: 38px;
  }
}

@media (max-width: 470px) {
  .site-header,
  .hero,
  .support-section,
  .contact-section,
  footer,
  .policy-main {
    width: min(100% - 28px, var(--content));
  }

  nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .platform-list {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .platform-list li,
  .platform-list li:nth-child(even) {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-left: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
