/* A light docs and console shell. Tokens, rules and screens: the contract in this folder (proposed 17 Nov 2026) */
@import url("plex/fonts.css");

:root {
  --ground: #EEF2F7; --sheet: #F9FBFD; --wash: #E3E9F1; --wash_2: #D3DCE8;
  --ink: #132033; --ink_soft: #4A586B;
  --shell: #0D1A2D; --shell_2: #1C2C46; --shell_ink: #E8EEF6; --shell_soft: #9DADC3;
  --accent: #1F4FCF; --accent_ink: #F3F6FD; --accent_2: #3A66DB;
  --done: #176F45; --done_t: #DBF0E3;
  --todo: #9A5800; --todo_t: #F9E9CB; --todo_ring: #B66C00;
  --sans: "IBM Plex Sans Hebrew", "Arial Hebrew", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --shadow: 0 18px 40px -22px rgba(19, 42, 82, .30), 0 3px 10px -6px rgba(19, 42, 82, .16);
  --shadow_lift: 0 26px 52px -24px rgba(19, 42, 82, .34), 0 6px 16px -8px rgba(19, 42, 82, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bar_h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar_h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.8 var(--sans); }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip_link { position: fixed; top: 8px; inset-inline-start: 16px; z-index: 30; background: var(--sheet); color: var(--ink); padding: 10px 16px; border-radius: 10px; transform: translateY(-140%); }
.skip_link:focus { transform: none; }
.ic_glyph { width: 22px; height: 22px; flex: none; }
.ic_go { width: 20px; height: 20px; flex: none; }
.tap_press { transition: transform 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease); }
.tap_press:active { transform: scale(.97); }

/* Shell: solid navy bar */
.shell_bar { position: sticky; top: 0; z-index: 20; background: var(--shell); color: var(--shell_ink); }
.bar_in { display: flex; align-items: center; gap: 12px; height: var(--bar_h); padding-inline: 16px; }
.brand_mark { display: inline-flex; align-items: baseline; min-height: 44px; align-items: center; text-decoration: none; font: 600 16px/1 var(--mono); letter-spacing: -.01em; }
.brand_mark b { font-weight: 600; }
.brand_mark span { color: var(--shell_soft); font-weight: 500; }
.brand_mark i { font-style: normal; color: var(--shell_soft); font-weight: 500; display: none; }
.bar_score { display: none; }
.guide_btn, .bar_score { margin-inline-start: auto; }
.guide_btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--shell_2); color: var(--shell_ink); font: 600 16px/1 var(--sans); cursor: pointer; }
.guide_btn:hover { background: #283B5C; }

/* Topic tree (rail on desktop, bottom sheet on phones) */
.nav_rail { display: none; }
.tree_home, .tree_link { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 12px; text-decoration: none; font: 400 16px/1.35 var(--sans); }
.tree_home { font-weight: 600; font-size: 17px; background: var(--wash); margin-bottom: 14px; }
.tree_home[aria-current], .tree_link[aria-current] { background: var(--ink); color: var(--sheet); font-weight: 600; }
.tree_link:not([aria-current]):hover, .tree_home:not([aria-current]):hover { background: var(--wash_2); }
.tree_text { flex: 1; min-width: 0; }
.tree_mark { width: 18px; height: 18px; flex: none; opacity: .8; }
.tree_count { font: 600 13px/1 var(--mono); color: var(--ink_soft); }
.tree_count.is_done { color: var(--done); }
[aria-current] .tree_count { color: var(--wash_2); }
[aria-current] .tree_count.is_done { color: var(--done_t); }
.tree_root, .tree_list { list-style: none; margin: 0; padding: 0; }
.tree_group + .tree_group { margin-top: 16px; }
.tree_head { margin: 0 0 4px; padding-inline: 12px; font: 600 13px/1.5 var(--sans); color: var(--ink_soft); letter-spacing: .01em; }

.guide_sheet { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 640px; max-height: 86dvh; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: var(--sheet); color: var(--ink); box-shadow: var(--shadow_lift); overflow: hidden; }
.guide_sheet[open] { display: flex; flex-direction: column; animation: sheet_up 260ms var(--ease); }
.guide_sheet::backdrop { background: rgba(13, 26, 45, .46); }
@keyframes sheet_up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet_head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 6px 20px; padding-inline: 20px 10px; }
.sheet_head::before { content: ""; position: absolute; top: 8px; inset-inline: 0; margin: auto; width: 44px; height: 5px; border-radius: 999px; background: var(--wash_2); }
.sheet_title { margin: 8px 0 0; font: 700 22px/1.2 var(--sans); }
.sheet_close { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 6px; border: 0; border-radius: 999px; background: var(--wash); color: var(--ink); cursor: pointer; }
.sheet_body { overflow-y: auto; padding: 8px 12px calc(20px + env(safe-area-inset-bottom)); }

