/* Homepage presentation. Shared product, account, and legal pages keep their styles. */
.homepage .page-shell { max-width: 1408px; padding-inline: 64px; }
.homepage .header { min-height: 88px; padding-block: 18px; }
.header .header-download { text-transform: none; }
.homepage main { --hp-copy: var(--body-copy); }
.homepage .eyebrow { color: var(--secondary); margin: 0 0 14px; font-size: 10px; letter-spacing: .15em; }
.homepage :where(main) h2 { margin: 0 0 18px; font-family: Comfortaa, sans-serif; font-size: clamp(32px, 3.25vw, 44px); font-weight: 500; line-height: 1.24; letter-spacing: -.045em; text-wrap: balance; }
.homepage h3 { font-family: Comfortaa, sans-serif; font-weight: 600; letter-spacing: -.035em; }
.hp-section { padding-block: 80px; border-bottom: 1px solid var(--line); scroll-margin-top: 28px; }
.hp-section p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--hp-copy); }
.hp-copy > p:not(.eyebrow) { max-width: 38ch; }
.hp-section-heading { max-width: 690px; margin-bottom: 32px; }
.hp-section-heading > p:not(.eyebrow) { max-width: 65ch; }
.hp-hero { padding: 28px 0 48px; text-align: center; }
.hp-hero-copy { max-width: 720px; margin: 0 auto 32px; }
.hp-hero h1 { font-size: clamp(56px, 5.8vw, 78px); line-height: 1.1; letter-spacing: -.055em; font-weight: 500; margin: 0 0 20px; }
.hp-lead { max-width: 650px; margin: 0 auto; font-family: Comfortaa, sans-serif; font-size: 19px; line-height: 1.6; letter-spacing: -.025em; }
.hp-hero-actions { display: flex; flex-direction: column; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.homepage .hp-download { text-transform: none; letter-spacing: .01em; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 999px; background: linear-gradient(105deg, #ff6a83, #ffb355); color: #241c20; font-size: 14px; font-weight: 650; line-height: 1.5; text-decoration: none; transition: box-shadow 160ms ease; }
.hp-download svg { width: 18px; height: 18px; }
.hp-download:hover { box-shadow: 0 5px 24px #ff98632b; }
.hp-demo-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); font-size: 13px; text-decoration: none; }
.hp-demo-link:hover, .hp-feature-link:hover { color: var(--accent); }
.hp-hero .hp-trial, .hp-closing .hp-trial { margin: 15px auto 0; font-size: 12px; line-height: 1.65; color: var(--secondary); }
.hp-hero-image { width: min(100%, 680px); margin: 0 auto; }
.hp-hero-image img { display: block; width: 100%; height: auto; }
.hp-demo-layout, .hp-style { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 64px; }
.hp-reply-image { margin: 0; padding: 28px 24px; border-radius: 20px; background: linear-gradient(135deg, #ecd4c5, #ecc4b0 60%, #deb8ac); }
.hp-reply-image img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 16px #553b3a22); }
.hp-section.hp-demo { padding-bottom: 0; }
.hp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 28px; list-style: none; padding: 52px 0; margin: 30px 0 0; border-top: 1px solid var(--line); scroll-margin-top: 28px; }
.hp-steps li { display: flex; align-items: baseline; gap: 14px; }
.hp-steps li > span { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--accent); }
.hp-steps h3 { margin: 0 0 6px; font-size: 14px; line-height: 1.5; }
.hp-steps p { font-size: 13px; line-height: 1.65; }
.hp-style-image { margin: 0; overflow: hidden; border-radius: 14px; }
.hp-style-image img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 20px #0002); }
.hp-feature-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 14px; padding-block: 8px; color: var(--text); font-size: 13px; line-height: 1.5; text-decoration: none; }
.hp-feature-link > span { color: var(--accent); }
.hp-private-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.hp-private .hp-copy > p:not(.eyebrow) { max-width: 48ch; }
.hp-private .hp-private-detail { margin-top: 18px; font-size: 14px; color: var(--secondary); }
.hp-private-visual { min-width: 0; padding: 18px 0; }
.hp-private-mac { position: relative; max-width: 480px; margin-inline: auto; padding: 28px 24px 24px; text-align: center; border: 1px solid var(--line); border-radius: 22px 22px 8px 8px; background: radial-gradient(ellipse at 50% 20%, #73bbc812, transparent 65%), var(--surface); box-shadow: 0 22px 60px #0000000a; }
.hp-private-device { display: block; color: var(--secondary); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.hp-private-core { display: grid; place-items: center; width: 102px; height: 102px; margin: 24px auto 16px; border-radius: 26px; color: #67b6c2; background: #67b6c210; box-shadow: 0 0 40px #67b6c20b; }
.hp-private-core svg { width: 78px; height: 78px; }
.hp-private-mac .hp-private-engine { color: var(--text); font-family: Comfortaa, sans-serif; font-size: clamp(19px, 2.1vw, 26px); line-height: 1.4; letter-spacing: -.035em; }
.hp-private-plus { display: block; margin: 8px 0; color: var(--accent); font-size: 20px; line-height: 1; }
.hp-private-mac .hp-private-app { color: var(--text); font-family: Comfortaa, sans-serif; font-size: 27px; line-height: 1.5; letter-spacing: -.045em; }
.hp-private-mac .hp-private-caption { margin-top: 12px; font-size: 12px; color: var(--secondary); }
.hp-private-mac .hp-private-status { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--body-copy); font-size: 11px; line-height: 1.6; }
.hp-private-status svg { width: 18px; height: 18px; flex-shrink: 0; color: #67b6c2; }
.hp-private-base { width: min(100%, 530px); height: 10px; margin: -1px auto 0; border: 1px solid var(--line); border-radius: 0 0 16px 16px; background: var(--surface); }
.hp-private-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.hp-private-benefits h3 { margin: 0 0 9px; font-size: 16px; line-height: 1.5; }
.hp-private-benefits p { font-size: 13px; line-height: 1.7; }
.hp-private-requirements { max-width: 108ch; margin-top: 26px; }
.hp-private-requirements p { font-size: 11px; line-height: 1.7; color: var(--secondary); }
.hp-private-requirements p + p { margin-top: 5px; }
@media (max-width: 1100px) { .hp-private-layout { gap: 40px; } }
@media (max-width: 800px) { .hp-private-layout { grid-template-columns: 1fr; gap: 24px; } .hp-private .hp-copy > p:not(.eyebrow) { max-width: 65ch; } .hp-private-visual { width: min(100%, 530px); margin-inline: auto; } }
@media (max-width: 600px) { .hp-private-benefits { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; padding-top: 26px; } .hp-private-mac { padding: 24px 18px 20px; } .hp-private-core { width: 86px; height: 86px; margin-top: 20px; } .hp-private-core svg { width: 68px; height: 68px; } .hp-private-mac .hp-private-engine { font-size: 22px; } .hp-private-requirements { margin-top: 24px; } }
.hp-context .hp-section-heading { text-align: center; margin-inline: auto; }
.hp-context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hp-context-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.hp-context-visual { aspect-ratio: 1.45; overflow: hidden; }
.hp-capture-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hp-card-copy { padding: 22px 24px 24px; }
.hp-card-copy h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 19px; line-height: 1.5; margin: 0 0 8px; }
.hp-card-copy p { font-size: 14px; }
.hp-plan-label { display: inline-block; border: 1px solid var(--line); border-radius: 20px; padding: 3px 8px; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 9px; font-weight: 500; line-height: 1.5; letter-spacing: .01em; white-space: nowrap; color: var(--secondary); }
.hp-library-example { display: flex; flex-direction: column; justify-content: center; padding: clamp(20px, 3vw, 38px); background: linear-gradient(140deg, #d0dbd0, #e7e9d9); color: #354431; }
.hp-example-label { font-size: 9px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; color: #596a53; }
.hp-reference-file { display: flex; align-items: center; gap: 12px; border: 1px solid #75866b3b; border-radius: 9px; background: #f7f8ef; padding: 12px 14px; margin-bottom: 10px; font-size: 13px; }
.hp-reference-file svg { width: 22px; height: 22px; flex-shrink: 0; color: #68805f; }
.hp-reference-file > span:last-child { margin-left: auto; color: #718368; }
.hp-reference-answer { padding: 18px 20px; background: #fffaf3; border-radius: 10px; margin-top: 6px; box-shadow: 0 8px 25px #30453112; }
.hp-reference-answer > span { font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: #6b775f; }
.hp-reference-answer p { font-family: Comfortaa, sans-serif; color: #354431; font-size: clamp(13px, 1.3vw, 17px); line-height: 1.65; letter-spacing: -.025em; margin-block: 10px; }
.hp-reference-answer small { font-size: 10px; color: #68765e; }
.hp-small-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hp-small-grid article { display: flex; align-items: flex-start; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.hp-card-icon { display: grid; place-items: center; flex: 0 0 30px; color: var(--secondary); font-size: 28px; line-height: 1.2; }
.hp-language-icon { font-size: 18px; margin-top: 3px; }
.hp-small-grid h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 17px; line-height: 1.5; margin: 0 0 9px; }
.hp-small-grid p { font-size: 14px; line-height: 1.7; max-width: 43ch; }
.hp-apple-comparison .hp-section-heading { max-width: 780px; margin-inline: auto; text-align: center; }
.hp-apple-comparison .hp-section-heading > p { max-width: 70ch; margin-inline: auto; }
.hp-apple-comparison .hp-card-icon svg { width: 28px; height: 28px; margin-top: 2px; }
.hp-apple-closing { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; text-align: center; }
.hp-apple-closing .hp-download { max-width: 100%; }
.hp-apple-closing .hp-feature-link { margin-top: -8px; font-size: 12px; }
.hp-pricing .hp-section-heading { text-align: center; margin-inline: auto; }
.hp-pricing .hp-pricing-note { font-size: 13px; margin-top: 8px; color: var(--secondary); }
.hp-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hp-plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: var(--surface); }
.hp-plan-pro { border-color: #a67a64; background: linear-gradient(145deg, #f3a58008, transparent 70%), var(--surface); }
.hp-plan .hp-plan-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 24px; font-size: 11px; color: var(--secondary); }
.hp-plan h3 { margin: 12px 0 18px; font-size: 24px; line-height: 1.4; }
.hp-plan .hp-price { font-family: Comfortaa, sans-serif; font-size: 35px; font-weight: 600; line-height: 1.4; letter-spacing: -.06em; color: var(--text); }
.hp-price > span { font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--secondary); margin-left: 5px; white-space: nowrap; }
.hp-plan .hp-billing { font-size: 12px; line-height: 1.6; margin-top: 3px; }
.hp-plan .hp-allowance { margin-top: 22px; padding-block: 18px; min-height: 92px; border-block: 1px solid var(--line); font-size: 13px; }
.hp-allowance strong { color: var(--text); font-size: 19px; font-weight: 600; margin-right: 3px; }
.hp-allowance > span { display: block; margin-top: 3px; font-size: 12px; }
.hp-plan ul { padding: 0; margin: 20px 0 24px; list-style: none; }
.hp-plan li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.65; color: var(--hp-copy); margin-bottom: 10px; }
.hp-plan li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary); font-size: 11px; }
.homepage .hp-plan-action { text-transform: none; letter-spacing: .01em; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 11px 16px; margin-top: auto; border: 1px solid var(--line); border-radius: 999px; background: var(--pill); color: var(--text); font-size: 12px; font-weight: 600; line-height: 1.6; text-decoration: none; }
.homepage .hp-plan-pro .hp-plan-action { background: #f3a58012; border-color: #a67a6480; }
.hp-plan-action:hover { border-color: var(--accent); }
.hp-enterprise { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding: 24px 8px; }
.hp-enterprise h3 { font-size: 16px; margin: 0 0 5px; }
.hp-enterprise p { font-size: 13px; }
.hp-enterprise .hp-feature-link { margin-top: 0; white-space: nowrap; }
.hp-pricing-terms { max-width: 950px; margin: 20px auto 0; text-align: center; }
.hp-pricing-terms p { font-size: 12px; line-height: 1.75; margin-top: 7px; }
.hp-pricing-terms .hp-feature-link { font-size: 12px; margin-top: 8px; }
.hp-privacy, .hp-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.hp-privacy { padding-block: 64px; }
.hp-privacy h2, .hp-faq h2 { font-size: clamp(28px, 2.9vw, 38px); }
.hp-privacy > div:last-child { max-width: 64ch; }
.homepage .faq-list summary { font-size: 15px; line-height: 1.6; padding-block: 17px; }
.homepage .faq-list details p { font-size: 14px; line-height: 1.75; padding: 0 25px 18px 0; margin: 0; }
.hp-closing { padding-block: 64px; text-align: center; border-bottom: 0; }
.homepage .hp-closing h2 { font-size: clamp(30px, 3.4vw, 44px); }
.hp-closing .hp-download { margin-top: 24px; }
.homepage .site-footer { padding-block: 28px 20px; }
.homepage .site-footer .footer-links { margin-block: 24px; gap: 22px; }
.homepage .footer-column a { font-size: 12px; }
.homepage .footer-bottom { padding-top: 16px; }
@media (max-width: 1100px) {
  .homepage .page-shell { padding-inline: 40px; }
  .hp-demo-layout, .hp-style, .hp-privacy, .hp-faq { gap: 40px; }
  .hp-plan { padding: 22px; }
  .hp-plan .hp-price { font-size: 30px; }
}
@media (max-width: 800px) {
  .homepage .page-shell { max-width: none; padding-inline: 28px; }
  .hp-section { padding-block: 56px; }
  .hp-hero { padding-top: 20px; padding-bottom: 24px; }
  .hp-hero h1 { font-size: clamp(48px, 8.8vw, 66px); }
  .hp-demo-layout, .hp-style, .hp-privacy, .hp-faq { grid-template-columns: 1fr; gap: 28px; }
  .hp-copy > p:not(.eyebrow) { max-width: 60ch; }
  .hp-style-image { max-width: 680px; }
  .hp-steps { gap: 18px; padding-block: 40px; }
  .hp-steps li { gap: 10px; }
  .hp-steps h3 { font-size: 13px; }
  .hp-steps p { font-size: 12px; }
  .hp-context-grid { gap: 18px; }
  .hp-context-visual { aspect-ratio: 1.1; }
  .hp-library-example { padding: 20px; }
  .hp-card-copy { padding: 18px; }
  .hp-card-copy h3 { font-size: 17px; }
  .hp-card-copy p { font-size: 13px; }
  .hp-reference-file { padding: 10px; font-size: 12px; }
  .hp-reference-answer { padding: 14px; }
  .hp-reference-answer > span { font-size: 7px; }
  .hp-small-grid article { padding: 20px; gap: 12px; }
  .hp-pricing-grid { gap: 12px; }
  .hp-plan { padding: 18px; }
  .hp-plan h3 { font-size: 21px; }
  .hp-plan .hp-price { font-size: 27px; }
  .hp-price > span { display: block; margin-left: 0; }
  .hp-plan li { font-size: 12px; }
  .hp-plan .hp-plan-kicker { min-height: 42px; }
  .hp-plan-action { padding: 10px 12px; font-size: 11px; }
}
@media (max-width: 700px) {
  .hp-context-grid, .hp-pricing-grid { grid-template-columns: 1fr; }
  .hp-context-visual { aspect-ratio: 1.45; }
  .hp-library-example { padding: 28px; }
  .hp-reference-answer p { font-size: 16px; }
  .hp-reference-answer > span { font-size: 8px; }
  .hp-plan { padding: 24px; }
  .hp-plan .hp-plan-kicker { min-height: 0; }
  .hp-plan h3 { margin-block: 10px 12px; }
  .hp-plan .hp-price { font-size: 34px; }
  .hp-price > span { display: inline; margin-left: 5px; }
  .hp-plan .hp-allowance { min-height: 0; margin-top: 18px; padding-block: 14px; }
  .hp-plan ul { margin-block: 18px; }
  .hp-plan li { font-size: 13px; margin-bottom: 8px; }
  .hp-plan-action { font-size: 13px; min-height: 48px; }
}
@media (max-width: 600px) {
  .homepage .page-shell { padding-inline: 20px; }
  .homepage :where(main) h2 { font-size: 32px; }
  .hp-section { padding-block: 48px; }
  .homepage .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .hp-hero h1 { font-size: clamp(44px, 11vw, 60px); margin-bottom: 18px; }
  .hp-lead { font-size: 17px; line-height: 1.6; }
  .hp-hero-actions { flex-direction: column; gap: 8px; margin-top: 22px; }
  .hp-hero-copy { margin-bottom: 26px; }
  .hp-hero .hp-trial { max-width: 290px; font-size: 11px; margin-top: 10px; }
  .hp-hero-image { width: 90%; margin-inline: auto; }
  .hp-hero-image img { width: 100%; height: auto; }
  .hp-reply-image { padding: 18px 12px; border-radius: 14px; }
  .hp-steps { grid-template-columns: 1fr; gap: 16px; padding-block: 34px; margin-top: 24px; }
  .hp-steps li { gap: 16px; }
  .hp-steps h3 { font-size: 14px; margin-bottom: 3px; }
  .hp-steps p { font-size: 13px; }
  .hp-context .hp-section-heading { text-align: left; }
  .hp-small-grid { grid-template-columns: 1fr; gap: 12px; }
  .hp-small-grid article { padding: 22px; }
  .hp-small-grid h3 { font-size: 16px; }
  .hp-enterprise { align-items: flex-start; padding-inline: 0; gap: 14px; }
  .hp-pricing-terms { text-align: left; }
  .hp-privacy h2, .hp-faq h2 { font-size: 30px; }
  .hp-closing .hp-download { margin-top: 20px; }
  .homepage .site-footer .footer-links { gap: 20px 16px; }
  .header-download .download-platform { display: none; }
}
@media (max-width: 380px) {
  .homepage .page-shell { padding-inline: 16px; }
  .header .brand img { width: 90px; }
  .header-actions { gap: 4px; }
  .header { gap: 8px; }
  .header-download { padding-inline: 10px; font-size: 10px; }
  .hp-library-example { padding: 18px; }
  .hp-reference-answer p { font-size: 14px; }
  .hp-card-copy h3 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-download { transition: none; }
}
