:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-warm: #faf7f1;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: #e5e5e7;
  --accent: #b78735;
  --accent-soft: #f3ead9;
  --button: #1d1d1f;
  --button-text: #ffffff;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(183, 135, 53, 0.3);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  text-decoration: none;
}

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

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-link:hover {
  color: var(--text);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(224, 195, 139, 0.22),
      transparent 40%
    ),
    linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.045);
}

.hero-inner {
  padding: 112px 0 106px;
  text-align: center;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 700;
}

.hero-copy {
  max-width: 630px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.45;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--surface);
}

.section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-description {
  max-width: 440px;
  margin: 0 0 4px auto;
  color: var(--muted);
  font-size: 16px;
}

.faq-list {
  margin-top: 42px;
  border-top: 1px solid var(--border);
}

.faq-item {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.faq-item p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.permission-card {
  min-height: 250px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #ffffff;
}

.permission-card h3 {
  margin: 24px 0 8px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.permission-card p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
}

.permission-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--accent-soft);
}

.camera-icon::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 17px;
  left: 11px;
  top: 17px;
  border: 2px solid var(--accent);
  border-radius: 5px;
}

.camera-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 20px;
  top: 21px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.camera-icon span {
  position: absolute;
  width: 12px;
  height: 5px;
  left: 18px;
  top: 12px;
  border-radius: 4px 4px 0 0;
  background: var(--accent);
}

.photo-icon::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 12px;
  top: 12px;
  border: 2px solid var(--accent);
  border-radius: 5px;
}

.photo-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  left: 18px;
  top: 17px;
  border-radius: 50%;
  background: var(--accent);
}

.photo-icon span {
  position: absolute;
  width: 15px;
  height: 10px;
  left: 17px;
  top: 24px;
  transform: rotate(-8deg);
  border-left: 2px solid var(--accent);
  border-top: 2px solid var(--accent);
}

.settings-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.trouble-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.trouble-card:hover {
  transform: translateY(-2px);
  border-color: #d8d8dc;
}

.trouble-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.trouble-card p {
  margin: 0;
  color: var(--muted);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 48px;
  border: 1px solid #ebe1cf;
  border-radius: 28px;
  background: var(--surface-warm);
}

.contact-panel h2 {
  font-size: clamp(32px, 4vw, 42px);
}

.contact-panel p:not(.section-label) {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-button {
  flex: 0 0 auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

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

.footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p,
.footer a {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

.app-icon {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 24px;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 40px, var(--max-width));
  }

  .nav-wrap {
    min-height: 58px;
  }

  .hero-inner {
    padding: 82px 0 78px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 18px;
  }

  .section {
    padding: 70px 0;
  }

  .section h2 {
    font-size: 34px;
  }

  .lead {
    margin-top: 18px;
    font-size: 18px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

  .section-description {
    margin: 0;
  }

  .faq-list {
    margin-top: 30px;
  }

  .faq-item {
    padding: 24px 0;
  }

  .faq-item h3 {
    font-size: 18px;
  }

  .permission-grid,
  .troubleshooting-grid {
    grid-template-columns: 1fr;
  }

  .permission-card {
    min-height: 0;
    padding: 26px;
  }

  .troubleshooting-grid {
    margin-top: 30px;
  }

  .trouble-card {
    padding: 24px;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 28px;
    gap: 26px;
  }

  .contact-button {
    width: 100%;
  }

  .footer-inner {
    min-height: 110px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
}

.privacy-hero .hero-inner {
  padding-top: 84px;
  padding-bottom: 78px;
}

.privacy-hero h1 {
  font-size: clamp(44px, 6vw, 64px);
}

.privacy-content {
  max-width: 760px;
}

.privacy-updated {
  margin: 0 0 52px;
  color: var(--muted);
  font-size: 14px;
}

.privacy-section {
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.privacy-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.privacy-section h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.privacy-section p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-section strong {
  color: var(--text);
}

.privacy-email {
  color: var(--text);
  font-weight: 600;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .privacy-hero .hero-inner {
    padding-top: 66px;
    padding-bottom: 62px;
  }

  .privacy-updated {
    margin-bottom: 40px;
  }

  .privacy-section {
    padding-bottom: 38px;
    margin-bottom: 38px;
  }

  .privacy-section h2 {
    font-size: 24px;
  }

  .privacy-section p {
    font-size: 16px;
  }
}