/* Page grid */
.main_col { min-width: 0; padding: 14px 16px 0; }
.site_foot { background: var(--shell); color: var(--shell_soft); margin-top: 64px; }
.foot_in { padding: 36px 16px 28px; max-width: 1040px; }
.foot_brand { margin: 0 0 12px; font: 600 18px/1 var(--mono); color: var(--shell_ink); text-align: right; }
.foot_brand span { color: var(--shell_soft); font-weight: 500; }
.foot_about { margin: 0 0 12px; font-size: 16px; line-height: 1.75; max-width: 50ch; }
.foot_note { margin: 16px 0 0; font-size: 15px; line-height: 1.7; }
.foot_cols { display: grid; gap: 4px; }
.foot_links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot_links + .foot_links { margin-top: 6px; }
.foot_links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; color: var(--shell_ink); font-size: 16px; }
.foot_links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot_copy { margin: 16px 0 0; font-size: 14px; }

/* Home: the checkup board owns the accent */
.check_board { background: var(--accent); color: var(--accent_ink); border-radius: 30px; padding: 22px 18px 18px; }
.board_head { display: grid; gap: 14px; padding-inline: 4px; }
.board_title { margin: 0; font: 700 64px/.98 var(--sans); letter-spacing: -.025em; }
.board_score { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.score_num { font: 600 40px/1 var(--mono); letter-spacing: -.03em; }
.score_num span { opacity: .62; }
.score_label { font: 400 17px/1.3 var(--sans); opacity: .9; }
.seg_bar { list-style: none; display: flex; gap: 3px; margin: 18px 4px 18px; padding: 0; }
.seg_bar li { flex: 1; height: 8px; border-radius: 3px; background: rgba(243, 246, 253, .24); transition: background-color 240ms var(--ease); }
.seg_bar li.is_done { background: var(--accent_ink); }
.tile_grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.app_tile { display: grid; gap: 4px; align-content: start; height: 100%; padding: 14px 14px 16px; border-radius: 12px; background: var(--sheet); color: var(--ink); text-decoration: none; box-shadow: 0 10px 24px -18px rgba(8, 22, 64, .55); }
.app_tile:hover { box-shadow: 0 16px 30px -18px rgba(8, 22, 64, .7); }
.tile_top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tile_ring, .panel_ring { position: relative; display: grid; place-items: center; width: 54px; height: 54px; }
.ring_svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg) scaleY(-1); }
.ring_track { stroke: var(--wash); }
.ring_fill { stroke: var(--todo_ring); stroke-linecap: round; transition: stroke-dashoffset 420ms var(--ease); }
.is_complete .ring_fill { stroke: var(--done); }
.ring_count { position: relative; font: 600 14px/1 var(--mono); letter-spacing: -.02em; }
.tile_plate { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--wash); color: var(--ink); }
.app_mark { width: 20px; height: 20px; }
.tile_name { font: 600 20px/1.3 var(--sans); }
.tile_state { justify-self: start; font: 600 14px/1 var(--sans); padding: 6px 10px; border-radius: 999px; }
.state_todo { background: var(--todo_t); color: var(--todo); }
.state_done { background: var(--done_t); color: var(--done); }
.tile_next { display: none; font-size: 15px; line-height: 1.5; color: var(--ink_soft); }
.board_link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; min-height: 52px; padding: 10px 14px; border-radius: 12px; background: var(--accent_2); color: var(--accent_ink); text-decoration: none; font: 600 16px/1.45 var(--sans); }
.board_link:hover { background: #4972E0; }

/* Home blocks */
.home_block { margin-top: 48px; }
.home_text { margin-top: 56px; }
.doc_body.home_text { max-width: 560px; }
.home_text h2 { margin-top: 0; }
.phish_slot { margin-top: 28px; }
.more_block { margin-top: 56px; }
.lost_text { margin: 12px 0 0; color: var(--ink_soft); }
.lost_tiles { margin-top: 28px; }
.lost_links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.lost_home { margin-top: 0; background: var(--ink); color: var(--sheet); }
.lost_home:hover { background: #24344D; }
.try_hint { margin: 0; font-size: 15px; color: var(--ink_soft); }
.block_title { margin: 0 0 16px; font: 700 30px/1.2 var(--sans); letter-spacing: -.015em; }
.strip_label { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 15px/1.3 var(--sans); color: var(--ink_soft); }
.ic_label { width: 20px; height: 20px; flex: none; }
.pw_strip { background: var(--sheet); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.pw_out { display: block; min-height: 64px; padding: 14px 16px; border-radius: 12px; background: var(--wash); font: 600 22px/1.45 var(--mono); letter-spacing: .02em; text-align: left; word-break: break-all; }
.pw_facts { margin: 0; font-size: 15px; color: var(--ink_soft); }
.pw_facts span { font: 600 15px/1 var(--mono); color: var(--ink); }
.pw_actions, .gen_actions { display: flex; flex-wrap: wrap; gap: 8px; }
.act_btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--wash); color: var(--ink); font: 600 16px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.act_btn:hover { background: var(--wash_2); }
.act_main { background: var(--ink); color: var(--sheet); }
.act_main:hover { background: #24344D; }
.act_btn.is_copied { background: var(--done); color: var(--sheet); }
.strip_links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.strip_link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 600 16px/1.3 var(--sans); text-decoration: none; color: var(--ink); }
.strip_link:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide_rows { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.guide_row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none; }
.guide_row:hover { background: var(--wash); }
.row_text { flex: 1; min-width: 0; display: grid; }
.row_text b { font: 600 18px/1.45 var(--sans); }
.row_meta { font-size: 15px; color: var(--ink_soft); }

/* Phishing pattern card */
.phish_card { background: var(--sheet); border-radius: 22px; padding: 22px 18px; box-shadow: var(--shadow); display: grid; gap: 22px; }
.phish_figure { margin: 0; display: grid; justify-items: center; }
.call_list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.call_list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.call_list b { display: block; font: 600 18px/1.4 var(--sans); }
.call_text { display: block; font-size: 16px; line-height: 1.6; color: var(--ink_soft); }
.call_num, .call_pin { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: var(--sheet); font: 600 14px/1 var(--mono); }
.call_list .call_num { margin-top: 1px; }
.phish_side { display: grid; gap: 26px; }
.phish_solo { width: fit-content; max-width: 100%; }
.take_top { margin-top: 32px; max-width: 680px; }
.phish_guides .guide_rows { margin-top: 4px; grid-template-columns: 1fr; }
.phish_guides .guide_row { padding-inline: 4px; }

/* Developers: a mono index */
.dev_index { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dev_row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "path time" "name name"; gap: 2px 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none; }
.dev_row:hover { background: var(--wash); }
.dev_path { grid-area: path; justify-self: start; font: 500 14px/1.6 var(--mono); color: var(--ink_soft); }
.dev_name { grid-area: name; font: 600 18px/1.45 var(--sans); }
.dev_time { grid-area: time; font-size: 14px; color: var(--ink_soft); }

/* Drawn phone screens: the atmospheric device */
.phone_frame { width: 244px; padding: 8px; border-radius: 38px; background: var(--shell); box-shadow: var(--shadow_lift); }
.phone_small { width: 232px; }
.phone_screen { position: relative; height: 468px; border-radius: 30px; background: var(--sheet); overflow: hidden; font-size: 13px; line-height: 1.3; }
.phone_small .phone_screen { height: 372px; }
.scr_view { display: none; position: absolute; inset: 0; flex-direction: column; }
.scr_view.is_shown { display: flex; }
.scr_status { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 6px; font: 600 12px/1 var(--mono); }
.scr_batt { width: 22px; height: 11px; border-radius: 3px; background: var(--ink); opacity: .75; }
.scr_appbar { display: flex; align-items: center; gap: 8px; padding: 8px 14px 10px; position: relative; }
.scr_appbar b { flex: 1; font: 700 18px/1.2 var(--sans); }
.ic_scr { width: 16px; height: 16px; flex: none; color: var(--ink_soft); }
.scr_kebab { display: grid; place-items: center; }
.sk_bar { display: block; height: 8px; width: var(--w); border-radius: 999px; background: var(--wash_2); }
.sk_thin { height: 6px; opacity: .7; }
.sk_avatar { width: 30px; height: 30px; border-radius: 999px; background: var(--wash_2); flex: none; }
.scr_sender { flex: 1; display: grid; gap: 6px; }
.scr_chats { list-style: none; margin: 0; padding: 0 14px; display: grid; gap: 14px; }
.scr_chats li { display: flex; align-items: center; gap: 10px; }
.scr_menu { list-style: none; position: absolute; top: 74px; inset-inline-end: 10px; width: 138px; margin: 0; padding: 6px; border-radius: 12px; background: var(--sheet); box-shadow: 0 14px 30px -12px rgba(19, 42, 82, .45); display: grid; gap: 2px; }
.scr_menu li { display: flex; align-items: center; height: 30px; padding-inline: 8px; border-radius: 8px; }
.scr_tabs { list-style: none; margin: auto 0 0; padding: 8px 6px 14px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--wash); }
.scr_tabs li { position: relative; display: grid; justify-items: center; gap: 4px; padding: 4px 0; border-radius: 10px; }
.scr_tabs .scr_dot { width: 16px; height: 16px; }
.scr_tabs .sk_bar { width: 60%; height: 5px; }
.scr_list { list-style: none; margin: 4px 10px 0; padding: 4px; border-radius: 14px; background: var(--wash); display: grid; gap: 2px; }
.scr_row { position: relative; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 8px; border-radius: 10px; }
.scr_row .sk_bar { flex: none; }
.scr_dot { width: 18px; height: 18px; border-radius: 6px; background: var(--wash_2); flex: none; }
.scr_label { flex: 1; font: 600 13px/1.2 var(--sans); }
.scr_hit { position: relative; background: var(--sheet); box-shadow: 0 0 0 2px var(--ink); }
.scr_hit .call_pin, .scr_appbar .call_pin { width: 24px; height: 24px; flex: none; font-size: 12px; }
.scr_menu .scr_hit { justify-content: space-between; }
.scr_tabs .scr_hit .scr_label { font-size: 11px; flex: none; }
.scr_tabs .scr_hit .call_pin { position: absolute; top: -12px; inset-inline-end: -2px; }
.scr_fab { position: absolute; bottom: 18px; inset-inline-end: 16px; width: 46px; height: 46px; border-radius: 14px; background: var(--wash_2); }
.scr_feature { display: grid; justify-items: center; gap: 10px; padding: 24px 22px 0; }
.scr_feature .sk_bar { justify-self: center; }
.scr_disc { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 999px; background: var(--wash); margin-bottom: 8px; }
.ic_feature { width: 40px; height: 40px; color: var(--ink); }
.scr_cta { position: relative; margin: auto 18px 26px; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; }
.scr_cta .scr_label { flex: none; }
.scr_thread { flex: 1; padding: 12px; background: var(--wash); }
.msg_bubble { display: grid; gap: 16px; width: 76%; padding: 14px 12px; border-radius: 16px 16px 16px 4px; background: var(--sheet); }
.msg_line { position: relative; display: flex; align-items: center; gap: 6px; }
.msg_line .sk_bar { flex: none; }
.msg_mark { padding: 6px; margin: -6px; border-radius: 8px; box-shadow: 0 0 0 2px var(--ink); }
.msg_mark .call_pin { position: absolute; inset-inline-end: -38px; width: 24px; height: 24px; font-size: 12px; }
.sk_link { display: flex; gap: 4px; }
.sk_link i { width: 9px; height: 3px; border-radius: 2px; background: var(--ink_soft); }
.sk_dots { display: flex; gap: 5px; }
.sk_dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--ink_soft); }
.scr_compose { display: flex; gap: 8px; padding: 10px 12px 16px; background: var(--wash); }
.sk_field { flex: 1; height: 30px; border-radius: 999px; background: var(--sheet); }
.sk_send { width: 30px; height: 30px; border-radius: 999px; background: var(--wash_2); }

