/* v10.5.70-software: Audiogarden Apps — store, product and account pages.
   Uses the public-page tokens from agos-pages.css with its own fallbacks, so the pages
   look right whether or not that stylesheet is on the page. */

.agsw {
    --sw-font: var(--ag-font, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, sans-serif);
    --sw-text: var(--ag-text, #18181b);
    --sw-muted: #6b6b73;
    --sw-accent: var(--ag-accent, #2563eb);
    --sw-accent-h: var(--ag-accent-h, #1d4ed8);
    --sw-bg: var(--ag-bg, #fafafa);
    --sw-surface: var(--ag-surface, #ffffff);
    --sw-border: var(--ag-border, #e4e4e7);
    --sw-radius: var(--ag-radius, 20px);
    --sw-radius-sm: var(--ag-radius-sm, 14px);
    --sw-shadow: var(--ag-shadow, 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.02));
    font-family: var(--sw-font);
    color: var(--sw-text);
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 20px 72px;
    line-height: 1.55;
    box-sizing: border-box;
}
.agsw *, .agsw *::before, .agsw *::after { box-sizing: border-box; }
.agsw h1, .agsw h2, .agsw h3, .agsw h4 { color: var(--sw-text); letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.2; }
.agsw h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; }
.agsw h2 { font-size: 24px; font-weight: 700; }
.agsw h3 { font-size: 18px; font-weight: 650; }
.agsw h4 { font-size: 14px; font-weight: 650; }
.agsw p { margin: 0 0 12px; }
.agsw a { color: var(--sw-accent); }

.agsw-preview { background: #fef3c7; color: #78350f; border: 1px solid #fcd34d; border-radius: 10px; padding: 8px 14px; font-size: 13px; margin-bottom: 24px; }
.agsw-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 650; color: var(--sw-accent); margin-bottom: 10px !important; }
.agsw-lead { font-size: 18px; color: var(--sw-muted); max-width: 680px; }
.agsw-muted { color: var(--sw-muted); }
.agsw-small { font-size: 13px; color: var(--sw-muted); display: block; margin-top: 10px; }
.agsw-tagline { font-size: 17px; font-weight: 600; }
.agsw-tagline--lg { font-size: 22px; }
.agsw-center { text-align: center; }
.agsw-back { display: inline-block; font-size: 14px; text-decoration: none; margin-bottom: 18px; }

.agsw-hero { padding: 24px 0 36px; }
.agsw-hero--product { padding-top: 8px; }

.agsw-card { background: var(--sw-surface); border: 1px solid var(--sw-border); border-radius: var(--sw-radius); padding: 26px 28px; box-shadow: var(--sw-shadow); margin-bottom: 20px; }

.agsw-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: 600 15px var(--sw-font); padding: 11px 20px; border-radius: 12px; border: 1px solid var(--sw-border); background: var(--sw-surface); color: var(--sw-text) !important; text-decoration: none !important; cursor: pointer; transition: background .2s, border-color .2s; }
.agsw-btn:hover { border-color: #a1a1aa; }
.agsw-btn small { font-weight: 450; font-size: 12px; color: var(--sw-muted); }
.agsw-btn--primary { background: var(--sw-accent); border-color: var(--sw-accent); color: #fff !important; }
.agsw-btn--primary:hover { background: var(--sw-accent-h); border-color: var(--sw-accent-h); }
.agsw-btn--ghost { background: transparent; }
.agsw-btn--lg { padding: 14px 26px; font-size: 16px; }
.agsw-btn--full { width: 100%; }
.agsw-btn.is-disabled { opacity: .5; cursor: default; pointer-events: none; }
.agsw-link { background: none; border: 0; color: var(--sw-accent); font: inherit; cursor: pointer; padding: 0; }
.agsw-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }
.agsw-badge { font-size: 12px; font-weight: 600; background: #f4f4f5; color: var(--sw-muted); padding: 3px 10px; border-radius: 99px; white-space: nowrap; }

/* store */
.agsw-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.agsw-product-tile { display: flex; flex-direction: column; align-items: flex-start; }
.agsw-product-tile .agsw-btn { margin-top: auto; }
.agsw-product-tile.is-soon { opacity: .75; box-shadow: none; }
.agsw-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.agsw-platforms { font-size: 13px; color: var(--sw-muted); }
.agsw-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--sw-border); margin-top: 40px; padding-top: 24px; }
.agsw-strip div { display: flex; flex-direction: column; gap: 2px; }

/* product */
.agsw-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px 28px; margin: 8px 0 40px; }
.agsw-feature { border-top: 2px solid var(--sw-border); padding-top: 14px; }
.agsw-feature p { color: var(--sw-muted); font-size: 15px; }
.agsw-buy { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; scroll-margin-top: 90px; }
.agsw-price { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; min-height: 1.2em; margin: 4px 0 10px; }
.agsw-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.agsw-terms li::before { content: "✓"; color: var(--sw-accent); font-weight: 700; margin-right: 10px; }
.agsw-buy-actions { display: flex; flex-direction: column; gap: 10px; }
.agsw-faq { margin-top: 40px; }
.agsw-faq details { border-bottom: 1px solid var(--sw-border); padding: 14px 0; }
.agsw-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.agsw-faq details p { margin: 10px 0 0; color: var(--sw-muted); }

/* account */
.agsw-account { max-width: 860px; }
.agsw-auth { max-width: 440px; margin: 0 auto; }
.agsw-auth h1 { font-size: 30px; }
.agsw-auth .agsw-lead { font-size: 16px; }
.agsw-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f4f4f5; border-radius: 12px; padding: 4px; margin: 18px 0; }
.agsw-tab { text-align: center; padding: 9px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--sw-muted) !important; text-decoration: none !important; }
.agsw-tab.is-active { background: var(--sw-surface); color: var(--sw-text) !important; box-shadow: var(--sw-shadow); }
.agsw-form { display: grid; gap: 12px; }
.agsw-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 550; }
.agsw-form input[type=text], .agsw-form input[type=email], .agsw-form input[type=password] { font: 15px var(--sw-font); padding: 11px 13px; border: 1px solid var(--sw-border); border-radius: 10px; background: var(--sw-surface); width: 100%; }
.agsw-form input:focus { outline: 2px solid var(--sw-accent); outline-offset: 0; border-color: transparent; }
.agsw-check { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 9px !important; font-weight: 450 !important; }
.agsw-check input { margin-top: 4px; }
.agsw-notice { border-radius: 12px; padding: 11px 15px; font-size: 14px; margin-bottom: 16px; border: 1px solid; }
.agsw-notice--ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.agsw-notice--info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.agsw-notice--warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }

