:root {
  --bg: #ffffff;
  --fg: #000000;
  --button-bg: #000000;
  --button-fg: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "SF Pro Rounded", "Avenir Next Rounded", "Arial Rounded MT Bold",
    "Segoe UI Rounded", "Nunito", "Poppins", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 56px 20px 64px;
  gap: 28px;
}

.app-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 48px);
  text-align: center;
  letter-spacing: -0.01em;
}

.support-text {
  margin: 0;
  max-width: 640px;
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
}

.support-email {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.support-email:hover,
.support-email:focus-visible {
  border-bottom-color: rgba(0, 0, 0, 0.6);
}

.faq {
  width: min(720px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq h2 {
  margin: 8px 0 4px;
  font-size: clamp(22px, 3.6vw, 32px);
  text-align: center;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 6px 14px;
  background: #ffffff;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 10px 6px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 20px;
  line-height: 1;
  margin-left: 10px;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-content {
  padding: 4px 6px 12px;
  font-size: 16px;
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.6s ease, opacity 0.45s ease, transform 0.45s ease;
}

.faq-item[open] .faq-content {
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
}

.faq-content p {
  margin: 8px 0;
}

.faq-content ul,
.faq-content ol {
  margin: 6px 0 8px 20px;
  padding: 0;
}

.policy {
  width: min(800px, 92vw);
  align-items: flex-start;
  padding-left: 32px;
}

.policy h1,
.policy h2,
.policy h3,
.policy p,
.policy ul {
  text-align: left;
}

.policy p {
  margin: 6px 0;
}

.policy h2 {
  margin-top: 6px;
}

.policy h3 {
  margin-top: 10px;
  font-size: 18px;
}

.policy hr {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  margin: 18px 0;
}

.policy ul {
  margin: 6px 0 10px 20px;
  padding: 0;
}

.video-wrap {
  width: min(630px, 92vw);
}

.demo-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.ios-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: #fcc14b;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  gap: 10px;
}

.ios-button:focus-visible,
.ios-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.apple-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

@media (max-width: 520px) {
  .page {
    padding-top: 36px;
    gap: 22px;
  }

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

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 18px 20px 28px;
  font-size: 14px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  border-bottom-color: rgba(0, 0, 0, 0.6);
}