/* Article */
.doc_page { max-width: 1040px; }
.doc_path { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; font: 500 15px/1 var(--mono); color: var(--ink_soft); padding-block: 6px; }
.doc_path a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.doc_path a:hover { text-decoration: underline; text-underline-offset: 4px; }
.doc_path span { display: inline-flex; align-items: center; }
.doc_title { margin: 6px 0 0; font: 700 40px/1.12 var(--sans); letter-spacing: -.02em; max-width: 20ch; }
.meta_row { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 16px; color: var(--ink_soft); }
.meta_row li { display: inline-flex; align-items: center; gap: 6px; }
.ic_meta { width: 18px; height: 18px; flex: none; }

.check_panel { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; grid-template-areas: "checks" "demo" "takes"; }
.panel_checks { grid-area: checks; }
.phone_demo { grid-area: demo; }
.check_panel .take_list { grid-area: takes; margin: 0; }
.panel_head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.panel_ring { width: 74px; height: 74px; }
.panel_ring .ring_count { font-size: 17px; }
.panel_ring .ring_track { stroke: var(--wash_2); }
.panel_title { margin: 0; font: 700 24px/1.2 var(--sans); }
.panel_count { margin: 4px 0 0; font-size: 16px; color: var(--ink_soft); }
.panel_count b { font: 600 16px/1 var(--mono); color: var(--ink); }
.check_list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check_item { position: relative; display: grid; grid-template-columns: 30px 36px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 72px; padding: 12px 14px; border-radius: 16px; background: var(--sheet); box-shadow: 0 10px 26px -20px rgba(19, 42, 82, .5); cursor: pointer; }
.check_item:hover { box-shadow: 0 14px 30px -18px rgba(19, 42, 82, .55); }
.check_input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check_box { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--wash); box-shadow: inset 0 0 0 2px var(--wash_2); color: transparent; transition: background-color 180ms var(--ease); }
.ic_tick { width: 20px; height: 20px; }
.check_input:checked + .check_box { background: var(--done); box-shadow: none; color: var(--sheet); }
.check_input:focus-visible + .check_box { outline: 3px solid var(--accent); outline-offset: 3px; }
.check_icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--wash); color: var(--ink_soft); }
.check_icon .ic_glyph { width: 20px; height: 20px; }
.check_text { display: grid; gap: 2px; min-width: 0; }
.check_text b { font: 600 18px/1.4 var(--sans); }
.check_item:has(.check_input:checked) .check_text b { color: var(--done); }
.check_path { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; font-size: 15px; line-height: 1.5; color: var(--ink_soft); }
.ic_sep { width: 14px; height: 14px; flex: none; opacity: .7; }

