/* iPhone marketing/editor shells. Colors and typography follow styles.css. */
.iphone-page .topbar-inner {
  max-width: 1224px;
  padding: 16px 24px;
  gap: 20px;
}
.iphone-page .brand-section {
  flex: none;
}
.iphone-page .site-nav {
  justify-content: center;
  gap: 20px;
}
.iphone-page .site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.iphone-page .site-nav [aria-current="page"] {
  color: var(--primary-strong);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.iphone-page .top-actions {
  gap: 16px;
}
.iphone-page .hero {
  width: min(1176px, calc(100% - 48px));
  margin: 32px auto 72px;
  padding: 48px 40px;
  gap: 40px;
}
.iphone-page .hero-content {
  flex: 1;
}
.iphone-page .hero h1 {
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.1;
  max-width: 15ch;
  margin: 0 0 24px;
  text-wrap: balance;
}
.iphone-page:lang(zh-CN) .hero h1 {
  max-width: 11em;
  line-height: 1.25;
}
.iphone-page .hero-summary {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.iphone-page .hero .eyebrow {
  margin: 0 0 16px;
  font-family: inherit;
  letter-spacing: 0.08em;
}
.iphone-page .hero::after {
  display: none;
}
.iphone-page .hero-demo {
  flex: 1.1;
}
.iphone-page .hero-demo figcaption {
  color: #f7fbfa;
  opacity: 0.85;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
}
.iphone-page .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 650;
  font-family: inherit;
}
.iphone-page .hero-cta {
  background: var(--stamp);
  color: var(--text);
}
.iphone-page .primary:hover {
  filter: brightness(1.08);
}
.iphone-page .iphone-hero-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: #f7fbfa;
  opacity: 0.85;
}
.iphone-section {
  width: min(1176px, calc(100% - 48px));
  margin: 0 auto 72px;
}
.iphone-section-heading {
  margin-bottom: 28px;
}
.iphone-section .eyebrow {
  color: var(--primary);
  margin: 0 0 10px;
  font-family: inherit;
  letter-spacing: 0.07em;
}
.iphone-section h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.iphone-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.iphone-steps li {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.iphone-steps h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 4px 0 12px;
}
.iphone-steps p,
.iphone-notes-copy p,
.iphone-faq p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}
.iphone-notes {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.iphone-notes-copy p + p {
  margin-top: 16px;
}
.iphone-faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}
.iphone-faq details {
  border-bottom: 1px solid var(--line);
}
.iphone-faq details:first-child {
  border-top: 1px solid var(--line);
}
.iphone-faq summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 650;
  font-size: 16px;
}
.iphone-faq p {
  padding-bottom: 24px;
}
.iphone-last-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.iphone-footer {
  width: min(1176px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 40px;
}
.iphone-footer > div {
  flex-wrap: wrap;
}
.iphone-footer nav {
  flex-wrap: wrap;
  gap: 20px;
}
.iphone-editor .pro-access-note {
  max-width: 1176px;
  margin-inline: auto;
  padding: 0 24px;
}
@media (max-width: 900px) {
  .iphone-page .topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
  }
  .iphone-page .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 8px 24px;
  }
  .iphone-page .top-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .iphone-page .hero {
    flex-direction: column;
    align-items: stretch;
  }
  .iphone-page .hero h1 {
    max-width: 20ch;
  }
  .iphone-page .hero-demo {
    width: 100%;
  }
  .iphone-notes,
  .iphone-faq {
    gap: 28px;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .iphone-page .topbar-inner {
    padding: 12px 20px;
  }
  .iphone-page .site-nav {
    gap: 4px 20px;
  }
  .iphone-page .site-nav a {
    font-size: 12px;
    min-height: 32px;
  }
  .iphone-page .top-actions {
    gap: 12px;
  }
  .iphone-page .hero {
    width: calc(100% - 32px);
    padding: 28px 24px;
    margin: 24px auto 48px;
    gap: 28px;
    border-radius: 18px;
  }
  .iphone-page .hero h1 {
    font-size: 36px;
    max-width: 15ch;
    margin-bottom: 20px;
  }
  .iphone-page .hero-summary {
    font-size: 16px;
    line-height: 1.65;
  }
  .iphone-page .hero .eyebrow {
    font-size: 11px;
  }
  .iphone-page .iphone-hero-note {
    font-size: 11px;
    line-height: 1.7;
  }
  .iphone-section {
    width: calc(100% - 40px);
    margin-bottom: 48px;
  }
  .iphone-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .iphone-steps li {
    padding-top: 20px;
  }
  .iphone-notes {
    padding: 24px;
  }
  .iphone-last-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .iphone-footer {
    width: calc(100% - 40px);
    padding-bottom: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-page {
    scroll-behavior: auto;
  }
  .iphone-page *,
  .iphone-page *::before,
  .iphone-page *::after {
    transition: none;
    animation: none;
  }
}
@media (max-width: 600px) {
  .iphone-page .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
  }
  .iphone-page .site-nav a {
    padding: 4px 0;
    font-size: 11.5px;
    white-space: nowrap;
  }
  .iphone-page .brand {
    font-size: 18px;
  }
}
.iphone-page #main-content {
  padding-bottom: 0;
}
.iphone-editor .left-col,
.iphone-editor .right-col {
  min-width: 0;
}
.iphone-editor select,
.iphone-editor input {
  min-width: 0;
  max-width: 100%;
}
.iphone-editor .preview-switcher,
.iphone-editor .advanced-head {
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .iphone-editor .layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
.iphone-editor .left-col,
.iphone-editor .right-col {
  grid-template-columns: minmax(0, 1fr);
}
.iphone-editor .card {
  min-width: 0;
}
.iphone-page .site-nav a,
.iphone-page .top-actions > a,
.iphone-page .brand-section {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
