.tool-picker { position: relative; }
.tool-picker summary { cursor: pointer; list-style: none; padding: 12px 0; font-weight: 500; }
.tool-picker summary::-webkit-details-marker { display: none; }
.tool-picker summary span { margin-left: .25em; color: #a6c877; }
.tool-popover {
  position: absolute; top: 100%; left: -16px; width: max-content; max-width: 420px;
  padding: 8px; background: #191d20; border: 1px solid #424b3b;
  border-radius: 12px; box-shadow: 0 12px 40px #0007;
}
.nav .tool-popover a, #mobile-menu a:has(img) { display: flex; align-items: center; gap: 12px; }
.nav .tool-popover a { padding: 9px 14px; min-height: 42px; }
.nav .tool-popover a:hover { border-radius: 7px; background: #293024; }
.tool-popover img, #mobile-menu img { object-fit: contain; }
#mobile-menu { max-height: calc(100dvh - var(--nav)); overflow-y: auto; }
.nav__links > a:has(img) { gap: 9px; }
.mobile-recorder-link { display: none; }
.language-picker { position: relative; display: inline-flex; align-items: center; }
.language-code { display: none; }
.nav .nav-signup {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 8px 16px; border: 1px solid #b5dc80; border-radius: 8px;
  color: #18200d; background: #b5dc80; font-size: 14px; font-weight: 650; white-space: nowrap;
}
.nav .nav-signup:hover { background: #cbeaa4; border-color: #cbeaa4; }
.nav .nav-signup.signed-in { color: #d7edbb; border-color: #58644e; background: #20271e; }
.nav .nav-signup.signed-in::before { content: ''; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #add679; }
.signup-page { padding: calc(var(--nav) + clamp(28px,5vw,76px)) 0 clamp(42px,6vw,92px); }
.signup-card { max-width: 490px; margin: 0 auto; border: 1px solid #373d39; border-radius: 18px; background: #181b19; padding: clamp(22px,4vw,42px); }
.signup-intro { text-align: center; margin: 0 0 28px; }
.signup-intro .product-mark { display: block; margin: 0 auto 16px; width: 48px; height: 48px; object-fit: contain; }
.signup-intro h1 { font-size: clamp(28px,3.4vw,42px); letter-spacing: -.035em; line-height: 1.15; text-wrap: balance; }
.signup-intro p { margin: 10px auto 0; font-size: 16px; line-height: 1.5; }
.identity-choices { display: grid; gap: 10px; }
.identity-button { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; min-height: 50px; padding: 10px 40px; border-radius: 8px; border: 1px solid #606662; color: #f6f7f6; background: #232624; font: inherit; font-weight: 600; cursor: pointer; }
.identity-button img { position: absolute; left: 15px; width: 20px; height: 20px; object-fit: contain; }
.identity-button.apple { background: #000; }
.identity-button.apple img { left: 1px; width: 48px; height: 48px; clip-path: inset(11px); }
.identity-button.discord { background: #414baf; border-color: #6571db; }
.identity-button:hover { border-color: #b5dc80; }
.signup-card :is(button,summary,a,input):focus-visible { outline: 2px solid #b5dc80; outline-offset: 3px; }
.signup-email { border-top: 1px solid #353b37; margin-top: 8px; }
.signup-email summary, .identity-back { text-align: center; padding: 12px 4px; font: inherit; color: #cee4b4; cursor: pointer; }
.signup-email summary { list-style-position: inside; }
.signup-email form { padding: 0 0 10px; }
.identity-back { display: block; margin: 5px auto 0; background: transparent; border: 0; }
.identity-preview, .identity-status { font-size: 14px; line-height: 1.55; text-align: center; }
.identity-status:not(:empty), .identity-preview { margin-top: 16px; }
.identity-status:empty { display: none; }
.identity-footer { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.sample-panel, .identity-result, .signup-success { text-align: center; border-top: 1px solid #353b37; padding-top: 24px; }
.signup-card h2 { font-size: clamp(21px,2.2vw,28px); line-height: 1.25; margin: 0 0 12px; }
.identity-name { font-weight: 600; }
.identity-email { overflow-wrap: anywhere; }
.identity-result .identity-provider { margin: 5px 0; font-size: 14px; color: #aab6a5; }
.signup-card .member-tools-title { margin: 26px 0 8px; text-align: start; font-size: 15px; }
.member-tools a { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 12px; color: inherit; border: 1px solid #3e493b; border-radius: 8px; }
.member-tools a:hover { background: #242d22; }
.member-tools a::after { content: '→'; margin-inline-start: auto; }
.signup-card :is(.sample-panel,.identity-result,.signup-success):focus { outline: none; }
.signup-card label { display: block; font-weight: 600; margin-bottom: 9px; }
.signup-card input { width: 100%; height: 50px; padding: 10px 14px; border: 1px solid #677362; border-radius: 7px; color: var(--ink); background: #101412; }
.signup-card p { color: #c3ccc0; }
.signup-card #preview-note { margin: 16px 0 4px; font-size: 14px; }
.signup-policy { color: #c6dfaa; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.signup-card .btn { margin-top: 18px; display: flex; width: 100%; justify-content: center; gap: 8px; }
.signup-card .signup-error { color: #ffc2ab; margin-top: 14px; }
@media (min-width:1024px) and (max-width:1180px) {
  .nav .wrap { width: calc(100% - 40px); }
  .nav .nav__inner, .nav .nav__links { gap: 13px; }
}
@media (max-width:639px) {
  .nav .wrap { width: calc(100% - 24px); }
  .nav .nav__inner { gap: 6px; }
  .nav .language-picker { min-width: 42px; height: 44px; justify-content: center; }
  .nav .language-picker .language-label { display: none; }
  .nav .language-picker select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 1; }
  .nav .language-picker:focus-within { outline: 2px solid #b5dc80; outline-offset: 1px; border-radius: 6px; }
  .nav .language-code { display: inline; color: #ced5ca; font-size: 13px; }
  .nav .language-code::after { content: '⌄'; padding-left: 2px; }
  .nav .nav-signup { padding: 7px 10px; font-size: 13px; }
}
.featured-product {
  padding: clamp(52px,8vw,118px) 0;
  margin-top: var(--nav);
  border-bottom: 1px solid #303631;
  background: #101414;
}
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr);
  gap: clamp(32px,6vw,96px);
  align-items: center;
}
.featured-copy { min-width: 0; }
.featured-copy h1, .matrix-brief h1 { max-width: 16ch; font-size: clamp(42px,5vw,78px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.featured-copy h1 a { color: inherit; }
.featured-copy h1 a:hover { color: #c7e4a8; }
.featured-copy p, .matrix-band-copy p { margin-top: 18px; max-width: 50ch; font-size: clamp(16px,1.4vw,21px); line-height: 1.55; color: #c2c9c6; }
.featured-product .matrix-photo:hover { border-color: #879f6b; }
.matrix-band { margin: 0; padding: clamp(44px,6vw,85px) 0; border-bottom: 1px solid #2b312d; background: #101313; }
.matrix-band:nth-of-type(even) { background: #161a1a; }
.matrix-band-inner, .brief-hero { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); align-items: center; gap: clamp(36px,6vw,100px); }
.matrix-band:nth-of-type(even) .matrix-band-copy { grid-column: 2; grid-row: 1; }
.matrix-band:nth-of-type(even) .matrix-photo { grid-column: 1; grid-row: 1; }
.matrix-band:nth-of-type(even) .matrix-band-inner { grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); }
.matrix-band h2, .brief-workflow h2 { font-size: clamp(30px,3.3vw,52px); letter-spacing: -.035em; line-height: 1.1; }
.product-mark { width: 50px; height: 50px; object-fit: contain; display: block; margin-bottom: 18px; }
.matrix-band-copy { min-width: 0; overflow-wrap: anywhere; }
.matrix-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.matrix-text-link, .matrix-back { display: inline-block; color: #c6e59c; text-decoration: underline; text-underline-offset: 5px; padding: 5px 0; }
.matrix-photo { display: block; overflow: hidden; border: 1px solid #363c35; border-radius: 14px; background: #181d1a; }
.matrix-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.matrix-brief { padding: 118px 0 75px; }
.matrix-back { font-size: 14px; margin-bottom: 38px; }
.matrix-brief .matrix-band-copy small { display: block; margin-top: 18px; color: #acc18f; }
.brief-workflow { margin: 56px 0 24px; padding: 36px 0 22px; border-top: 1px solid #364033; }
.brief-workflow h2 { font-size: clamp(24px,2.6vw,36px); }
.brief-workflow ol { margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; list-style-position: inside; }
.brief-workflow li { padding: 15px 0; line-height: 1.55; color: #c6cec5; border-top: 1px solid #344034; }
.brief-workflow li::marker { color: #afd975; }
.recorder-nav { margin-top: var(--nav); border-bottom: 1px solid #313a2d; background: #151a15; }
.recorder-nav .wrap { display: flex; gap: 10px 24px; align-items: center; flex-wrap: wrap; padding: 10px 0; }
.recorder-nav a { color: #c3cdbb; font-size: 13px; padding: 4px 0; }
.recorder-nav strong { color: #edf5e7; }
.platform-directory {
  padding: clamp(32px, 3.5vw, 56px) 0 clamp(54px, 7vw, 104px);
  border-top: 1px solid #303631;
  background: #111415;
}
.platform-directory h2 { font-size: clamp(30px, 3.5vw, 54px); line-height: 1.12; letter-spacing: -.035em; }
.platform-list {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,246px),1fr));
  gap: 10px; list-style: none; padding: 0; margin: 28px 0 0;
}
.platform-list li {
  display: flex; align-items: flex-start; gap: 14px; min-width: 0;
  padding: 18px 16px; border: 1px solid #333a37; border-radius: 12px; background: #191d1c;
}
.platform-logo {
  display: block; flex: none; width: 40px; height: 40px;
  border-radius: 10px; object-fit: contain; background: #111514;
}
.platform-details { min-width: 0; }
.platform-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 7px; line-height: 1.3; }
.platform-name strong { color: #f3f6f1; font-size: 16px; font-weight: 600; }
.platform-name small { color: #b4c0b7; font-size: 12px; }
a.platform-name { width: fit-content; max-width: 100%; text-decoration: none; }
a.platform-name strong { text-decoration: underline; text-decoration-color: #829283; text-underline-offset: .2em; }
a.platform-name:is(:hover, :focus-visible) strong { color: var(--lime, #b7ef42); text-decoration-color: currentColor; }
a.platform-name:focus-visible { outline: 2px solid var(--lime, #b7ef42); outline-offset: 3px; border-radius: 2px; }
.integration-state { display: block; margin-top: 5px; line-height: 1.45; font-size: 13px; color: #b2bcb5; overflow-wrap: anywhere; }
.section.workflow { height: auto; min-height: 0; }
@media (max-width:639px) {
  .platform-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 20px; }
  .platform-list li { flex-direction: column; padding: 14px; gap: 10px; }
  .platform-details { align-self: stretch; }
  .platform-logo { width: 36px; height: 36px; border-radius: 9px; }
}
@media (max-width:339px) {
  .platform-list { grid-template-columns: 1fr; }
  .platform-list li { flex-direction: row; }
}
.recorder-nav + main > section.hero { padding-top: 66px; }
@media(max-width:1023px) {
  .mobile-recorder-link { display: inline-flex; flex: none; align-items: center; min-height: 44px; padding: 0 5px; font-weight: 600; color: #c6e59c; }
  .featured-grid { gap: 28px; }
  .matrix-band-inner, .brief-hero { gap: 28px; }
}
@media(max-width:639px) {
  .nav .brand > span { display: none; }
  .featured-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .featured-product { padding: 42px 0 34px; }
  .featured-copy .product-mark { margin-bottom: 16px; }
  .featured-copy h1 { font-size: clamp(40px,10.6vw,55px); }
  .matrix-band-inner, .matrix-band:nth-of-type(even) .matrix-band-inner, .brief-hero { grid-template-columns: minmax(0,1fr); }
  .matrix-band:nth-of-type(even) .matrix-band-copy, .matrix-band:nth-of-type(even) .matrix-photo { grid-column: auto; grid-row: auto; }
  .matrix-actions .btn { width: auto; }
  .product-mark { width: 38px; height: 38px; margin-bottom: 12px; }
  .matrix-brief { padding: 95px 0 52px; }
  .brief-workflow ol { grid-template-columns: 1fr; gap: 0; }
  .brief-workflow { margin-top: 32px; }
  .recorder-nav .wrap { gap: 2px 15px; }
  .recorder-nav + main > section.hero { padding-top: 36px; }
}