.phone_demo { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; }
.os_toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--wash); }
.os_btn { min-height: 44px; min-width: 96px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--ink_soft); font: 600 16px/1 var(--sans); cursor: pointer; }
.os_btn[aria-pressed="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 4px 12px -6px rgba(19, 42, 82, .4); }
.path_steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; width: 100%; max-width: 360px; }
.step_btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 12px; border: 0; border-radius: 14px; background: var(--wash); color: var(--ink); font: 600 15px/1.2 var(--sans); text-align: start; cursor: pointer; }
.step_btn .step_num { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 999px; background: var(--wash_2); font: 600 13px/1 var(--mono); }
.step_btn[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.step_btn[aria-pressed="true"] .step_num { background: var(--sheet); color: var(--ink); }

.doc_grid { margin-top: 44px; display: grid; gap: 32px; }
.doc_grid_single { margin-top: 28px; }
.doc_toc { display: none; }
.doc_body { min-width: 0; max-width: 680px; overflow-wrap: anywhere; }
.doc_body > p:first-of-type { font-size: 20px; line-height: 1.75; }
.doc_body p, .doc_body ul, .doc_body ol { margin: 0 0 18px; }
.doc_body h2 { margin: 48px 0 12px; font: 700 28px/1.25 var(--sans); letter-spacing: -.01em; }
.doc_body h3 { margin: 30px 0 8px; font: 600 21px/1.35 var(--sans); }
.doc_body a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.doc_body a:hover { color: var(--accent); }
.doc_body ul { padding-inline-start: 22px; }
.doc_body li { margin-bottom: 8px; }
.doc_body li::marker { color: var(--ink_soft); }
.doc_body ol { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 8px; }
.doc_body ol > li { counter-increment: step; position: relative; margin: 0; padding: 12px 16px; padding-inline-start: 56px; border-radius: 14px; background: var(--sheet); }
.doc_body ol > li::before { content: counter(step); position: absolute; inset-inline-start: 14px; top: 13px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--wash); font: 600 14px/1 var(--mono); }
.doc_body code { font: 500 .88em/1.5 var(--mono); background: var(--wash); padding: 4px 8px; border-radius: 6px; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.doc_body pre { background: var(--shell); color: var(--shell_ink); padding: 18px 20px; border-radius: 14px; overflow-x: auto; text-align: start; }
.doc_body pre code { background: none; padding: 0; color: inherit; font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.code_block { margin: 0 0 20px; }
.doc_body strong { font-weight: 600; }
.table_box { overflow-x: auto; margin: 0 0 20px; border-radius: 14px; background: var(--sheet); }
.doc_body table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc_body th, .doc_body td { padding: 10px 12px; text-align: start; vertical-align: top; }
.doc_body th { background: var(--wash); font-weight: 600; }
.doc_body tr + tr td { box-shadow: inset 0 1px 0 var(--wash); }
.take_title { margin: 0 0 10px; font: 600 15px/1.3 var(--sans); color: var(--ink_soft); letter-spacing: .01em; }
.take_list ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 540px; overflow-wrap: anywhere; }
.take_list code { font: 500 .88em/1.5 var(--mono); background: var(--wash); padding: 4px 8px; border-radius: 6px; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.take_list li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; margin: 0; font-size: 17px; line-height: 1.7; }
.take_num { font: 600 15px/1.9 var(--mono); color: var(--ink_soft); }
.help_block { margin-top: 44px; }
.help_block h2 { margin: 0 0 12px; font: 600 15px/1.3 var(--sans); color: var(--ink_soft); }
.help_card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 8px; border-radius: 16px; background: var(--sheet); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.doc_body .help_card { color: var(--ink); text-decoration: none; }
.help_plate { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--wash); }
.help_text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.help_text b { font: 600 17px/1.4 var(--sans); overflow-wrap: anywhere; text-align: start; }
.help_text b[dir="auto"] { justify-self: start; }
.help_text code { background: none; padding: 0; font: 500 14px/1.4 var(--mono); color: var(--ink_soft); justify-self: start; overflow-wrap: anywhere; }
.next_apps { margin-top: 56px; }
.tile_grid_quiet .app_tile { box-shadow: var(--shadow); }

