/* FX Album Pro — website. Same design language as the desktop app: deep charcoal, warm amber accent. */
:root {
  --bg: #0d0e10;
  --bg-2: #121316;
  --panel: #16171b;
  --panel-2: #1b1d22;
  --line: #25272c;
  --line-2: #33363d;
  --text: #ecebe8;
  --text-2: #b9bbc0;
  --muted: #8c9098;
  --accent: #f2a541;
  --accent-2: #ffbf66;
  --accent-ink: #1a1306;
  --ok: #5cc98a;
  --warn: #f2c14e;
  --err: #ef6a6a;
  --info: #62b2e0;
  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: 'Segoe UI Variable Text', 'Segoe UI', Inter, system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-d: 'Segoe UI Variable Display', 'Segoe UI', Inter, system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 6px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); font-weight: 650; font-size: 15px; line-height: 1.2; cursor: pointer; transition: background 0.15s, transform 0.15s, border-color 0.15s; text-align: center; }
.btn:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { background: var(--panel-2); color: var(--text); border-color: #4a4e57; }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--panel-2); color: var(--text); }
.btn[disabled], .btn.is-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 14, 16, 0.86); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-d); }
.brand:hover { color: var(--text); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand-text { font-size: 19px; font-weight: 600; letter-spacing: -0.2px; white-space: nowrap; }
.brand-text b { color: var(--accent); font-weight: 800; }
.brand-logo { height: 34px; width: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav > a:not(.btn) { color: var(--text-2); padding: 8px 10px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.site-nav > a:not(.btn):hover { color: var(--text); background: var(--panel); }
.site-nav .btn { margin-left: 4px; white-space: nowrap; }
/* narrow desktops / landscape tablets: the full menu still fits on one line */
@media (min-width: 961px) and (max-width: 1180px) {
  .site-nav { gap: 0; }
  .site-nav > a:not(.btn) { padding: 8px 7px; font-size: 14px; }
  .nav-sep { margin: 0 3px; }
}
.nav-sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 6px; }
.nav-toggle { display: none; }
.nav-burger { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .site-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--bg-2); border-bottom: 1px solid var(--line); transform: translateY(-110%); visibility: hidden; transition: transform 0.22s ease, visibility 0.22s; max-height: calc(100vh - 64px); overflow-y: auto; }
  .site-nav > a:not(.btn) { padding: 12px 10px; font-size: 16px; }
  .site-nav .btn { margin: 8px 0 0; }
  .nav-sep { display: none; }
  .nav-toggle:checked ~ .site-nav { transform: none; visibility: visible; }
  .nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* sections */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 42px); }
.section-head p { color: var(--text-2); font-size: 18px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }

