/* Landing page compositions. Shared foundation lives in site.css. */
.hero { display: grid; grid-template-columns: 1.07fr 1fr; align-items: center; gap: 58px; padding-top: 40px; padding-bottom: 44px; }
.hero-copy { padding-bottom: 10px; }
.hero h1 { font-size: clamp(70px, 7.6vw, 110px); line-height: .93; font-weight: 900; letter-spacing: -.065em; margin-top: 28px; margin-bottom: 29px; }
.hero-description { font-size: 16px; line-height: 1.65; max-width: 455px; color: #404040; }
.hero-actions { display: flex; flex-direction: column; gap: 17px; align-items: flex-start; margin-top: 28px; }
.hero-product { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.iphone-stage { width: 100%; display: flex; justify-content: center; padding-inline: 8px; }
.iphone-bezel { width: min(260px, 100%); padding: 9px; position: relative; flex-shrink: 0; border: 2px solid #555; border-radius: 43px; background: #080808; box-shadow: inset 0 0 0 1px #191919, 0 14px 26px rgb(0 0 0 / 12%); }
.iphone-screen { position: relative; overflow: hidden; background: #fff; border-radius: 32px; }
.iphone-screen img { width: 100%; height: auto; }
.iphone-status-bar { position: absolute; top: 12px; left: 20px; right: 16px; display: flex; align-items: center; justify-content: space-between; height: 11px; color: #050505; pointer-events: none; }
.iphone-status-bar > span { font: 700 9px/1 var(--sans); letter-spacing: -.2px; }
.iphone-status-bar svg { width: 28px; height: 8px; }
.iphone-island { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 29%; height: 20px; border-radius: 20px; background: #050505; pointer-events: none; }
.iphone-island::after { content: ''; position: absolute; right: 8px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #101421; box-shadow: inset 0 0 0 2px #101013; }
.iphone-home-indicator { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 35%; height: 3px; border-radius: 3px; background: #050505; pointer-events: none; }
.iphone-side-button { position: absolute; width: 3px; background: #333; border: 1px solid #555; border-radius: 2px; left: -5px; }
.iphone-silent { top: 67px; height: 19px; }
.iphone-volume-up { top: 104px; height: 35px; }
.iphone-volume-down { top: 151px; height: 35px; }
.iphone-power { top: 124px; height: 56px; left: auto; right: -5px; }
.preview-tabs { display: grid; grid-template-columns: 1.35fr 1.05fr .75fr; border: 1px solid var(--line); width: 100%; max-width: 360px; margin-top: 24px; }
.preview-tab { border: 0; border-right: 1px solid var(--line); background: #fff; padding: 16px 7px; cursor: pointer; font: 600 10px/1.2 var(--mono); white-space: nowrap; }
.preview-tab:last-child { border-right: 0; }
.preview-tab span { opacity: .5; font-size: 9px; }
.preview-tab.active { background: #005bc2; color: #fff; }
.preview-tab.active span { opacity: .85; }
.preview-tab:hover:not(.active) { background: var(--surface); }
.preview-caption { font: 400 10px/1.5 var(--mono); padding-top: 12px; width: 100%; max-width: 380px; min-height: 30px; text-align: center; }
.fact-strip { border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; }
.fact-grid > * { padding: 23px 20px; display: flex; justify-content: center; align-items: center; gap: 12px; font: 500 11px/1.5 var(--mono); border-right: 1px solid var(--line); text-decoration: none; }
.fact-grid > :first-child { padding-left: 0; justify-content: flex-start; }
.fact-grid > :last-child { padding-right: 0; border-right: 0; justify-content: flex-end; }
.fact-grid .icon { width: 18px; height: 18px; }
.fact-grid a:hover { color: #005bc2; }
.section { padding-block: 84px; }
.section-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 34px; }
.small-meta { font: 400 10px/1.5 var(--mono); color: var(--muted); }
h2 { font-size: clamp(38px, 4.2vw, 62px); font-weight: 900; letter-spacing: -.05em; line-height: 1.02; }
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 38px; }
.section-intro > p { color: var(--muted); font-size: 15px; line-height: 1.6; padding-bottom: 4px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--line); }
.workflow-step { padding: 25px 28px 29px; border-right: 1px solid var(--line); }
.workflow-step:last-child { border-right: 0; }
.step-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 34px; }
.step-number { font: 400 13px/1 var(--mono); }
.step-head .icon { color: var(--blue); }
.workflow-step h3 { font-size: 28px; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.workflow-step p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.code-label { display: block; font: 400 10px/1.5 var(--mono); padding-top: 24px; }
.create-repo-section { background: var(--surface); border-top: 2px solid var(--line); }
.create-repo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.create-repo-copy, .create-repo-steps { min-width: 0; }
.create-repo-copy h2 { font-size: clamp(36px, 3.8vw, 54px); }
.create-repo-copy > p { font-size: 15px; line-height: 1.75; color: var(--muted); margin-top: 25px; max-width: 440px; }
.create-repo-copy > .text-link { margin-top: 25px; }
.create-repo-tags span { border-color: #888; color: #333; }
.create-repo-steps { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--line); }
.create-repo-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.create-step-number { font: 500 10px/1.5 var(--mono); padding-top: 5px; color: var(--muted); }
.create-repo-steps h3 { font-size: 22px; font-weight: 750; line-height: 1.25; letter-spacing: -.5px; }
.create-repo-steps p { font-size: 14px; line-height: 1.75; color: var(--muted); margin-top: 10px; }
.create-repo-steps strong { color: var(--ink); font-weight: 600; }
.create-repo-scope { font: 400 10px/1.8 var(--mono); color: var(--muted); margin-top: 30px; border-top: 1px solid #aaa; padding-top: 17px; max-width: 950px; }
.inverse { background: var(--ink); color: #fff; --muted: #b5b5b5; --line: #717171; }
.features-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.features-intro > p { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 390px; margin-top: 26px; }
.features-intro > .text-link { margin-top: 24px; }
.feature-capture { margin-top: 36px; border: 1px solid #757575; background: #fff; height: 290px; overflow: hidden; }
.capture-label { display: flex; justify-content: space-between; padding: 13px 16px; background: #151515; color: #fff; font: 500 9px/1.5 var(--mono); border-bottom: 1px solid #757575; }
.diff-count { color: #66db78; }
.diff-viewport { height: calc(100% - 40px); overflow: hidden; }
.feature-capture img { transform: translateY(-30.5%); }
.feature-list article { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 28px 0; border-bottom: 1px solid #717171; }
.feature-list article:first-child { padding-top: 0; }
.feature-list article:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-number { font: 500 10px/1.5 var(--mono); color: #aaa; padding-top: 6px; }
.feature-list h3 { font-size: 23px; line-height: 1.25; font-weight: 750; letter-spacing: -.65px; }
.feature-list p { margin-top: 11px; font-size: 14px; line-height: 1.75; color: #b5b5b5; }
.feature-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.feature-tags span { padding: 6px 8px; border: 1px solid #626262; font: 500 8px/1.3 var(--mono); letter-spacing: .4px; }
.feature-list .feature-note { font: 400 10px/1.7 var(--mono); color: #b5b5b5; margin-top: 13px; }
.use-case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.use-case { display: flex; align-items: flex-start; gap: 28px; padding: 34px 28px; border: 2px solid var(--line); text-decoration: none; transition: background .15s; }
.use-case:hover { background: var(--surface); }
.case-symbol { font: 500 20px/1.2 var(--mono); color: var(--blue); white-space: nowrap; padding-top: 2px; }
.use-case .eyebrow { font-size: 9px; letter-spacing: .7px; margin-bottom: 17px; }
.use-case h3 { font-size: 29px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.use-case p { margin-top: 17px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.case-link { display: flex; align-items: center; gap: 14px; margin-top: 24px; font: 600 10px/1.5 var(--mono); }
.case-link .icon { width: 17px; height: 17px; }
.ownership-note { display: flex; gap: 22px; align-items: center; padding: 29px 0 0; }
.ownership-note > .icon { color: var(--blue); }
.ownership-note p { flex: 1; font-size: 12px; line-height: 1.8; color: var(--muted); }
.ownership-note strong { display: block; color: var(--ink); font-weight: 700; }
.ownership-note .text-link { font-size: 10px; }
.faq-section { background: var(--surface); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.faq-layout h2 { margin-top: 28px; }
.faq-intro { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 24px; }
.faq-intro a { text-underline-offset: 3px; }
.faq-list { border-top: 2px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 23px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; font-size: 14px; font-weight: 650; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: #005bc2; }
.faq-plus { width: 12px; height: 12px; position: relative; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ''; background: currentColor; position: absolute; }
.faq-plus::before { height: 1.5px; width: 12px; top: 5px; left: 0; }
.faq-plus::after { width: 1.5px; height: 12px; left: 5px; top: 0; }
.faq-list details[open] .faq-plus::after { display: none; }
.faq-list details p { padding: 0 32px 25px 0; font-size: 13px; line-height: 1.85; color: #444; }
.faq-list details a { text-underline-offset: 3px; }
code { font-family: var(--mono); font-size: .9em; }
.guide-section { padding-block: 37px; display: grid; grid-template-columns: .8fr 1.25fr 1.2fr auto; gap: 28px; align-items: center; }
.guide-section > a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: 12px; font-weight: 600; line-height: 1.5; }
.guide-section > a:hover { color: #005bc2; }
.guide-section .icon { width: 17px; height: 17px; }
.guide-section .eyebrow, .guide-section .all-guides { font: 500 9px/1.5 var(--mono); }
.download-section { padding-block: 65px; }
.download-layout { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.download-layout h2 { font-size: clamp(55px, 6.4vw, 94px); line-height: .95; margin-top: 24px; }
.download-action { min-width: 0; padding-right: 0; }
.download-action > p:first-child { font-size: 15px; margin-bottom: 25px; }
.button-white { background: #fff; border-color: #fff; color: #050505; min-width: 260px; justify-content: space-between; }
.button-white:hover { background: #005bc2; border-color: #005bc2; color: #fff; }
.download-action .purchase-note { color: #b5b5b5; }
@media (min-width: 1500px) { .hero { padding-block: 85px; } }
@media (max-width: 1150px) {
  .hero { gap: 36px; }
  .hero h1 { font-size: clamp(70px, 8.1vw, 94px); }
  .hero-actions { gap: 17px; }
  .hero-actions .text-link { font-size: 10px; gap: 9px; }
  .features-layout { gap: 60px; }
  .guide-section { grid-template-columns: 1fr 1.4fr 1.4fr; }
  .guide-section .all-guides { grid-column: 2 / 4; }
  .use-case { gap: 19px; padding: 28px 22px; }
  .case-symbol { font-size: 17px; }
  .download-action { padding-right: 0; }
}
@media (max-width: 900px) {
  .hero { padding-top: 48px; padding-bottom: 48px; gap: 28px; }
  .hero h1 { font-size: clamp(64px, 8.4vw, 77px); }
  .hero .eyebrow { font-size: 9px; letter-spacing: .6px; }
  .hero-description { font-size: 14px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 16px; }
  .preview-tab { font-size: 9px; padding-block: 14px; }
  .preview-tab span { display: none; }
  .preview-caption { font-size: 9px; min-height: 53px; }
  .fact-grid > * { font-size: 9px; padding: 20px 12px; gap: 9px; }
  .section { padding-block: 64px; }
  .workflow-step { padding: 23px 20px; }
  .workflow-step h3 { font-size: 25px; }
  .workflow-step p { font-size: 13px; }
  .create-repo-layout { gap: 35px; }
  .create-repo-copy h2 { font-size: 36px; }
  .features-layout { gap: 36px; }
  .features-intro h2 { font-size: 43px; }
  .feature-list h3 { font-size: 21px; }
  .feature-list p { font-size: 13px; }
  .feature-capture { height: 260px; }
  .use-case { flex-direction: column; gap: 21px; }
  .faq-layout { gap: 35px; grid-template-columns: .8fr 1.2fr; }
  .faq-list summary { font-size: 13px; }
}
@media (max-width: 650px) {
  .hero { grid-template-columns: 1fr; gap: 33px; padding-top: 38px; padding-bottom: 37px; }
  .hero h1 { font-size: clamp(67px, 16.4vw, 100px); margin-top: 24px; margin-bottom: 24px; }
  .hero-copy { padding-bottom: 0; }
  .hero-description { font-size: 15px; max-width: 380px; }
  .hero-actions { margin-top: 24px; gap: 19px; }
  .hero-actions .text-link { font-size: 10px; }
  .hero-product { max-width: 440px; width: 100%; margin-inline: auto; }
  .preview-tab { font-size: 9px; padding: 15px 6px; }
  .preview-tab span { display: inline; font-size: 8px; }
  .preview-caption { font-size: 9px; min-height: 40px; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid > *, .fact-grid > :first-child, .fact-grid > :last-child { justify-content: space-between; padding: 16px 0; font-size: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-grid > :last-child { border-bottom: 0; }
  .fact-grid > div { flex-direction: row-reverse; }
  .section { padding-block: 49px; }
  .section-topline { margin-bottom: 26px; }
  .section-topline .small-meta { display: none; }
  .eyebrow { font-size: 9px; letter-spacing: .8px; }
  h2 { font-size: clamp(36px, 8.7vw, 52px); }
  .section-intro { display: block; margin-bottom: 27px; }
  .section-intro > p { margin-top: 20px; font-size: 14px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-step { border-right: 0; border-bottom: 1px solid var(--line); padding: 23px; }
  .workflow-step:last-child { border-bottom: 0; }
  .step-head { padding-bottom: 21px; }
  .workflow-step h3 { font-size: 27px; }
  .workflow-step p { font-size: 14px; }
  .code-label { padding-top: 19px; }
  .create-repo-layout { grid-template-columns: 1fr; gap: 29px; }
  .create-repo-copy h2 { font-size: clamp(35px, 8.5vw, 52px); }
  .create-repo-steps li { grid-template-columns: 28px 1fr; gap: 12px; padding-block: 23px; }
  .create-repo-scope { margin-top: 24px; }
  .features-layout { grid-template-columns: 1fr; gap: 38px; }
  .features-intro h2 { font-size: clamp(45px, 10.5vw, 65px); }
  .features-intro > p { font-size: 14px; margin-top: 22px; }
  .feature-capture { height: 264px; max-width: 400px; margin-top: 27px; }
  .feature-list { border-top: 1px solid #717171; }
  .feature-list article, .feature-list article:first-child { padding: 24px 0; grid-template-columns: 28px 1fr; }
  .feature-list article:last-child { padding-bottom: 0; }
  .feature-list h3 { font-size: 23px; }
  .feature-list p { font-size: 14px; }
  .use-case-grid { grid-template-columns: 1fr; gap: 15px; }
  .use-case { padding: 25px; flex-direction: row; gap: 21px; }
  .case-symbol { font-size: 17px; }
  .use-case h3 { font-size: 26px; }
  .use-case .eyebrow { font-size: 8px; }
  .use-case p { font-size: 13px; }
  .ownership-note { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .ownership-note p { font-size: 12px; }
  .ownership-note .text-link { margin-left: 34px; }
  .faq-layout { grid-template-columns: 1fr; gap: 27px; }
  .faq-layout h2 { margin-top: 23px; }
  .faq-list summary { padding-block: 21px; font-size: 13px; }
  .faq-list details p { padding-right: 14px; }
  .guide-section { grid-template-columns: 1fr; gap: 21px; padding-block: 30px; }
  .guide-section > a { justify-content: space-between; }
  .guide-section .all-guides { grid-column: auto; }
  .download-section { padding-block: 46px; }
  .download-layout { flex-direction: column; align-items: flex-start; gap: 31px; }
  .download-layout h2 { font-size: clamp(57px, 13.5vw, 84px); }
  .download-action { width: 100%; }
  .download-action > p:first-child { font-size: 14px; margin-bottom: 20px; }
  .download-action .button { width: 100%; }
}
