@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
:root{--paper:#f4f6f4;--white:#fff;--ink:#172221;--muted:#71807c;--line:#dce4df;--green:#c9f36a;--green-dark:#52751e;--deep:#14211f;--mint:#eaf4e7;--orange:#d7784c;--mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Consolas,monospace;--sans:'IBM Plex Sans Arabic',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;--shadow:0 22px 70px rgba(30,54,45,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.65}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.site-header,main,.site-footer{width:min(1160px,calc(100% - 64px));margin-inline:auto}.site-header{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px}.brand-mark{height:36px;width:36px;background:var(--deep);border-radius:11px;display:grid;grid-template-columns:repeat(2,5px);grid-template-rows:repeat(2,5px);gap:4px;align-content:center;justify-content:center;transform:rotate(-7deg)}.brand-mark i{display:block;background:var(--green);border-radius:2px}.brand-mark i:nth-child(2){opacity:.48}.brand-mark i:nth-child(3){opacity:.72}.brand-copy{display:grid;line-height:1.35}.brand-copy strong{font-size:15px;font-weight:700;letter-spacing:-.03em}.brand-copy small{font-size:11px;color:var(--muted);margin-top:2px}.header-note,.local-pill{display:flex;align-items:center;gap:9px;color:#55645f;font-size:12px}.status-dot{width:7px;height:7px;border-radius:50%;background:#7cad37;box-shadow:0 0 0 4px rgba(124,173,55,.12)}main{padding-bottom:30px}.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:center;padding:70px 0 68px}.eyebrow,.section-kicker,.panel-kicker{font-size:11px;letter-spacing:.08em;color:#65756f;font-weight:600;display:flex;align-items:center;gap:10px;margin:0 0 17px}.eyebrow-line{height:1px;width:25px;background:var(--green-dark)}.hero h1{font-size:clamp(46px,6vw,73px);line-height:1.16;letter-spacing:-.055em;margin:0;font-weight:700}.hero h1 span{color:#728e42;position:relative;display:inline-block}.hero h1 span:after{content:'';position:absolute;bottom:5px;right:0;width:100%;height:8px;background:var(--green);z-index:-1;opacity:.72}.hero-description{font-size:15px;max-width:490px;line-height:2;color:#5f706a;margin:20px 0 24px}.hero-proof{display:flex;align-items:center;gap:10px;font-size:11px;color:#53625d}.proof-icon{display:grid;place-items:center;width:19px;height:19px;border:1px solid #c6d3c9;border-radius:50%;font-size:13px;color:var(--green-dark)}.proof-separator{height:13px;width:1px;background:#cbd5ce;margin-inline:5px}.hero-art{background:var(--deep);min-height:260px;border-radius:12px;padding:24px 28px 19px;color:#dce9df;position:relative;overflow:hidden;box-shadow:0 24px 60px rgba(20,33,31,.16)}.hero-art:before,.hero-art:after{content:'';position:absolute;border:1px solid rgba(201,243,106,.11);border-radius:50%;width:290px;height:290px;left:-156px;top:-134px}.hero-art:after{width:220px;height:220px;left:-120px;top:-99px}.art-caption,.art-footer{font:10px var(--mono);letter-spacing:.08em;color:#91a59a;display:flex;justify-content:space-between}.art-caption span{color:var(--green)}.bit-field{position:relative;z-index:1;display:grid;grid-template-columns:repeat(8,1fr);gap:13px 10px;max-width:315px;margin:34px auto 31px;direction:ltr;text-align:center;font:500 clamp(19px,2.4vw,28px) var(--mono);color:#71877b}.bit-field span{transition:transform .3s ease,color .3s ease}.bit-field span.on{color:var(--green);text-shadow:0 0 16px rgba(201,243,106,.3)}.bit-field span:nth-child(3n){opacity:.55}.art-footer{align-items:center;border-top:1px solid rgba(230,245,235,.12);padding-top:14px;font-size:9px}.art-orbit{display:grid;place-items:center;font-size:17px;color:var(--green);border:1px solid rgba(201,243,106,.38);border-radius:50%;width:26px;height:26px}.workspace{background:var(--white);border:1px solid #e5ebe7;border-radius:14px;padding:36px 38px 0;box-shadow:var(--shadow);overflow:hidden}.workspace-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.section-kicker{margin-bottom:6px;font-family:var(--mono);font-size:9px;letter-spacing:.1em}.section-kicker span{color:#94a29a}.workspace-heading h2{font-size:24px;line-height:1.3;margin:0;letter-spacing:-.04em}.local-pill{border:1px solid var(--line);border-radius:30px;padding:8px 12px;font-size:10px}.local-pill .status-dot{width:6px;height:6px}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line)}.mode-tab{background:none;border:0;padding:0 4px 16px;display:flex;align-items:center;gap:14px;text-align:right;color:#88948e;position:relative}.mode-tab:after{content:'';position:absolute;bottom:-1px;right:0;width:0;height:2px;background:#8cac48;transition:width .25s ease}.mode-tab.is-active{color:var(--ink)}.mode-tab.is-active:after{width:100%}.tab-index{font:11px var(--mono);color:#a1aca5;align-self:flex-start;padding-top:4px}.tab-label{display:grid;line-height:1.4}.tab-label strong{font-size:13px;font-weight:600}.tab-label small{font-size:10px;color:#85918b;margin-top:5px}.tab-arrow{font:20px var(--mono);margin-inline-start:auto;color:#90a254}.mode-panel{padding:29px 0 28px}.panel-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.panel-kicker{margin:0 0 4px;font-size:9px}.step-line{display:inline-block;width:24px;height:1px;background:#a8b89d}.panel-intro h3{font-size:20px;line-height:1.4;margin:0 0 4px;letter-spacing:-.03em}.panel-intro p:not(.panel-kicker){font-size:11px;color:#87928c;margin:0}.panel-symbol{font:500 26px var(--mono);color:#d5e6b3;letter-spacing:-.08em;display:flex;align-items:center;gap:8px}.panel-symbol span{font-size:16px;color:#93ae60}.encode-layout,.decode-layout{display:grid;grid-template-columns:1fr 1fr;gap:26px}.dropzone{border:1px dashed #bdcbc1;border-radius:10px;background:#fafcf9;transition:border-color .18s,background .18s}.dropzone.is-dragging{border-color:#769b37;background:#f2f8e9}.dropzone-inner{min-height:151px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer}.upload-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#edf4e6;color:#6e8e37;margin-bottom:10px}.upload-icon svg{width:21px;height:21px}.dropzone-inner strong{font-size:12px;font-weight:600}.dropzone-inner>span:not(.upload-icon){font-size:10px;color:#75847b}.dropzone-inner u{text-decoration-color:#8eaa5d;text-underline-offset:3px;color:#658131}.dropzone-inner small{font:9px var(--mono);color:#a3aea6;margin-top:9px;letter-spacing:.04em}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.selected-file{border:1px solid #dce6dc;background:#f7faf5;padding:11px 12px;border-radius:8px;display:flex;align-items:center;gap:11px;margin-top:10px}.file-badge{display:grid;place-items:center;width:34px;height:34px;background:#e9f1dd;border-radius:7px;color:#688938;font:600 9px var(--mono);flex:none}.file-details{display:grid;min-width:0;flex:1;line-height:1.5}.file-details strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-details span{font-size:9px;color:#87948c}.icon-button{border:0;background:transparent;color:#77827d;font-size:22px;line-height:1;width:27px;height:27px;border-radius:50%}.icon-button:hover{background:#eaf0e9;color:#26342e}.notice{display:flex;gap:9px;align-items:flex-start}.notice-soft{margin:13px 0 17px;color:#7a8580}.notice p{margin:0;font-size:9px;line-height:1.75}.notice-mark{font:600 10px var(--mono);border:1px solid #ccd6c8;border-radius:50%;width:16px;height:16px;display:grid;place-items:center;flex:none;color:#718d3e;margin-top:2px}.primary-button,.download-button,.secondary-button{height:45px;padding:0 15px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;font-weight:600;transition:transform .18s,background .18s,border-color .18s}.primary-button{width:100%;border:1px solid var(--deep);background:var(--deep);color:white}.primary-button span:last-child{color:var(--green);font:17px var(--mono)}.primary-button:not(:disabled):hover{background:#253936;transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.42}.result-column,.restore-column{border:1px solid #e4ebe5;background:#fcfdfb;border-radius:10px;min-height:290px;padding:14px;position:relative}.result-topline{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:600;color:#66746e}.output-format{font:9px var(--mono);color:#97a59b;letter-spacing:.04em}.empty-output,.restore-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:236px;color:#9ca8a0;text-align:center}.empty-glyph{font:29px var(--mono);color:#c4d4bd;margin-bottom:9px}.empty-output strong,.restore-empty strong{font-size:11px;font-weight:500;color:#829087}.empty-output>span:last-child,.restore-empty>span:last-child{font-size:9px;margin-top:3px}.encode-result{margin-top:15px}.result-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.result-summary>div{display:flex;align-items:baseline;gap:7px}.result-summary strong{font:500 19px var(--mono);color:#45652f}.result-summary>div span{font-size:9px;color:#839087}.result-state{font:9px var(--mono);color:#658637;display:inline-flex;align-items:center;gap:6px}.result-state i{height:6px;width:6px;border-radius:50%;background:#88b348}.field-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:600;margin:12px 0 6px;color:#46544d}.field-label span{font-size:9px;color:#929e96;font-weight:400}.binary-area{display:block;width:100%;height:110px;border:1px solid #e3e9e4;border-radius:7px;background:#f6f8f6;color:#496146;padding:11px 12px;resize:vertical;direction:ltr;text-align:left;font:10px/1.8 var(--mono);outline:none;overflow:auto}.binary-area:focus{border-color:#a5ba82;box-shadow:0 0 0 3px rgba(144,174,96,.11)}.result-actions{display:grid;grid-template-columns:.85fr 1.15fr;gap:7px;margin-top:9px}.secondary-button{border:1px solid #dce5dc;background:white;color:#51614f;justify-content:center;height:39px;padding:0 9px;font-size:10px}.secondary-button:hover{border-color:#9bb27b}.download-button{border:1px solid var(--green);background:var(--green);color:#26331d;justify-content:center;height:39px;padding:0 10px;font-size:10px}.download-button:hover{background:#b7e653}.result-hint{font-size:8px;line-height:1.65;color:#929d95;margin:9px 2px 0}.progress-wrap{padding:12px 0 0}.progress-label{font-size:9px;color:#748078;display:flex;justify-content:space-between;margin-bottom:6px}.progress-label span:last-child{font-family:var(--mono);color:#688441}.progress-track{height:4px;border-radius:6px;background:#e8ede8;overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:#92b64c;transition:width .2s ease}.mini-upload{border:1px solid #e3e9e4;border-radius:8px;margin-bottom:15px}.mini-upload-label{display:flex;align-items:center;gap:10px;padding:11px;cursor:pointer}.mini-upload-icon{width:29px;height:29px;border-radius:7px;background:#eef4e7;color:#6b8d3c;display:grid;place-items:center;font:16px var(--mono)}.mini-upload-label>span:nth-child(2){display:grid;line-height:1.4;flex:1}.mini-upload-label strong{font-size:10px}.mini-upload-label small{font-size:8px;color:#909b94;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-upload-cta{font-size:9px;color:#638235;border:1px solid #dce6d4;padding:5px 9px;border-radius:5px}.input-area{height:140px;background:#fbfcfb}.name-label{justify-content:flex-start;margin-top:15px}.filename-field{height:39px;display:flex;direction:ltr;border:1px solid #e1e8e1;border-radius:7px;background:#fbfcfb;overflow:hidden}.filename-field:focus-within{border-color:#a5ba82;box-shadow:0 0 0 3px rgba(144,174,96,.11)}.filename-field input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:0 10px;text-align:left;direction:ltr;font:10px var(--mono);color:#53644d}.filename-field>span{display:grid;place-items:center;padding:0 10px;background:#f1f4f0;color:#a0aaa2;font:9px var(--mono);border-left:1px solid #e1e8e1}.field-help{font-size:8px;color:#929d95;line-height:1.6;margin:6px 0 14px}.decode-warning{font-size:9px;color:#9b522f;background:#fff5ef;border:1px solid #f0d9ca;border-radius:6px;padding:8px 9px;margin:0 0 10px;line-height:1.55}.decode-warning.is-error{color:#a74334;background:#fff1ef;border-color:#efc7c1}.decode-warning.is-success{color:#527a2b;background:#f5f9ed;border-color:#dce9c7}.decode-progress{margin-top:9px}.film-mark{font:32px var(--mono);color:#b4c999;margin-bottom:10px}.restore-column{min-height:430px}.restore-result{margin-top:14px}.restore-result video{display:block;width:100%;aspect-ratio:16/9;max-height:240px;background:#111;border-radius:7px;object-fit:contain}.restore-fileline{display:flex;align-items:center;gap:9px;padding:11px 2px}.restore-fileline .file-details strong{font:10px var(--mono)}.restore-fileline .result-state{margin-inline-start:auto;white-space:nowrap}.full-button{width:100%;height:42px}.text-button{border:0;background:transparent;color:#86928a;font-size:9px;display:block;margin:10px auto 0;padding:4px 10px}.text-button:hover{color:#45554d}.privacy-strip{display:flex;align-items:center;gap:13px;border-top:1px solid #e7ece8;margin-top:2px;padding:18px 0 17px}.privacy-lock{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#eef4e9;color:#6e8c3e;font-size:17px;flex:none}.privacy-strip>div{display:grid;line-height:1.5;flex:1}.privacy-strip strong{font-size:10px;font-weight:600}.privacy-strip>div span{font-size:9px;color:#88948d}.privacy-code{font:8px var(--mono);letter-spacing:.08em;color:#9ca99c}.how-section{padding:79px 0 54px;display:grid;grid-template-columns:.68fr 1.32fr;gap:60px;align-items:start}.how-title .section-kicker{margin-bottom:14px}.how-title .section-kicker span{font-family:var(--sans);letter-spacing:0}.how-title h2{font-size:32px;line-height:1.4;letter-spacing:-.05em;margin:0}.how-title h2 span{color:#91a56c}.steps{border-top:1px solid #dce4dd}.step-card{display:grid;grid-template-columns:42px 1fr 36px;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid #dce4dd}.step-number{font:11px var(--mono);color:#98a693}.step-card h3{font-size:12px;margin:0 0 2px}.step-card p{font-size:10px;color:#7e8b83;margin:0}.step-symbol{font:18px var(--mono);color:#9fb77c;text-align:center}.closing-note{display:flex;align-items:center;gap:9px;font-size:9px;color:#8c9890;border-top:1px solid #dce4dd;padding-top:18px;margin:0}.closing-note span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9eb963}.site-footer{border-top:1px solid var(--line);height:77px;display:flex;align-items:center;justify-content:space-between;color:#86928b;font-size:9px}.footer-brand{font:10px var(--mono);color:#44534c}.footer-brand span{color:#9ebc68}.footer-year{font:8px var(--mono);letter-spacing:.07em}.notice-error{color:#a74334!important}
@media(max-width:850px){.site-header,main,.site-footer{width:min(100% - 40px,700px)}.hero{gap:25px;padding:55px 0}.hero-art{min-height:235px;padding:20px}.workspace{padding:30px 27px 0}.encode-layout,.decode-layout{gap:15px}.how-section{gap:35px;grid-template-columns:.8fr 1.2fr}}
@media(max-width:640px){.site-header,main,.site-footer{width:calc(100% - 32px)}.site-header{height:72px}.brand-copy strong{font-size:13px}.header-note{font-size:9px}.hero{grid-template-columns:1fr;padding:43px 0 39px;gap:23px}.hero h1{font-size:52px}.hero-description{font-size:13px;margin:14px 0 18px}.hero-proof{font-size:9px}.hero-art{min-height:200px}.bit-field{margin:22px auto;gap:8px}.workspace{padding:24px 17px 0;border-radius:11px}.workspace-heading{align-items:center}.workspace-heading h2{font-size:19px}.local-pill{font-size:8px;padding:6px 8px}.mode-tab{gap:8px;padding-bottom:12px}.tab-label strong{font-size:10px}.tab-label small{font-size:8px}.tab-index{font-size:9px}.tab-arrow{font-size:16px}.mode-panel{padding:23px 0}.panel-intro h3{font-size:18px}.panel-intro p:not(.panel-kicker){font-size:9px}.panel-symbol{font-size:21px}.encode-layout,.decode-layout{grid-template-columns:1fr;gap:18px}.dropzone-inner{min-height:139px}.result-column{min-height:270px}.empty-output{min-height:210px}.restore-column{min-height:300px}.restore-empty{min-height:255px}.privacy-strip{gap:9px}.privacy-strip>div span{font-size:8px}.privacy-code{display:none}.how-section{grid-template-columns:1fr;gap:22px;padding:54px 0 36px}.how-title h2{font-size:27px}.step-card{grid-template-columns:32px 1fr 28px;gap:8px}.step-card p{font-size:9px}.site-footer{height:auto;min-height:71px;gap:12px;flex-wrap:wrap;padding:15px 0}.site-footer>span:nth-child(2){display:none}.footer-year{margin-inline-start:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

[hidden]{display:none!important}


/* Mobile refinements: clearer reading, calmer spacing, and comfortable touch targets. */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-note { gap: 8px; font-size: 11px; }
  .hero { padding: 36px 0 30px; gap: 20px; }
  .hero h1 { font-size: clamp(40px, 11vw, 48px); line-height: 1.2; }
  .hero-description { font-size: 15px; line-height: 1.85; margin: 14px 0 18px; }
  .hero-proof { flex-wrap: wrap; gap: 8px; font-size: 12px; line-height: 1.6; }
  .proof-icon { width: 24px; height: 24px; flex: 0 0 24px; }
  .hero-art { min-height: 190px; padding: 20px; }
  .bit-field { margin: 22px auto; gap: 10px 8px; font-size: clamp(21px, 7vw, 27px); }

  .workspace { padding: 22px 16px 0; }
  .workspace-heading { align-items: flex-start; gap: 10px; margin-bottom: 17px; }
  .workspace-heading h2 { font-size: 20px; }
  .local-pill { flex: 0 0 auto; padding: 8px 10px; font-size: 11px; white-space: nowrap; }
  .mode-tabs { gap: 8px; }
  .mode-tab { min-width: 0; min-height: 60px; padding: 9px 2px; gap: 7px; align-items: center; }
  .tab-index { padding-top: 0; font-size: 10px; }
  .tab-label { min-width: 0; }
  .tab-label strong { font-size: 12px; line-height: 1.5; }
  .tab-label small { margin-top: 3px; font-size: 10px; line-height: 1.45; }
  .tab-arrow { font-size: 17px; }
  .mode-panel { padding: 21px 0; }
  .panel-intro { align-items: flex-start; gap: 8px; margin-bottom: 18px; }
  .panel-kicker { font-size: 10px; line-height: 1.6; }
  .panel-intro h3 { font-size: 19px; }
  .panel-intro p:not(.panel-kicker) { font-size: 12px; line-height: 1.75; }
  .panel-symbol { flex: 0 0 auto; font-size: 20px; }
  .encode-layout, .decode-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }

  .dropzone-inner { min-height: 148px; padding: 14px 10px; }
  .dropzone-inner strong { font-size: 14px; }
  .dropzone-inner > span:not(.upload-icon) { font-size: 13px; line-height: 1.6; }
  .dropzone-inner small { font-size: 10px; }
  .notice-soft { margin: 13px 0 16px; }
  .notice p { font-size: 11px; line-height: 1.8; }
  .notice-mark { width: 20px; height: 20px; }
  .primary-button, .download-button, .secondary-button { min-height: 48px; height: auto; padding: 11px 13px; font-size: 13px; line-height: 1.5; }

  .result-column, .restore-column { min-width: 0; padding: 13px; }
  .result-column { min-height: 240px; }
  .result-topline { font-size: 12px; }
  .output-format { font-size: 10px; }
  .empty-output { min-height: 185px; }
  .empty-output strong, .restore-empty strong { font-size: 13px; }
  .empty-output > span:last-child, .restore-empty > span:last-child { font-size: 11px; line-height: 1.6; }
  .result-summary strong { font-size: 20px; }
  .result-summary > div span, .result-state { font-size: 10px; }
  .field-label { gap: 8px; font-size: 12px; line-height: 1.6; }
  .field-label span { font-size: 10px; }
  .binary-area { min-height: 110px; padding: 12px; font-size: 12px; line-height: 1.8; }
  .result-actions { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px; }
  .result-actions .secondary-button, .result-actions .download-button { min-width: 0; min-height: 46px; padding: 8px 7px; font-size: 11px; }
  .result-hint { font-size: 10px; line-height: 1.8; }
  .progress-label { font-size: 11px; }

  .mini-upload-label { min-height: 62px; padding: 10px; gap: 9px; }
  .mini-upload-icon { width: 36px; height: 36px; flex: 0 0 36px; }
  .mini-upload-label strong { font-size: 12px; }
  .mini-upload-label small { font-size: 10px; line-height: 1.5; }
  .mini-upload-cta { min-width: 58px; min-height: 44px; padding: 9px 10px; display: grid; place-items: center; font-size: 11px; }
  .input-area { min-height: 170px; }
  .filename-field { min-height: 46px; }
  .filename-field input { font-size: 12px; }
  .filename-field > span { font-size: 10px; }
  .field-help { font-size: 10px; line-height: 1.8; }
  .decode-warning { padding: 10px; font-size: 11px; line-height: 1.75; }
  .restore-column { min-height: 260px; }
  .restore-empty { min-height: 205px; }
  .restore-result video { max-height: 220px; }
  .restore-fileline { gap: 8px; }
  .restore-fileline .restore-name, .restore-fileline .file-details strong { font-size: 11px; }
  .text-button { min-height: 44px; padding: 10px 14px; font-size: 11px; }

  .privacy-strip { align-items: flex-start; gap: 10px; padding: 16px 0; }
  .privacy-strip strong { font-size: 12px; }
  .privacy-strip > div span { font-size: 11px; line-height: 1.75; }
  .privacy-code { display: none; }
  .how-section { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 42px 0 30px; }
  .how-title h2 { font-size: 28px; }
  .step-card { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 9px; padding: 14px 0; }
  .step-number { font-size: 12px; }
  .step-card h3 { font-size: 14px; }
  .step-card p { font-size: 12px; line-height: 1.7; }
  .closing-note { align-items: flex-start; font-size: 11px; line-height: 1.8; }
  .site-footer { min-height: 70px; gap: 10px; padding: 14px 0; }
  .footer-brand { font-size: 11px; }
  .footer-year { font-size: 9px; }

  button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible,
  .dropzone:focus-within, .mini-upload:focus-within {
    outline: 3px solid rgba(111, 143, 58, .55);
    outline-offset: 3px;
  }
}

@media (max-width: 360px) {
  .site-header, main, .site-footer { width: calc(100% - 28px); }
  .header-note { gap: 6px; font-size: 10px; }
  .workspace { padding-inline: 13px; }
  .workspace-heading { gap: 7px; }
  .workspace-heading h2 { font-size: 18px; }
  .local-pill { padding: 7px 8px; font-size: 10px; }
  .mode-tabs { gap: 5px; }
  .mode-tab { gap: 5px; }
  .tab-label strong { font-size: 11px; }
  .tab-label small { font-size: 9px; }
  .tab-arrow { font-size: 15px; }
  .panel-symbol { font-size: 18px; }
  .result-actions { gap: 6px; }
  .result-actions .secondary-button, .result-actions .download-button { padding-inline: 5px; font-size: 10px; }
  .privacy-strip { gap: 8px; }
  .privacy-lock { width: 26px; height: 26px; }
  .footer-year { letter-spacing: .03em; }
}


@media (max-width: 640px) {
  button { min-height: 44px; }
  .icon-button { min-width: 44px; min-height: 44px; flex: 0 0 44px; }
  .brand { min-height: 44px; }
  .footer-brand { display: inline-flex; align-items: center; min-height: 44px; }
}