/* Tool: the generator as a product screen */
.tool_grid { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.gen_panel { background: var(--sheet); border-radius: 26px; padding: 12px; box-shadow: var(--shadow_lift); display: grid; gap: 16px; }
.gen_well { border-radius: 14px; background: var(--wash); padding: 18px 16px 14px; display: grid; gap: 14px; }
.gen_out { display: block; min-height: 1.45em; font: 600 24px/1.45 var(--mono); letter-spacing: .02em; text-align: left; word-break: break-all; }
.gen_meter { display: grid; gap: 8px; }
.meter_bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.meter_seg { height: 8px; border-radius: 3px; background: var(--wash_2); }
.gen_meter[data-level="1"] .meter_seg:nth-child(-n+1), .gen_meter[data-level="2"] .meter_seg:nth-child(-n+2) { background: var(--todo_ring); }
.gen_meter[data-level="3"] .meter_seg:nth-child(-n+3), .gen_meter[data-level="4"] .meter_seg { background: var(--done); }
.meter_text { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; }
.meter_word { font-weight: 600; }
.gen_meter[data-level="1"] .meter_word, .gen_meter[data-level="2"] .meter_word { color: var(--todo); }
.gen_meter[data-level="3"] .meter_word, .gen_meter[data-level="4"] .meter_word { color: var(--done); }
.meter_bits { font: 600 15px/1 var(--sans); color: var(--ink_soft); }
.gen_actions { padding-inline: 4px; }
.gen_actions .act_btn { flex: 1; }
.gen_controls { display: grid; gap: 4px; padding: 0 6px 6px; }
.range_field { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 4px 8px; padding: 8px 8px 4px; }
.range_field label { font-weight: 600; }
.range_value { font: 600 22px/1 var(--mono); }
.range_unit { font-size: 15px; color: var(--ink_soft); }
.range_input { grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.switch_row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 6px 8px; border-radius: 12px; cursor: pointer; font-size: 17px; }
.switch_row:hover { background: var(--ground); }
.switch_input { appearance: none; position: relative; width: 52px; height: 32px; flex: none; margin: 0; border-radius: 999px; background: var(--wash_2); cursor: pointer; transition: background-color 180ms var(--ease); }
.switch_input::after { content: ""; position: absolute; top: 4px; inset-inline-start: 4px; width: 24px; height: 24px; border-radius: 999px; background: var(--sheet); box-shadow: 0 2px 6px -2px rgba(19, 42, 82, .5); transition: inset-inline-start 180ms var(--ease); }
.switch_input:checked { background: var(--ink); }
.switch_input:checked::after { inset-inline-start: 24px; }
.strength_card { background: var(--sheet); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.strength_title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 700 21px/1.3 var(--sans); }
.field_label { font-size: 16px; font-weight: 600; }
.field_row { display: flex; gap: 8px; }
.text_field { flex: 1; min-width: 0; width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--wash_2); border-radius: 12px; background: var(--ground); color: var(--ink); font: 500 18px/1 var(--mono); text-align: left; }
.text_field:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.eye_btn { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border: 0; border-radius: 12px; background: var(--wash); color: var(--ink); cursor: pointer; }
.eye_btn[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.eye_hide, .eye_btn[aria-pressed="true"] .eye_show { display: none; }
.eye_btn[aria-pressed="true"] .eye_hide { display: block; }
.try_notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 16px; color: var(--todo); }
.try_notes:empty { display: none; }
.strength_main { padding: 22px; box-shadow: var(--shadow_lift); gap: 12px; }
.strength_main .strength_title { font-size: 24px; }
.strength_main .text_field { height: 60px; font-size: 22px; }
.strength_main .eye_btn { width: 60px; height: 60px; }
.tool_grid_check .pw_strip { align-content: start; }

