:root {
  color-scheme: light;
  --background: #ffffff;
  --surface: #f6f6f6;
  --surface-strong: #eeeeee;
  --ink: #1d1d1f;
  --secondary: #55565a;
  --muted: #8a8a8e;
  --hairline: #e5e5e5;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
}

body,
button,
input {
  font: inherit;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 13px max(22px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(229, 229, 229, 0.84);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
}

.site-header.compact {
  position: static;
}

.site-header.home-header {
  grid-template-columns: auto 1fr auto;
}

.home-header .header-action {
  grid-column: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: 16px;
  font-weight: 800;
}

.brand img {
  width: 37px;
  height: 37px;
  border-radius: 10px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
}

.header-action {
  justify-self: end;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 17px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

nav a:hover,
.site-footer a:hover,
.legal-document a:hover,
.legal-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: calc(100svh - 140px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 22px 42px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-top: 9px;
  color: var(--ink);
  font-size: clamp(58px, 9vw, 106px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--secondary);
  font-size: clamp(20px, 2.3vw, 29px);
  line-height: 1.22;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(940px, 100%);
  margin: 42px auto 0;
}

.hero-gallery img,
.style-strip img,
.phone-grid img {
  width: 100%;
  object-fit: cover;
  background: var(--surface-strong);
}

.hero-gallery img {
  aspect-ratio: 0.8;
  border-radius: 20px;
}

.summary,
.workflow,
.app-preview,
.styles-section,
.privacy-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 66px 22px;
}

.summary {
  padding-top: 34px;
}

.summary p {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 1.06;
  font-weight: 800;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 700px;
}

.section-heading h2,
.preview-copy h2,
.privacy-section h2 {
  color: var(--ink);
  font-size: clamp(32px, 4.3vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.workflow-grid article {
  min-height: 214px;
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
}

.workflow-grid span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

h3 {
  margin-top: 32px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
  font-weight: 800;
}

article p,
.preview-copy p,
.privacy-section p,
.legal-document p:not(.eyebrow):not(.updated) {
  margin-top: 10px;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.preview-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 34px;
  padding: 34px;
  border-radius: 28px;
  background: var(--surface);
}

.preview-copy {
  max-width: 520px;
}

.preview-copy p:last-child {
  margin-top: 16px;
}

.phone-card {
  width: min(360px, 100%);
  justify-self: end;
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.phone-header span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.phone-header strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.06;
  font-weight: 750;
}

.phone-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.phone-toggle span {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.phone-toggle .active {
  background: var(--ink);
  color: #ffffff;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.phone-grid img {
  aspect-ratio: 0.8;
  border-radius: 15px;
}

.style-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.style-strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface-strong);
}

.style-strip img {
  aspect-ratio: 0.8;
}

.style-strip figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--hairline);
}

.privacy-section p {
  max-width: 640px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 22px 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.legal-page {
  padding: 56px 22px 86px;
  background: #ffffff;
}

.support-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 22px 86px;
}

.faq-header {
  grid-template-columns: 1fr;
}

.faq-page {
  max-width: 760px;
  padding-top: 26px;
}

.faq-page .faq-section {
  padding-top: 0;
}

.faq-page h1 {
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1;
}

.faq-page .faq-list {
  margin-top: 20px;
}

.support-hero {
  max-width: 780px;
}

.support-hero h1 {
  margin-top: 9px;
}

.support-hero p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--secondary);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.28;
  font-weight: 650;
}

.support-overview,
.faq-section {
  padding-top: 62px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.support-grid article {
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
}

.support-grid span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.faq-list details {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.24;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  margin-left: auto;
  padding-left: 18px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.faq-list a,
.contact-card a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-page {
  min-height: calc(100svh - 72px);
}

.contact-card {
  max-width: 720px;
  margin-top: 38px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: var(--surface);
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.04;
  font-weight: 800;
}

.contact-card p {
  max-width: 560px;
  margin-top: 18px;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.legal-document {
  max-width: 800px;
  margin: 0 auto;
}

.legal-document h1 {
  max-width: 780px;
  margin-top: 9px;
  color: var(--ink);
  font-size: clamp(44px, 8vw, 78px);
  line-height: 0.96;
  font-weight: 850;
}

.updated {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.legal-document h2 {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 850;
}

.legal-document a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    grid-column: 2;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-gallery,
  .style-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid,
  .support-grid,
  .preview-panel,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .phone-card {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 92px;
    padding: 12px 22px;
  }

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

  .header-action {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-gallery {
    grid-template-columns: repeat(4, 138px);
    justify-content: start;
    width: calc(100vw - 44px);
    margin-top: 32px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .button {
    flex: 1;
    min-width: 142px;
    padding: 0 16px;
    font-size: 14px;
  }

  .summary,
  .workflow,
  .app-preview,
  .styles-section,
  .privacy-section {
    padding: 52px 22px;
  }

  .support-page {
    padding: 42px 22px 70px;
  }

  .summary {
    padding-top: 24px;
  }

  .summary p {
    font-size: 31px;
  }

  .section-heading h2,
  .preview-copy h2,
  .privacy-section h2 {
    font-size: 34px;
  }

  .support-page .section-heading h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .preview-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .phone-card {
    width: 100%;
    padding: 18px;
    border-radius: 24px;
  }

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

  .site-footer div {
    flex-wrap: wrap;
  }

  .support-overview,
  .faq-section {
    padding-top: 50px;
  }

  .support-grid article {
    min-height: 0;
  }

  .faq-list summary {
    min-height: 56px;
    padding: 16px 18px;
    font-size: 16px;
  }

  .faq-list details p {
    padding: 0 18px 18px;
    font-size: 15px;
  }

  .contact-card {
    padding: 22px;
    border-radius: 22px;
  }

  .support-grid {
    grid-template-columns: repeat(4, 228px);
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .support-grid article {
    min-height: 212px;
  }

  .legal-page {
    padding-top: 42px;
  }

  .legal-document h2 {
    font-size: 22px;
  }

  .legal-document p:not(.eyebrow):not(.updated) {
    font-size: 16px;
  }
}
