@font-face {
  font-family: "Anthropic Sans";
  src: url("assets/AnthropicSans-Roman-Web.woff2") format("woff2"),
       url("assets/AnthropicSans-Roman-Web.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anthropic Sans";
  src: url("assets/AnthropicSans-Italic-Web.woff2") format("woff2"),
       url("assets/AnthropicSans-Italic-Web.woff") format("woff");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #FFF5EB;
  --ink: #1A1A1A;
  --ink-soft: #444;
  --orange: #E85D26;
  --btn-bg: #1A1D24;
  --btn-hover: #2A2E38;
  --font-display: "Anthropic Sans", -apple-system, "Helvetica Neue", sans-serif;
  --font-body: -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-icon {
  width: 43px;
  height: 43px;
  border-radius: 8px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-version {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(0, 0, 0, 0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-left: -0.15rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 150ms ease;
}

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

.header-social {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

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

.button-download {
  padding: 0.9rem 1.75rem;
  background: var(--btn-bg);
  color: #fff;
  font-size: 1.05rem;
  border-radius: 14px;
}

.button-download:hover {
  background: var(--btn-hover);
}

.header-nav .button-download {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}

.header-nav .button-download:hover {
  background: rgba(0, 0, 0, 0.1);
}

.apple-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Hero */
.hero {
  max-width: 750px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  text-align: left;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.text-orange {
  background: linear-gradient(135deg, #E85D26, #F5C45A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  margin: 1.25rem 0 2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 28rem;
  font-weight: 700;
}

.hero-image {
  margin-top: 2.5rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Features */
.features {
  display: flex;
  justify-content: space-between;
  max-width: 750px;
  margin: 3rem auto 0;
  padding: 2.5rem 2rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.feature-icon svg {
  width: 64px;
  height: 64px;
}

.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Bottom CTA */
.cta-bottom {
  display: flex;
  justify-content: center;
  padding: 2rem 2rem 2.5rem;
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2rem 2rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--ink-soft);
  transition: color 150ms ease;
}

.social-link:hover {
  color: var(--ink);
}

.made-with {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.made-with a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Watermark */
.watermark {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  padding: 1rem 2rem 0;
  overflow: hidden;
  user-select: none;
}

/* FAQs */
.faqs {
  max-width: 750px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.faqs h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink-soft);
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 768px) {
  .header-nav .button-download {
    display: none;
  }

  .site-header {
    padding: 1rem 1.25rem;
  }

  .hero {
    padding: 2rem 1.25rem 1.5rem;
  }

  .features {
    gap: 2rem;
    padding: 1.5rem 1.25rem;
  }

  .faqs {
    padding: 2rem 1.25rem 3rem;
  }
}

@media (max-width: 480px) {
  .features {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .brand-name {
    font-size: 1rem;
  }
}

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

  .button {
    transition: none;
  }
}