@media (max-width: 399px) { .brand_mark { font-size: 14px; } .gen_out { font-size: 21px; } .pw_out { font-size: 20px; } }

/* Wider phones and tablets */
@media (min-width: 600px) {
  .main_col { padding: 20px 28px 0; }
  .bar_in { padding-inline: 24px; }
  .brand_mark i { display: inline; }
  .board_head { grid-template-columns: 1fr auto; align-items: end; }
  .board_title { font-size: 72px; }
  .tile_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile_next { display: block; }
  .phish_card { grid-template-columns: auto 1fr; align-items: center; gap: 40px; padding: 30px 36px; }
  .dev_index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
  .foot_in { padding-inline: 28px; }
  .doc_title { font-size: 48px; }
  .check_panel { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "checks demo" "takes demo"; align-items: start; gap: 30px 40px; }
  .path_steps { max-width: 260px; gap: 6px; }
  .foot_cols { gap: 0; }
  .step_btn { min-height: 44px; }
  .gen_actions .act_btn { flex: none; }
}

/* Desktop: the rail is the navigation */
@media (min-width: 1024px) {
  .guide_btn { display: none; }
  .bar_score { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 16px; padding-inline: 16px 8px; border-radius: 999px; background: var(--shell_2); text-decoration: none; font: 600 15px/1 var(--sans); }
  .bar_score b { display: grid; place-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: var(--shell); font: 600 14px/1 var(--mono); }
  .bar_score:hover { background: #283B5C; }
  .shell_grid { display: grid; grid-template-columns: 288px minmax(0, 1fr); grid-template-rows: minmax(calc(100dvh - var(--bar_h)), auto) auto; grid-template-areas: "rail main" "foot foot"; }
  .nav_rail { grid-area: rail; display: block; background: var(--sheet); }
  .rail_in { position: sticky; top: var(--bar_h); max-height: calc(100dvh - var(--bar_h)); overflow-y: auto; padding: 20px 14px 32px; scrollbar-width: thin; }
  .main_col { grid-area: main; padding: 30px 44px 0; }
  .site_foot { grid-area: foot; }
  .foot_in { padding-inline: 44px; margin-inline-start: 288px; }
  .check_board { padding: 30px 22px 22px; border-radius: 36px; }
  .board_head { padding-inline: 8px; }
  .board_title { font-size: 80px; }
  .score_num { font-size: 52px; }
  .seg_bar { margin: 22px 8px; }
  .tile_grid { gap: 12px; }
  .app_tile { padding: 18px 18px 20px; border-radius: 14px; }
  .board_link { border-radius: 999px; padding-inline: 20px 16px; width: fit-content; margin-top: 14px; }
  .home_block { margin-top: 56px; }
  .block_title { font-size: 34px; }
  .phish_card { grid-template-columns: auto minmax(0, 1fr); }
  .phish_side { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .phish_solo .phish_side { grid-template-columns: minmax(0, 1fr); }
  .home_block .pw_strip { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 24px; padding: 24px 28px; }
  .home_block .pw_strip .strip_label, .home_block .pw_strip .strip_links { grid-column: 1 / -1; }
  .home_block .pw_out { grid-column: 1; }
  .home_block .pw_facts { grid-column: 1; grid-row: 3; }
  .home_block .pw_actions { grid-column: 2; grid-row: 2; }
  .guide_rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .guide_row { align-items: start; }
  .doc_title { font-size: 52px; }
  .doc_grid { grid-template-columns: minmax(0, 680px) 220px; justify-content: space-between; gap: 48px; }
  .doc_toc { display: block; position: sticky; top: calc(var(--bar_h) + 24px); align-self: start; }
  .toc_head { margin: 0 0 8px; font: 600 15px/1.3 var(--sans); color: var(--ink_soft); }
  .doc_toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .doc_toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 15px; line-height: 1.45; text-decoration: none; color: var(--ink_soft); }
  .doc_toc a:hover, .doc_toc a.is_here { background: var(--sheet); color: var(--ink); }
  .tile_grid_quiet { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tile_grid_quiet .tile_next { display: none; }
  .tile_grid_six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile_grid_six .tile_next { display: block; }
  .tool_grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 24px; }
  .gen_well { padding: 26px 24px 18px; }
  .gen_out { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
