:root {
  color-scheme: light;
  --blue: #2271b9;
  --blue-dark: #15558f;
  --ink: #263442;
  --muted: #65717d;
  --line: #dce2e7;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a, select, summary { touch-action: manipulation; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); }
button { cursor: pointer; min-height: 44px; }
button:disabled { cursor: default; opacity: .58; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid #f6b641; outline-offset: 3px; }
[hidden] { display: none !important; }
.page-width { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-160%); background: #fff; padding: 12px; border: 1px solid var(--line); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; white-space: nowrap; align-items: center; gap: 8px; font-size: 28px; font-weight: 700; letter-spacing: -.8px; text-decoration: none; }
.brand svg { width: 29px; height: 29px; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: #55606b; text-decoration: none; font-size: 13px; }
.site-header nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.hero { background: var(--blue); color: #fff; padding: 44px 0 37px; }
.hero-content { max-width: 1000px; text-align: center; }
h1 { font-size: clamp(30px, 3.6vw, 41px); line-height: 1.2; font-weight: 600; letter-spacing: -.8px; margin: 0; }
.hero-description { font-size: 17px; line-height: 1.6; margin: 14px 0 9px; color: #eaf3fb; }
.download-form { max-width: 890px; margin: 0 auto; text-align: left; }
.download-form label { display: block; font-size: 13px; margin-bottom: 9px; color: #f4f8fc; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.mode-switcher { display: flex; width: fit-content; max-width: 100%; margin: 23px auto 0; padding: 4px; gap: 4px; border: 1px solid #ffffff75; border-radius: 6px; background: #1c619f; }
.download-form .mode-option { position: relative; margin: 0; color: #fff; cursor: pointer; }
.mode-option input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.mode-option span { display: flex; min-height: 44px; min-width: 114px; align-items: center; justify-content: center; gap: 7px; padding: 10px 17px; border-radius: 3px; font-size: 15px; font-weight: 600; }
.mode-option small { font-size: 11px; font-weight: 400; opacity: .85; }
.mode-option input:checked + span { color: #15558f; background: #fff; }
.mode-option input:focus-visible + span { outline: 3px solid #f6b641; outline-offset: 2px; }
.mode-option:hover span { background: #ffffff18; }
.mode-hint { max-width: 640px; margin: 12px auto 22px; text-align: center; color: #edf5fc; font-size: 13px; line-height: 1.6; min-height: 21px; }
.download-buttons [data-action-priority="secondary"] { color: #28577e; background: #fff; border-color: #bfcdd9; font-weight: 500; }
.download-buttons [data-action-priority="secondary"]:hover { background: #f1f6fa; }
.download-buttons [data-action-priority="primary"] { grid-column: 1 / -1; order: -1; min-height: 48px; color: #fff; background: var(--blue); border-color: var(--blue); font-size: 15px; font-weight: 600; }
.download-buttons [data-action-priority="primary"]:not([aria-disabled="true"]):hover:not(:disabled) { background: var(--blue-dark); }
.tool-details { max-width: 840px; margin: 0 auto; padding: 0 0 30px; }
.tool-details h2 { font-size: 21px; margin-bottom: 13px; }
.tool-details h3 { font-size: 16px; margin: 22px 0 8px; }
.tool-details p, .tool-details li { font-size: 14px; line-height: 1.8; color: var(--muted); }
.tool-details p { margin: 0 0 12px; }
.tool-details ul { padding-left: 20px; margin: 12px 0; }
.form-controls { display: flex; gap: 10px; align-items: stretch; }
.input-wrap { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; background: #fff; border: 1px solid #fff; border-radius: 5px; padding: 7px 8px 7px 17px; }
.input-wrap:focus-within { outline: 3px solid #f6b641; outline-offset: 2px; }
.input-wrap input { min-width: 0; flex: 1; width: 100%; height: 43px; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 16px; }
.input-wrap input:focus-visible { outline: none; }
.input-wrap input::placeholder { color: #8c969f; opacity: 1; }
.input-wrap:has(input[aria-invalid="true"]) { border-color: #ffd4c6; }
.paste-button { align-self: stretch; border: 1px solid #d9dfe4; padding: 0 15px; background: #f4f6f8; color: #465867; border-radius: 4px; font-size: 13px; }
.paste-button:hover { background: #e8edf2; }
.primary-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-width: 160px; padding: 15px 27px; border: 1px solid #163f67; border-radius: 5px; color: #fff; background: #163f67; font-size: 17px; font-weight: 600; }
.primary-button:hover:not(:disabled) { background: #11324f; }
.primary-button:disabled { opacity: .8; cursor: wait; }
.field-hint { font-size: 13px; line-height: 1.7; color: #d8e9f7; margin: 12px 0 0; text-align: center; }
.search-feedback { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 8px; }
.search-feedback p { font-size: 13px; line-height: 1.6; margin: 0; }
.cancel-search { color: #fff; background: transparent; border: 0; text-decoration: underline; font-size: 13px; padding: 8px 0; }
.form-error { padding: 12px 15px; border: 1px solid #f0c7b9; border-radius: 4px; background: #fff1ed; color: #8e3424; font-size: 13px; line-height: 1.6; margin: 17px 0 0; }
.spinner { width: 17px; height: 17px; border: 2px solid #ffffff55; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.content { max-width: 990px; }
.results { margin-top: 36px; }
.results-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h2 { font-size: 25px; font-weight: 600; line-height: 1.3; letter-spacing: -.35px; margin: 0; }
.results-heading-row a { font-size: 13px; text-decoration: none; flex-shrink: 0; }
.result-context { font-size: 13px; color: var(--muted); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 110px; overflow: auto; margin: 12px 0 22px; }
.video-list { display: grid; gap: 24px; margin-top: 20px; }
.video-card { padding: 21px; border: 1px solid var(--line); border-radius: 5px; }
.video-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.video-title { font-size: 17px; margin: 0; font-weight: 600; }
.video-meta { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; text-align: right; }
.video-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.player-wrap { min-width: 0; }
.video-player { display: block; width: 100%; max-height: 335px; aspect-ratio: 16 / 10; background: #15191d; border-radius: 3px; object-fit: contain; }
.preview-error { color: #8e3424; font-size: 13px; line-height: 1.55; margin: 10px 0 0; }
.video-options { min-width: 0; }
.quality-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.quality-select { display: block; width: 100%; min-height: 44px; padding: 10px 35px 10px 12px; border: 1px solid #cfd7de; border-radius: 4px; background: #fff; font-size: 13px; color: var(--ink); }
.file-size { color: var(--muted); font-size: 13px; min-height: 15px; margin: 9px 0 15px; line-height: 1.4; }
.download-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.download-link, .action-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-height: 44px; padding: 11px 13px; border: 1px solid var(--blue); border-radius: 4px; background: var(--blue); color: #fff; font-size: 13px; line-height: 1.4; font-weight: 600; cursor: pointer; }
.download-link:hover, .action-button:hover:not(:disabled) { background: var(--blue-dark); border-color: var(--blue-dark); }
.secondary-button { background: #fff; border-color: #bfcdd9; color: #28577e; font-weight: 500; }
.secondary-button:hover:not(:disabled) { background: #f1f6fa; }
.download-link[aria-disabled="true"] { background: #edf0f3; border-color: #dce2e7; color: #8a949d; cursor: default; }
.action-help { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; }
.action-feedback { font-size: 13px; line-height: 1.6; margin: 10px 0 0; color: #3b6586; }
.action-feedback.is-error { color: #9a3825; }
.cancel-action { border: 0; padding: 6px 0; background: transparent; color: var(--blue); text-decoration: underline; font-size: 13px; }
.trim-panel { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.trim-panel summary { cursor: pointer; color: #375e7e; font-size: 13px; font-weight: 600; padding: 4px 0; }
.trim-panel[open] summary { margin-bottom: 13px; }
.trim-help { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 0 13px; }
.trim-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trim-field { min-width: 0; }
.trim-field label { display: block; margin-bottom: 7px; font-size: 13px; }
.trim-field input { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid #cfd7de; border-radius: 4px; font-size: 13px; color: var(--ink); }
.current-time-button { border: 0; background: transparent; color: var(--blue); font-size: 13px; padding: 9px 0; text-align: left; text-decoration: underline; }
.trim-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.range-info { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 10px 0 0; }
.expiry-note { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 18px 0 0; }
.reset-button { display: block; margin: 23px auto 0; padding: 12px 20px; border: 1px solid #c9d2da; border-radius: 4px; color: #3b5c77; background: #f6f8fa; font-size: 13px; }
.reset-button:hover { background: #ebf0f4; }
.how-it-works { padding: 49px 0 41px; }
.how-it-works h2, .faq-section h2 { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 27px 0 0; padding-left: 20px; }
.steps li { padding-left: 3px; }
.steps li::marker { color: var(--blue); font-weight: 600; }
.steps h3 { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.steps p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }
.faq-section { border-top: 1px solid var(--line); padding: 36px 0 42px; }
.faq-list { margin: 23px auto 0; max-width: 840px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { cursor: pointer; padding: 17px 1px; font-size: 14px; line-height: 1.6; }
.faq-list details p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0; padding: 0 14px 17px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 25px; }
.footer-brand { text-decoration: none; font-size: 19px; font-weight: 600; }
.site-footer p { font-size: 13px; line-height: 1.8; color: #77838e; text-align: center; margin: 0; }
.site-footer>a:last-child { text-decoration: none; font-size: 13px; }

.create-clip-button { width: 100%; min-height: 44px; margin-top: 14px; }
.clip-mode { margin-top: 22px; padding-top: 18px; }
.clip-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.clip-header h4 { font-size: 17px; line-height: 1.4; font-weight: 600; margin: 0; }
.exit-clip-button { min-height: 44px; padding: 10px 0 10px 16px; border: 0; background: transparent; color: var(--blue); font-size: 13px; text-decoration: underline; }
.clip-time-labels { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 15px 0 2px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.clip-timeline { --clip-start: 0%; --clip-end: 100%; position: relative; height: 88px; margin: 0 0 5px; }
.clip-timeline-track { position: absolute; top: 37px; left: 22px; right: 22px; height: 14px; background: #d6e0e8; border-radius: 3px; }
.clip-selected-track { position: absolute; top: 0; bottom: 0; left: var(--clip-start); right: calc(100% - var(--clip-end)); min-width: 1px; background: #72ade0; border-block: 2px solid var(--blue); }
.clip-handle-marker { position: absolute; z-index: 1; width: 20px; height: 30px; border: 2px solid var(--blue-dark); border-radius: 3px; background: var(--blue); transform: translateX(-50%); pointer-events: none; }
.clip-handle-marker::after { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 6px; border-inline: 2px solid #fff; }
.clip-handle-start { left: var(--clip-start); top: -23px; }
.clip-handle-end { left: var(--clip-end); top: 7px; }
.clip-range { position: absolute; z-index: 2; left: 0; width: 100%; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; appearance: none; -webkit-appearance: none; pointer-events: none; touch-action: pan-y; }
.clip-range-start { top: 0; }
.clip-range-end { top: 44px; }
.clip-range::-webkit-slider-runnable-track { width: 100%; height: 44px; border: 0; background: transparent; }
.clip-range::-webkit-slider-thumb { width: 44px; height: 44px; border: 0; border-radius: 0; background: transparent; appearance: none; -webkit-appearance: none; pointer-events: auto; cursor: ew-resize; }
.clip-range::-moz-range-track { width: 100%; height: 44px; border: 0; background: transparent; }
.clip-range::-moz-range-thumb { width: 44px; height: 44px; border: 0; border-radius: 0; background: transparent; pointer-events: auto; cursor: ew-resize; }
.clip-range:focus-visible { outline: none; }
.clip-timeline:has(.clip-range-start:focus-visible) .clip-handle-start, .clip-timeline:has(.clip-range-end:focus-visible) .clip-handle-end { outline: 3px solid #f6b641; outline-offset: 3px; }
.clip-timeline:has(.clip-range-start:active) .clip-handle-start, .clip-timeline:has(.clip-range-end:active) .clip-handle-end { background: var(--blue-dark); }
.clip-timeline:has(.clip-range:disabled) { opacity: .5; }
.clip-range:disabled::-webkit-slider-thumb { pointer-events: none; cursor: default; }
.clip-range:disabled::-moz-range-thumb { pointer-events: none; cursor: default; }
.clip-mode .range-info { margin: 0 0 15px; font-size: 13px; }
.clip-mode .trim-buttons { grid-template-columns: 1fr 1fr; max-width: 410px; margin-top: 0; }
.clip-mode .trim-buttons button { min-height: 44px; }
.fine-tune-times { margin-top: 17px; border-top: 1px solid var(--line); padding-top: 8px; }
.fine-tune-times summary { min-height: 44px; padding: 13px 0; font-size: 13px; font-weight: 500; }
.fine-tune-times .trim-fields { max-width: 440px; margin-top: 8px; }
.fine-tune-times input, .fine-tune-times .current-time-button { min-height: 44px; }

@media (max-width: 740px) {
  .page-width { width: calc(100% - 36px); }
  .site-header { min-height: 65px; }
  .brand { font-size: 25px; }
  .site-header nav { gap: 17px; }
  .site-header nav a { font-size: 13px; }
  .hero { padding: 34px 0 28px; }
  .hero-description { font-size: 15px; margin-bottom: 9px; }
  .form-controls { gap: 9px; }
  .primary-button { min-width: 137px; padding-inline: 18px; font-size: 15px; }
  .input-wrap { padding-left: 12px; gap: 7px; }
  .input-wrap input { font-size: 16px; }
  .paste-button { padding-inline: 11px; font-size: 13px; }
  .video-layout { gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .video-card { padding: 18px; }
  .download-buttons { grid-template-columns: 1fr; gap: 8px; }
  .steps { gap: 27px; }
  .trim-buttons { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 560px) {
  .page-width { width: calc(100% - 32px); }
  .site-header { min-height: 86px; flex-direction: column; justify-content: center; gap: 0; padding-top: 12px; }
  .site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
  .site-header nav { gap: 27px; }
  .brand { gap: 4px; font-size: 24px; }
  .brand svg { width: 25px; height: 25px; }
  .hero { padding: 30px 0 24px; }
  h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.55px; max-width: 370px; margin-inline: auto; }
  .hero-description { max-width: 325px; margin: 13px auto 9px; font-size: 14px; line-height: 1.6; }
  .download-form label { font-size: 13px; margin-bottom: 8px; }
  .download-form .mode-option { margin-bottom: 0; }
  .mode-option span { min-width: 87px; padding-inline: 11px; font-size: 14px; }
  .mode-option small { font-size: 10px; }
  .mode-hint { min-height: 42px; margin-bottom: 16px; }
  .form-controls { flex-direction: column; gap: 10px; }
  .input-wrap { padding: 6px 7px 6px 12px; }
  .input-wrap input { height: 42px; font-size: 16px; }
  .primary-button { min-height: 50px; font-size: 16px; padding: 12px 20px; }
  .field-hint { font-size: 13px; margin-top: 10px; }
  .search-feedback p { font-size: 13px; }
  h2 { font-size: 22px; }
  .results { margin-top: 28px; }
  .results-heading-row { gap: 14px; align-items: flex-start; }
  .results-heading-row a { font-size: 13px; margin-top: 5px; }
  .result-context { font-size: 13px; }
  .video-card { padding: 14px; }
  .video-heading { gap: 10px; margin-bottom: 12px; }
  .video-title { font-size: 16px; }
  .video-meta { font-size: 13px; }
  .video-layout { grid-template-columns: 1fr; gap: 18px; }
  .video-layout > .clip-mode { margin-top: 0; }
  .quality-select, .trim-field input { font-size: 16px; }
  .video-player { max-height: 340px; aspect-ratio: 16 / 10; }
  .download-buttons, .trim-buttons { grid-template-columns: 1fr 1fr; }
  .download-link, .action-button, .secondary-button { font-size: 13px; padding-inline: 9px; }
  .trim-panel { margin-top: 17px; }
  .how-it-works { padding: 37px 0 31px; }
  .steps { grid-template-columns: 1fr; gap: 20px; padding-left: 20px; margin-top: 24px; }
  .steps h3 { margin-bottom: 5px; }
  .steps p { font-size: 14px; }
  .faq-section { padding: 30px 0; }
  .faq-list { margin-top: 18px; }
  .faq-list summary { font-size: 14px; padding-block: 15px; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 15px; padding-block: 23px; }
  .site-footer p { grid-row: 2; grid-column: 1/-1; text-align: left; }
  .site-footer>a:last-child { grid-column: 2; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

.input-switcher { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 0 0 13px; border: 0; }
.download-form .input-option { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; cursor: pointer; font-size: 13px; }
.input-option input { width: 16px; height: 16px; margin: 0; accent-color: #fff; }
.input-option small { margin-left: 5px; color: #d8e9f7; font-size: 11px; }
.link-input { min-width: 0; flex: 1; }
.form-controls { align-items: flex-start; }
.form-controls > .primary-button { min-height: 59px; margin-top: 24px; }
.link-input .field-hint { text-align: left; }
.link-input textarea { display: block; width: 100%; min-height: 146px; resize: vertical; padding: 13px 15px; border: 1px solid #fff; border-radius: 5px; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.6; }
.link-input textarea[aria-invalid="true"] { border-color: #ffd4c6; }
.batch-help { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 13px 0 18px; }
.batch-queue { padding: 0; margin: 18px 0 0; list-style: none; border: 1px solid var(--line); border-radius: 5px; }
.batch-entry { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.batch-entry + .batch-entry { border-top: 1px solid var(--line); }
.batch-entry-details { min-width: 0; }
.batch-source { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; text-decoration: none; }
.batch-source:hover, .post-source:hover { text-decoration: underline; }
.batch-status { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 3px 0 0; }
.batch-entry[data-state="ready"] .batch-status { color: #26734c; }
.batch-entry[data-state="error"] .batch-status, .batch-entry[data-state="expired"] .batch-status { color: #9a3825; }
.retry-post { flex-shrink: 0; }
.post-results { padding-top: 28px; margin-top: 25px; border-top: 1px solid var(--line); }
.post-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.post-heading { margin: 0; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }
.post-source { font-size: 13px; text-decoration: none; }
.post-results .video-title { font-size: 16px; }
@media (max-width: 560px) {
  .form-controls > .primary-button { margin-top: 0; min-height: 50px; width: 100%; }
  .link-input { width: 100%; }
  .batch-entry { align-items: flex-start; flex-wrap: wrap; gap: 8px; padding: 12px; }
  .batch-entry-details { flex: 1 1 160px; }
  .post-heading { font-size: 18px; }
}

.load-preview-button { width: 100%; margin-top: 9px; }

.home-hero { padding-block: 47px 38px; }
.home-cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; margin-top: 16px; padding: 14px 23px; border: 1px solid #fff; border-radius: 5px; background: #fff; color: var(--blue-dark); font-size: 16px; font-weight: 600; text-decoration: none; }
.home-cta:hover { background: #edf5fc; }
.home-hero-note { margin: 15px 0 0; font-size: 13px; line-height: 1.6; color: #eaf3fb; }
.home-section { padding-block: 40px; }
.home-section h2, .home-section .section-intro { text-align: center; }
.home-section .section-intro { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.platform-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 25px 0 0; list-style: none; }
.platform-list li { min-width: 0; }
.platform-card { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 111px; padding: 20px; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; }
.platform-available { border-color: var(--blue); background: #f2f7fc; }
.platform-available:hover { background: #e6f0fa; }
.platform-unavailable { background: #f8f9fa; color: var(--muted); }
.platform-name { font-size: 17px; line-height: 1.4; font-weight: 600; }
.platform-status { font-size: 13px; line-height: 1.5; }
.home-tools { border-top: 1px solid var(--line); }
.home-tool-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; margin-top: 27px; }
.home-tool { display: flex; flex-direction: column; align-items: flex-start; }
.home-tool h3 { margin: 0; font-size: 17px; line-height: 1.4; font-weight: 600; }
.home-tool p { margin: 10px 0 6px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.home-tool a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; font-size: 14px; text-underline-offset: 3px; }
@media (max-width: 740px) {
  .platform-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .home-hero { padding-block: 34px 29px; }
  .home-section { padding-block: 31px; }
  .platform-list { gap: 12px; margin-top: 21px; }
  .platform-card { padding: 16px; }
  .platform-name { font-size: 16px; }
  .home-tool-list { grid-template-columns: 1fr; gap: 20px; }
}
