/* Studio V1 tokens: flux3/index.html; shared appearance, independent source. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1d1d1f;background:#f5f5f7;--text:#1d1d1f;--muted:#6e6e73;--border:#dedee2;--surface:#fff;--button-border:#d2d2d7}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}a{color:inherit;text-underline-offset:4px}p{line-height:1.6;color:var(--muted)}h1{font:600 clamp(32px,4.2vw,54px)/1.08 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-2px;margin:10px 0 20px}h2{font-size:28px;font-weight:600;line-height:1.2;letter-spacing:-.8px;margin:10px 0 16px}h3{font-size:18px;line-height:1.4;font-weight:600;letter-spacing:-.3px;margin:18px 0 8px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--muted);margin:0 0 12px}.fine{display:block;font-size:12px;line-height:1.6;color:var(--muted)}.site-header{height:112px;background:#fff;border-bottom:1px solid var(--border)}.header-inner{max-width:1400px;height:100%;margin:auto;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;text-decoration:none;flex-shrink:0}.brand img{display:block;width:300px;max-width:65vw;height:auto}nav{display:flex;align-items:center;gap:12px}.nav-link{font-size:13px;text-decoration:none;padding:10px 6px;white-space:nowrap}.nav-link:hover{color:var(--muted)}button,.button{border:1px solid var(--button-border);background:white;border-radius:12px;padding:12px 16px;min-height:46px;font:inherit;line-height:1.4;cursor:pointer;color:inherit;display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;transition:background .15s,border-color .15s}.button:hover,button:hover{background:#f5f5f7}.primary{background:#1d1d1f;color:white;border-color:#1d1d1f;font-weight:600}.primary:hover{background:#39393d;border-color:#39393d}.button:disabled,button:disabled{opacity:.45;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #1d1d1f;outline-offset:4px}.skip-link{position:fixed;top:-80px;left:20px;z-index:10;background:white;padding:12px 16px;border:1px solid var(--border);border-radius:12px}.skip-link:focus{top:16px}main{max-width:1400px;margin:auto;padding:48px 5vw 64px}.hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:44px;align-items:center;padding:12px 0 64px}.hero-copy{padding:16px 0}.intro{font-size:18px;line-height:1.6;max-width:410px;margin:0 0 28px}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.actions .button{padding:14px 20px}.hero-note{max-width:360px;margin:18px 0 0}.hero-photo{margin:0;background:white;border:1px solid var(--border);border-radius:24px;overflow:hidden;box-shadow:0 2px 12px #00000004}.hero-photo>img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover}.hero-photo figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;font-size:13px;font-weight:600}.badge{font-size:11px;font-weight:400;background:#f5f5f7;color:var(--muted);padding:7px 12px;border-radius:20px;white-space:nowrap}.content-section{border-top:1px solid var(--border);padding:40px 0 48px;scroll-margin-top:20px}.section-heading{max-width:680px;margin-bottom:28px}.section-heading>p:last-child{margin-bottom:0;font-size:14px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.panel{background:white;border:1px solid var(--border);border-radius:24px;padding:26px;box-shadow:0 2px 12px #00000004}.step-number{display:inline-flex;align-items:center;justify-content:center;background:#f5f5f7;border:1px solid #e5e5ea;color:var(--muted);width:40px;height:40px;border-radius:12px;font-size:12px}.steps p{font-size:14px;margin:0;max-width:310px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:24px}.photo-panel{margin:0;background:#fff;border:1px solid var(--border);border-radius:24px;overflow:hidden}.photo-panel img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover}.photo-panel figcaption{display:flex;flex-direction:column;gap:5px;padding:20px 22px;font-size:14px}.photo-panel figcaption strong{font-weight:600}.photo-panel figcaption span{font-size:12px;color:var(--muted)}.plans{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:4px;padding:32px}.plans p:last-child{font-size:14px;margin-bottom:0}.plans .button{flex-shrink:0}.auth{max-width:540px;margin:16px auto 64px;padding:32px}.auth h1{font-size:36px;letter-spacing:-1.2px;margin-top:14px}.auth>p:not(.eyebrow){font-size:14px}.auth form{margin-top:26px}label{display:block;font-size:13px;margin:20px 0}input{display:block;margin-top:8px;width:100%;padding:12px 14px;min-height:46px;border:1px solid var(--button-border);border-radius:12px;background:#fff;color:var(--text);font:inherit}.auth form>.primary{width:100%;margin-top:8px}.auth-switch{margin:24px 0 0;padding-top:22px;border-top:1px solid #e5e5ea}.auth-switch a{color:var(--text)}.notice{padding:16px 20px;border:1px solid var(--border);background:#f0f0f2;border-radius:16px;line-height:1.6;font-size:14px;margin:0 0 24px}.notice p{font-size:13px;margin:6px 0 0}.account-email{overflow-wrap:anywhere}.auth .notice{margin-top:24px}.site-footer{max-width:1400px;margin:auto;padding:32px 5vw;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:24px}.footer-name{font-size:15px;font-weight:600;text-decoration:none}.site-footer p{font-size:12px;margin:6px 0 0}.site-footer small{font-size:12px;color:var(--muted)}@media(min-width:1400px){.header-inner,main,.site-footer{padding-left:70px;padding-right:70px}}@media(max-width:1100px){.nav-link{display:none}.hero{gap:28px}.hero-photo figcaption{padding:14px}.badge{font-size:10px;padding:6px 9px}.actions{gap:10px}.actions .button{padding:12px 16px;font-size:14px}}@media(max-width:850px){.site-header{height:96px}.header-inner{padding:0 20px;gap:16px}.brand img{width:260px}.nav-start{display:none}nav>.button{font-size:13px;padding:10px 14px;min-height:42px}main{padding:32px 20px 40px}.hero{grid-template-columns:1fr;padding:0 0 36px;gap:26px}.hero-copy{padding:0}.hero h1{font-size:44px;letter-spacing:-1.2px}.intro{max-width:470px;font-size:17px}.hero-photo{max-width:720px;width:100%}.hero-photo figcaption{padding:16px 20px}.grid{gap:14px}.panel{padding:20px}.steps h3{font-size:16px}.steps p{font-size:13px}.content-section{padding:32px 0}.comparison{gap:16px}.plans{padding:26px}.auth{margin:0 auto 32px;padding:28px}.site-footer{padding:28px 20px}}@media(max-width:550px){.header-inner{gap:8px}.brand img{width:230px;max-width:61vw}.hero h1{font-size:40px}.grid,.comparison{grid-template-columns:1fr}.steps .panel{padding:24px}.steps p{max-width:none}.steps h3{font-size:18px}.section-heading h2,.plans h2{font-size:26px}.plans{align-items:flex-start;flex-direction:column;gap:22px}.hero-photo figcaption{padding:14px 16px}.auth{padding:24px}.auth h1{font-size:32px}.site-footer{align-items:flex-start;flex-direction:column;gap:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Account provider controls follow Studio secondary buttons. */
.auth .social-form{margin:10px 0}.social-button{width:100%;justify-content:center;gap:12px;font-size:14px;min-height:50px}.social-button:disabled{opacity:1;color:#86868b;background:#fafafa;cursor:not-allowed}.provider-state{font-size:11px;font-weight:400;white-space:nowrap;color:#6e6e73}.auth-divider{display:flex;align-items:center;gap:12px;font-size:12px;color:#6e6e73;margin:24px 0}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:#e5e5ea}.connected-accounts{border-top:1px solid #e5e5ea;margin-top:26px;padding-top:22px}.connected-accounts h2{font-size:16px;letter-spacing:0;margin:0 0 8px}

/* Branded provider buttons: icon left, balanced centered label. */
.social-button{display:grid;grid-template-columns:20px minmax(0,1fr) 20px;padding:13px 16px;background:#fff;color:#1d1d1f;border-color:#d2d2d7;font-weight:500}.social-button::after{content:"";width:20px}.provider-icon{display:block;width:20px;height:20px;object-fit:contain}.social-button:hover{background:#f5f5f7;border-color:#b5b5bb}.social-button:active{background:#ededf0}.social-button:disabled{background:#f5f5f7;color:#6e6e73}.auth .social-options{margin-top:26px}.auth-divider{margin:26px 0 18px}.auth form:not(.social-form){margin-top:18px}

/* Account, credits and saved photo recipes. */
.account-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 30px}.account-heading h1{margin-bottom:8px}.account-heading p:last-child{margin-bottom:0}.account-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:24px}.account-grid h2,.account-history h2{font-size:24px}.credit-balance{display:flex;align-items:baseline;gap:10px;margin:14px 0}.credit-balance strong{font-size:64px;line-height:1.1;letter-spacing:-2px;font-weight:600}.credit-balance span{font-size:18px;color:#6e6e73}.credit-panel>p{font-size:14px}.credit-prices{display:grid;gap:12px;border-top:1px solid #e5e5ea;border-bottom:1px solid #e5e5ea;padding:18px 0;margin:22px 0}.credit-prices>span{display:flex;justify-content:space-between;font-size:13px}.credit-prices b{font-weight:500}.account-connections .social-form{margin:14px 0}.account-connections .social-button{font-size:13px}.account-history{margin-top:24px}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.history-empty{text-align:center;padding:34px 18px;color:#86868b;background:#fafafa;border:1px dashed #dedee2;border-radius:16px;margin-top:22px}.history-empty h3{color:#1d1d1f;font-size:16px}.history-empty p{font-size:13px;margin-bottom:0}.table-scroll{overflow:auto;max-width:100%;margin-top:20px}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:11px;font-weight:500;color:#6e6e73;white-space:nowrap}th,td{padding:14px 12px;border-bottom:1px solid #e5e5ea}th:first-child,td:first-child{padding-left:0}td .button{min-height:38px;padding:8px 12px;font-size:12px}.credit-change{font-weight:600}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.recipe-editor{border-top:1px solid #e5e5ea;margin-top:24px;padding-top:20px}.recipe-editor summary{cursor:pointer;font-size:14px;font-weight:600;padding:8px 0}.recipe-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.recipe-editor label{margin:14px 0}.recipe-editor select{width:100%;display:block;margin-top:8px;padding:12px;border:1px solid #d2d2d7;border-radius:12px;background:#fff;color:#1d1d1f;font:inherit;min-height:46px}.recipe-editor select:focus-visible,summary:focus-visible{outline:2px solid #1d1d1f;outline-offset:4px}.recipe-list{display:grid;gap:12px;margin-top:22px}.recipe-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border:1px solid #e5e5ea;border-radius:16px}.recipe-card h3{font-size:16px;margin:0;overflow-wrap:anywhere}.recipe-card p{font-size:12px;margin:6px 0 0}.recipe-card .button{font-size:12px;min-height:40px;padding:10px 12px}.recipe-card .actions{gap:8px}.recipe-card .actions form{margin:0}@media(max-width:850px){.account-grid{grid-template-columns:1fr}.account-heading h1{font-size:34px}.recipe-card{align-items:flex-start;flex-direction:column}}@media(max-width:550px){.history-heading{align-items:flex-start;flex-direction:column;gap:6px}.account-heading{align-items:flex-start}.account-heading h1{font-size:30px}.account-heading .button{font-size:12px;padding:10px 12px}.recipe-fields{grid-template-columns:1fr}.credit-balance strong{font-size:56px}th,td{padding:12px 10px}.account-history,.account-grid>*{min-width:0}}

.account-open-studio{margin-top:18px}.site-header nav>.button{white-space:nowrap}@media(max-width:550px){.site-header nav>.primary+ .button{display:none}.header-inner{gap:8px}}
@media(max-width:850px){.site-header .brand img{width:221px}.site-header nav>.button{font-size:12px;padding:9px 11px;min-height:40px}.site-header nav{gap:6px}}@media(max-width:550px){.site-header .header-inner{padding-left:16px;padding-right:16px;gap:8px}.site-header .brand{max-width:calc(100% - 152px);flex-shrink:1}.site-header .brand img{width:195.5px;max-width:100%}.site-header nav{flex-shrink:0}.site-header nav>.button{padding:9px 10px}.site-header nav>.primary+.button{display:inline-flex}}
@media(min-width:851px){.site-header .nav-link{font-size:16px}}
.account-primary-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:18px}.account-primary-actions .account-open-studio{margin-top:0}.account-edit-link{font-size:14px;font-weight:500;color:#6e6e73;text-decoration:none}.account-edit-link:hover{color:#1d1d1f;text-decoration:underline}.account-edit-link:focus-visible{outline:2px solid #1d1d1f;outline-offset:5px}.account-edit-heading{margin:36px 0 28px}.account-edit-heading h1{font-size:clamp(32px,4vw,48px);margin:10px 0 14px}.account-edit-heading>a{font-size:14px;color:#6e6e73}.account-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin-bottom:48px}.account-edit-grid .account-edit-card{width:100%;max-width:none;margin:0;box-sizing:border-box}.account-edit-card h2{font-size:23px;margin-top:0}.account-edit-card input{box-sizing:border-box}.account-success{background:#f1f8f3;color:#244c33}.password-help-link,.verification-resend{font-size:14px;margin-top:20px}.verification-resend summary{cursor:pointer}.verification-resend form{margin-top:16px}@media(max-width:700px){.account-edit-grid{grid-template-columns:1fr;gap:18px}.account-primary-actions{gap:16px}.account-edit-heading{margin-top:24px}}

@media(min-width:851px){#how .section-heading{max-width:none;display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:28px;row-gap:10px;align-items:baseline}#how .section-heading>.eyebrow{grid-column:1 / -1;margin:0}#how .section-heading>h2{margin:0;white-space:nowrap}#how .section-heading>p:last-child{margin:0;white-space:nowrap}}

.credit-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.credit-panel-heading>.eyebrow{margin:0}.account-plan-label{display:inline-flex;align-items:center;flex-shrink:0;padding:6px 10px;border:1px solid #e5e5ea;border-radius:8px;background:#f5f5f7;color:#6e6e73;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap}

/* Public legal and support links */
.site-footer .footer-legal{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px 18px;margin-bottom:14px}.site-footer .footer-legal a{font-size:12px;color:#6e6e73;text-decoration:none}.site-footer .footer-legal a:hover{text-decoration:underline;color:#1d1d1f}.site-footer>.footer-legal-block{text-align:right}.site-footer .footer-legal a:focus-visible{outline:2px solid #1d1d1f;outline-offset:4px}@media(max-width:550px){.site-footer .footer-legal{justify-content:flex-start;gap:12px 18px}}