.agsw-account-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.agsw-account-head h1 { font-size: 30px; margin-bottom: 2px; }
.agsw-product-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.agsw-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.agsw-devices { margin-top: 20px; border-top: 1px solid var(--sw-border); padding-top: 14px; }
.agsw-device-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.agsw-device-row div { display: flex; flex-direction: column; }
.agsw-device-row span { font-size: 13px; }
.agsw-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.agsw-grid-2 .agsw-card { margin-bottom: 0; }
.agsw-card--studio { background: linear-gradient(160deg, #0c0f1a, #1b2140); border-color: #0c0f1a; color: #e2e8f0; }
.agsw-card--studio h3 { color: #fff; }
.agsw-card--studio .agsw-muted { color: #aab4c8; }
.agsw-card--studio .agsw-eyebrow { color: #93c5fd; }
.agsw-card--studio .agsw-actions { justify-content: flex-start; }
.agsw-card--studio .agsw-btn--ghost { color: #e2e8f0 !important; border-color: #3b4466; }
.agsw-device { max-width: 520px; margin: 20px auto; }
.agsw-code { font: 700 28px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; margin: 16px 0 4px !important; }

@media (max-width: 720px) {
    .agsw-buy { grid-template-columns: 1fr; }
    .agsw-strip, .agsw-account-head, .agsw-product-head { flex-direction: column; align-items: stretch; }
    .agsw-card { padding: 20px; }
}

/* v10.5.71: beta testing panel on the account page */
.agsw-form select, .agsw-form textarea { font: 15px var(--sw-font); padding: 11px 13px; border: 1px solid var(--sw-border); border-radius: 10px; background: var(--sw-surface); width: 100%; }
.agsw-form textarea { min-height: 76px; resize: vertical; }
.agsw-form select:focus, .agsw-form textarea:focus { outline: 2px solid var(--sw-accent); outline-offset: 0; border-color: transparent; }
.agsw-beta-product { margin-top: 18px; }
.agsw-beta-product h3 { font-size: 16px; margin: 0 0 8px; }
.agsw-beta-form { margin-top: 18px; border-top: 1px solid var(--sw-border); padding-top: 14px; }
.agsw-beta-form summary { cursor: pointer; font-weight: 600; }
.agsw-beta-form .agsw-form { margin-top: 14px; }
.agsw-beta-reports { margin-top: 18px; border-top: 1px solid var(--sw-border); padding-top: 14px; }
.agsw-beta-reports h3 { font-size: 16px; margin: 0 0 8px; }