/* hero */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(242, 165, 65, 0.16), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); font-weight: 750; margin-bottom: 8px; }
.hero h1 b { color: var(--accent); }
.hero .sub { font-size: clamp(20px, 2.6vw, 26px); color: var(--text); font-weight: 600; margin-bottom: 16px; }
.hero .lead { font-size: 18px; color: var(--text-2); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.version-strip { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14px; color: var(--muted); }
.version-strip b { color: var(--text); font-weight: 650; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 650; border: 1px solid var(--line-2); color: var(--text-2); background: var(--panel); white-space: nowrap; }
.pill.ok { color: var(--ok); border-color: rgba(92, 201, 138, 0.35); background: rgba(92, 201, 138, 0.08); }
.pill.beta { color: var(--info); border-color: rgba(98, 178, 224, 0.35); background: rgba(98, 178, 224, 0.08); }
.pill.soon { color: var(--warn); border-color: rgba(242, 193, 78, 0.35); background: rgba(242, 193, 78, 0.08); }
.pill.off { color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.shot { position: relative; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.hero .shot { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero .shot { transform: none; }
  .hero { padding-top: 40px; }
}

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.feature { position: relative; padding: 22px 22px 20px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.feature:hover { border-color: var(--line-2); transform: translateY(-2px); }
.feature h3 { font-size: 18px; margin: 0 0 8px; padding-right: 90px; }
.feature p { color: var(--text-2); font-size: 15px; margin: 0; }
.feature .pill { position: absolute; top: 20px; right: 18px; }

/* flow (Full Auto / Photoshop) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.rev > :first-child { order: 0; } }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: s; }
.flow li { counter-increment: s; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-weight: 550; }
.flow li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--accent-ink); background: var(--accent); }
.flow.compact li { padding: 9px 12px; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.checks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(92, 201, 138, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235cc98a' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.note-box { margin-top: 22px; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(92, 201, 138, 0.3); background: rgba(92, 201, 138, 0.06); color: var(--text); font-weight: 550; }
.ps-flows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .ps-flows { grid-template-columns: 1fr; } }
.card { padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.card h3 { font-size: 18px; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); gap: 20px; justify-content: center; }
.price { position: relative; display: flex; flex-direction: column; padding: 28px 26px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-2); }
.price.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(242, 165, 65, 0.12); }
.price .tag { position: absolute; top: -12px; left: 26px; padding: 3px 12px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.price h3 { font-size: 20px; margin-bottom: 4px; }
.amount { font-size: 42px; font-weight: 750; font-family: var(--font-d); letter-spacing: -0.02em; }
.amount small { font-size: 16px; color: var(--muted); font-weight: 500; }
.amount s { font-size: 20px; color: var(--muted); font-weight: 500; margin-right: 8px; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; flex: 1; }
.price li { display: flex; gap: 10px; color: var(--text-2); }
.price li::before { content: '✓'; color: var(--ok); font-weight: 800; }
.empty-note { text-align: center; color: var(--muted); padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--r); }

/* download */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.dl-grid .platform h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dl-sub { font-size: 17px; margin: 22px 0 8px; }
.dl-steps { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.dl-steps.plain { list-style: disc; }
.support-table th[scope="col"] { width: auto; color: var(--text); }
.platform .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* download cards: wider tiles so longer values ("Planned: macOS 12 …") stay readable */
.dl-grid .meta-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
@media (max-width: 600px) {
  .platform { padding: 20px 16px; }
  .support-table, .support-table tbody, .support-table tr { display: block; }
  .support-table thead { display: none; }
  .support-table th[scope="row"] { display: block; width: auto; padding: 14px 0 4px; border-bottom: 0; color: var(--text); }
  .support-table td { display: block; padding: 2px 0 2px 12px; border-bottom: 0; }
  .support-table td:nth-of-type(1)::before { content: "Windows: "; color: var(--muted); }
  .support-table td:nth-of-type(2)::before { content: "macOS: "; color: var(--muted); }
  .support-table td[colspan]::before { content: ""; }
  .support-table tr { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
}
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
.contact-card { display: grid; gap: 4px; text-decoration: none; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.contact-card b { font-size: 20px; letter-spacing: 0.01em; }
.contact-card:hover { border-color: var(--accent); transform: translateY(-1px); }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }
.platform { padding: 28px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-2); }
.platform h2 { font-size: 26px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.platform .os-ico { width: 30px; height: 30px; flex: none; }
.meta-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; margin: 18px 0 22px; }
.meta-list div { padding: 12px 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.meta-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.meta-list dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.checksum { font-family: Consolas, 'Cascadia Mono', monospace; font-size: 12.5px; word-break: break-all; color: var(--text-2); }
.req-table { width: 100%; border-collapse: collapse; }
.req-table th, .req-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.req-table th { width: 34%; color: var(--muted); font-weight: 600; }
.notes h4, .notes .notes-h { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin: 20px 0 8px; }
.notes ul { margin: 0; padding-left: 20px; color: var(--text-2); }
.notes li { margin: 4px 0; }
.notes .notes-text p { margin: 6px 0; color: var(--text-2); line-height: 1.6; }

/* releases */
.rel { padding: 26px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 18px; }
.rel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.rel-head h2 { font-size: 24px; margin: 0; }
.rel .summary { color: var(--text-2); margin: 10px 0 0; }

/* forms (auth) */
.auth { min-height: calc(100vh - 64px - 220px); display: grid; place-items: center; padding: 48px 16px; }
.auth-card { width: min(440px, 100%); padding: 32px 28px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 26px; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field > span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.input, .form input:not([type]), .form input[type='text'], .form input[type='search'], .form input[type='email'], .form input[type='password'], .form input[type='tel'], .form input[type='number'], .form input[type='date'], .form input[type='url'], .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; font-size: 16px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input[readonly] { color: var(--muted); }
.input:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 165, 65, 0.18); }
.form .btn { width: 100%; }
.form-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-top: 4px; }
.hint { font-size: 13px; color: var(--muted); }
.err-text { font-size: 13px; color: var(--err); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }

/* flash */
.flash { width: min(1180px, 100% - 32px); margin: 16px auto 0; padding: 12px 16px; border-radius: 10px; font-weight: 550; border: 1px solid; }
.flash-ok { color: var(--ok); border-color: rgba(92, 201, 138, 0.35); background: rgba(92, 201, 138, 0.08); }
.flash-err { color: var(--err); border-color: rgba(239, 106, 106, 0.35); background: rgba(239, 106, 106, 0.08); }
.flash-info { color: var(--info); border-color: rgba(98, 178, 224, 0.35); background: rgba(98, 178, 224, 0.08); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4, .footer-grid .footer-h { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.footer-grid a:not(.brand), .footer-grid span { display: block; color: var(--text-2); padding: 3px 0; font-size: 15px; }
.footer-grid a:not(.brand):hover { color: var(--text); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* reveal on scroll (only when JS is on; content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* maintenance */
.maint { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }

.split h2 { font-size: clamp(28px, 3.6vw, 40px); }
@media (min-width: 1100px) { #full-auto .flow.compact { grid-template-columns: 1fr 1fr; } }


/* ---- Phase 8: registration steps, studio profile, tutorials */
.auth-card:has(.pform), .auth-card:has(.plan-pick) { width: min(720px, 100%); }
.steps { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; padding: 0; font-size: 12.5px; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 99px; border: 1px solid var(--line-2); }
.steps li b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-2); font-size: 11.5px; }
.steps li.on { color: var(--text); border-color: rgba(242, 165, 65, 0.55); }
.steps li.on b { background: var(--accent); color: var(--accent-ink); }
.steps li.done b { background: rgba(92, 201, 138, 0.2); color: var(--ok); }
.otp-input { font-size: 22px !important; letter-spacing: 0.35em; text-align: center; font-variant-numeric: tabular-nums; }
.langs { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.langs legend { font-size: 14px; color: var(--text-2); margin-bottom: 6px; padding: 0; }
.plan-pick { display: grid; gap: 10px; margin-bottom: 14px; }
.plan-opt { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; }
.plan-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan-opt input { width: 18px; height: 18px; accent-color: var(--accent); }
.plan-opt span { display: grid; gap: 2px; }
.plan-opt small { color: var(--muted); }
.tut-search { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 16px; }
.tut-search input { flex: 1; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; font-size: 16px; }
.tut-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 26px; }
.tut-chips a { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 14px; background: var(--panel); }
.tut-chips a.is-on, .tut-chips a:hover { color: var(--text); border-color: var(--accent); }
.tut-chips small { color: var(--muted); margin-left: 4px; }
.tut-h { font-size: 21px; margin: 30px 0 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tut-h a { font-weight: 500; }
.tut-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tut-card { display: grid; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.tut-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tut-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0b0b0d; }
.tut-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tut-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 38px; border-radius: 10px; background: rgba(0, 0, 0, 0.62); }
.tut-play::after { content: ''; position: absolute; left: 22px; top: 11px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.tut-body { display: grid; gap: 4px; padding: 12px 14px 16px; }
.tut-body b { font-size: 16px; line-height: 1.35; }
.tut-meta { font-size: 13px; color: var(--muted); }
.tut-detail { max-width: 980px; }
.tut-title { font-size: clamp(26px, 4vw, 38px); margin: 6px 0 16px; }
.tut-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); }
.tut-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tut-facts { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.tut-desc { color: var(--text-2); font-size: 17px; max-width: 760px; }
@media (max-width: 760px) {
  .tut-grid { grid-template-columns: 1fr; }
  .tut-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .tut-chips a { flex: none; }
  .tut-search { flex-direction: column; }
}
/* floating WhatsApp chat (website 1.6) — visible, not intrusive; label only on wide screens */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 14px; border-radius: 26px; background: #25d366; color: #0b2a17; font-weight: 700; font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float:hover, .wa-float:focus-visible { color: #0b2a17; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42); }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 760px) { .wa-float { height: 54px; width: 54px; padding: 0; justify-content: center; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
@media print { .wa-float { display: none; } }
/* account / platforms info cards (website 1.6) */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.info-grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.info-grid .card p { margin: 8px 0 0; }
.info-grid .card h3 { display: flex; align-items: center; gap: 10px; margin: 0; }
.info-grid .card .os-ico { width: 22px; height: 22px; }
/* BETA label (1.15.0) — one style for menus, feature sections and download notes (lib/beta.ts) */
.beta-tag { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 6px; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.5; color: #0b1b33; background: linear-gradient(135deg, #4fa3ff, #2f7cf6); box-shadow: inset 0 0 0 1px rgba(242, 165, 65, 0.55); vertical-align: middle; white-space: nowrap; }
.eyebrow + .beta-tag { vertical-align: top; margin-top: 1px; }
.beta-note { margin-top: 12px; }
/* ---- release notes 1.9.0: one card per published record + Development Journey timeline */
.rn-list { display: grid; gap: 18px; }
.rn-list .rel { margin-bottom: 0; }
.rn-card { position: relative; }
.rel.rn-card.is-latest, .rn-card.is-latest { border-color: rgba(242, 165, 65, 0.45); box-shadow: 0 0 0 1px rgba(242, 165, 65, 0.12) inset, 0 18px 40px rgba(0, 0, 0, 0.25); }
.rn-dl, .rn-mini { margin-top: 16px; padding: 18px 20px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.rn-mini .summary { margin: 6px 0 0; color: var(--text-2); }
.rn-type { font-size: 13px; font-weight: 600; color: var(--accent-2); }
.rn-date { margin-left: auto; font-variant-numeric: tabular-nums; }
.rn-sec .notes-h::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.rn-sec.rn-bug_fix .notes-h::before { background: var(--ok); }
.rn-sec.rn-known_issue .notes-h::before { background: var(--warn); }
.rn-sec.rn-improvement .notes-h::before { background: var(--info); }
.notes li { line-height: 1.6; }
.notes-more { margin-top: 14px; }
.notes-more summary { cursor: pointer; list-style: none; }
.notes-more summary::-webkit-details-marker { display: none; }
.notes-more summary::after { content: ' +'; }
.notes-more[open] summary::after { content: ' −'; }
.journey { margin-top: 56px; }
.box .journey { margin-top: 0; }
.journey-line { list-style: none; margin: 0; padding: 0; position: relative; }
.journey-line::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), rgba(242, 165, 65, 0.1)); }
.journey-phase { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 26px; }
.journey-phase:last-child { padding-bottom: 0; }
.journey-step { z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 800 18px var(--font-d); box-shadow: 0 0 0 6px var(--bg); }
.box .journey-step { box-shadow: 0 0 0 6px var(--panel); }
.journey-body { padding: 18px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.journey-body h3 { margin: 0 0 6px; font-size: 19px; }
.journey-body p { margin: 0 0 12px; color: var(--text-2); line-height: 1.6; }
.journey-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.journey-tags li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font-size: 13.5px; }
.journey-tags .pill { padding: 1px 7px; font-size: 10.5px; }
@media (max-width: 640px) {
  .rel { padding: 18px; }
  .rel-head h2 { font-size: 21px; }
  .rn-date { margin-left: 0; width: 100%; }
  .journey-line::before { left: 15px; }
  .journey-phase { grid-template-columns: 32px 1fr; gap: 12px; }
  .journey-step { width: 32px; height: 32px; font-size: 14px; }
  .journey-body { padding: 14px; }
  .journey-body h3 { font-size: 17px; }
}
/* Razorpay box on the pay page (website: Razorpay primary, Manual UPI secondary) */
.rzp-box .rzp-test { margin: 0 0 14px; border-color: rgba(244, 166, 58, 0.5); background: rgba(244, 166, 58, 0.08); }
.rzp-status { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line, rgba(127,127,127,.3)); font-weight: 550; }
.rzp-status.is-ok { border-color: rgba(92, 201, 138, 0.5); background: rgba(92, 201, 138, 0.08); }
.rzp-status.is-err { border-color: rgba(229, 83, 75, 0.5); background: rgba(229, 83, 75, 0.08); }
.rzp-status.is-wait { border-color: rgba(244, 166, 58, 0.5); background: rgba(244, 166, 58, 0.06); }
.pay-or { margin: 26px 0 12px; font-size: 17px; }
.gw-banner { padding: 12px 16px; border-radius: 10px; font-weight: 650; margin-bottom: 16px; }
.gw-banner.is-test { background: rgba(244, 166, 58, 0.14); border: 1px solid rgba(244, 166, 58, 0.6); }
.gw-banner.is-live { background: rgba(92, 201, 138, 0.12); border: 1px solid rgba(92, 201, 138, 0.6); }
.gw-banner.is-off { background: rgba(127, 127, 127, 0.1); border: 1px solid rgba(127, 127, 127, 0.4); }

/* registration (Update #19): Gmail user name with a fixed suffix, country + phone */
.req { color: var(--err); }
.gmail-input { display: flex; align-items: stretch; }
.form .gmail-input input { border-top-right-radius: 0; border-bottom-right-radius: 0; min-width: 0; flex: 1; }
.gmail-suffix { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-left: 0; border-radius: 0 10px 10px 0; background: var(--bg-3, var(--bg-2)); color: var(--muted); font-size: 15px; white-space: nowrap; }
.phone-input { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px; }
@media (max-width: 420px) { .phone-input { grid-template-columns: 1fr; } }
.phone-count { display: block; margin-top: 4px; font-size: 12px; line-height: 1.2; color: var(--muted, #8a8f98); text-align: right; font-variant-numeric: tabular-nums; }
.phone-count.full { color: var(--accent, #f2a541); }

/* phone / WhatsApp fields (lib/phones.ts + phone.js): country dropdown + number, India 0/10 counter, more WhatsApp numbers */
.phone-field { min-width: 0; }
.wa-same { margin: 2px 0 6px; font-weight: 500; }
.wa-extras-title { display: block; margin-bottom: 6px; }
.wa-extra-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; margin-bottom: 8px; }
.wa-extra-row .wa-remove, .wa-extra-row .wa-remove-stored, .wa-extra-row .wa-remove-check { margin-top: 6px; white-space: nowrap; }
.wa-extra-row.is-removed { display: none; }
.wa-add { margin-top: 2px; }
@media (max-width: 420px) { .wa-extra-row { grid-template-columns: 1fr; } }

/* Cloudflare Turnstile (lib/turnstile.ts) */
.cf-ts-field .cf-ts{width:100%;max-width:100%;min-height:0}
.cf-ts-field .cf-ts iframe{max-width:100%}
.cf-ts-msg{margin-top:6px}


/* WhatsApp OTP: "code sent" panel (English + Tamil) */
.wa-sent { border: 1px solid rgba(37, 211, 102, 0.45); background: rgba(37, 211, 102, 0.08); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.wa-sent p { margin: 0 0 6px; line-height: 1.5; }
.wa-sent p:last-child { margin-bottom: 0; }
/* "Code sent to +91 XXXXX 78113" — WhatsApp destination chip (masked, last 5 digits) */
.wa-to { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(37, 211, 102, 0.14), rgba(37, 211, 102, 0.04)); border: 1px solid rgba(37, 211, 102, 0.35); }
.wa-to span { font-size: 13px; opacity: 0.8; }
.wa-to b { font-size: 18px; letter-spacing: 0.06em; white-space: nowrap; }
@media (max-width: 420px) { .wa-to b { font-size: 16px; } }
.wa-sent [lang='ta'] { font-size: 0.95em; }

/* 1.24.0 platform tabs (download + release notes): Windows and macOS histories are kept apart */
.dl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.dl-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line, rgba(127, 127, 127, 0.3)); text-decoration: none; font-weight: 600; }
.dl-tab:hover, .dl-tab:focus-visible { border-color: var(--accent, #f5a524); }
.dl-tab svg { width: 18px; height: 18px; }
.rn-platform { display: flex; align-items: center; gap: 10px; font-size: 24px; margin: 8px 0 14px; scroll-margin-top: 90px; }
.rn-platform svg { width: 22px; height: 22px; }
.platform .pv-block { border-top: 1px solid var(--line, rgba(127, 127, 127, 0.25)); padding-top: 16px; }
