/*
 * bold 风格（醒目）：深色大标题 + 白色表单卡片。
 *   - 标题用 Archivo 特粗，正文 Figtree
 *   - 页头和横幅是深色（配色的 --brand-deep），插画换成亮色（--accent）
 *   - 胶囊形的选项和按钮；输入框是浅色填充、没有边框；主提交按钮用强调色
 *   - 手机 / 平板：深色横幅通栏，表单卡片压在横幅下沿
 *   - 电脑（≥1000px）：左边深色面板固定不动（标题 + 插画），右边一列表单滚动
 *
 * 排在 style.css 后面加载，只写和它不一样的地方；颜色全部用 style.css 里的变量，所以四套配色都能配。
 * 每条规则都以 [data-style="bold"] 开头，优先级高于 style.css 里的同名规则。
 */
@font-face{
  font-family:"Archivo";font-style:normal;font-weight:100 900;font-display:swap;
  src:url("fonts/archivo-latin-wght-normal.woff2") format("woff2");
}

:root[data-style="bold"]{
  --display:"Archivo","Figtree",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --r-card:24px; --r-box:18px; --r-btn:999px; --r-field:14px; --r-ico:50%;
  --hero:var(--brand-deep);              /* 深色面板的底色 */
  --on-hero:#fff;                        /* 深色面板上的标题 */
  --on-hero-soft:rgba(255,255,255,.76);  /* 深色面板上的次要文字 */
}

[data-style="bold"] h1,
[data-style="bold"] h2,
[data-style="bold"] h3{font-weight:800;letter-spacing:-.03em}

/* ---- 页头：深色 ---- */
[data-style="bold"] .site-header{background:var(--hero);border-bottom:0}
[data-style="bold"] .logo{font-weight:800;color:var(--on-hero)}
[data-style="bold"] .logo-mark,
[data-style="bold"] .logo-text span{color:var(--accent)}
[data-style="bold"] .badge{color:var(--on-hero-soft)}
[data-style="bold"] .badge:hover{color:var(--on-hero)}
[data-style="bold"] .site-header :focus-visible{outline-color:var(--accent)}

/* ---- 横幅：深色通栏 ---- */
[data-style="bold"] .page{padding-top:0}
[data-style="bold"] .col{max-width:none;padding:0}
[data-style="bold"] .banner{
  min-height:0;border-radius:0;background:var(--hero);
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  padding:8px max(20px,calc((100% - 680px) / 2)) 44px;
  /* 插画在深色底上：背景元素用半透明白，主体（车身 / 屋顶）用强调色 */
  --il-halo:rgba(255,255,255,.07); --il-leaf:rgba(255,255,255,.13); --il-stem:rgba(255,255,255,.24);
  --il-ground:rgba(255,255,255,.08); --il-edge:rgba(255,255,255,.22);
  --il-glass:var(--hero); --il-wall:#fff; --il-pane:var(--mist); --il-dark:#07090a; --il-accent:var(--brand);
}
[data-style="bold"] .banner .il-brand{fill:var(--accent)}
[data-style="bold"] .banner .il-deep{fill:rgba(0,0,0,.3)}
[data-style="bold"] .banner .il-line-deep{stroke:rgba(0,0,0,.3)}
[data-style="bold"] .banner .il-ground{fill:var(--hero)}   /* 轮拱：和面板底色一样，才像挖出来的 */
[data-style="bold"] .banner-copy{padding:22px 0 20px}
[data-style="bold"] .banner h1{color:var(--on-hero);font-size:clamp(31px,8.2vw,46px);line-height:1}
[data-style="bold"] .banner .sub{margin-top:14px;color:var(--on-hero-soft)}

/* ---- 表单卡片：压在横幅下沿 ---- */
[data-style="bold"] .card{
  position:relative;width:calc(100% - 24px);max-width:680px;margin:-30px auto 0;border:0;
  box-shadow:0 2px 4px rgba(0,0,0,.05),0 28px 56px -28px var(--shadow);
}
[data-style="bold"] .sec-ico{width:42px;height:42px}
[data-style="bold"] .sec-title{font-weight:800;font-size:23px;letter-spacing:-.03em}

/* 输入框：浅色填充，没有边框；选中时才出现描边 */
[data-style="bold"] input,
[data-style="bold"] select{height:54px;border-color:transparent;background-color:var(--mist-2)}
[data-style="bold"] input:hover,
[data-style="bold"] select:hover{border-color:var(--field)}
[data-style="bold"] input:focus,
[data-style="bold"] select:focus{border-color:var(--brand);background-color:var(--surface)}
[data-style="bold"] input::placeholder{color:var(--muted)}   /* 填充底色上，示例文字要深一档才看得清 */
[data-style="bold"] select:disabled{opacity:.6}
[data-style="bold"] select:disabled:hover{border-color:transparent}
[data-style="bold"] .has-err input,
[data-style="bold"] .has-err select{border-color:var(--danger)}
[data-style="bold"] .f > label,
[data-style="bold"] .q{font-weight:700}
[data-style="bold"] .qrow > .q,
[data-style="bold"] .qrow > label{font-weight:600}

/* 选项：胶囊 */
[data-style="bold"] .seg button{min-width:72px;height:48px;border-width:1.5px;border-radius:999px;font-weight:700}
[data-style="bold"] .seg4 button{min-width:0}

/* 车辆：不要底色框（输入框自己已经是填充的） */
[data-style="bold"] .vehicle{padding:0;border-radius:0;background:none}
[data-style="bold"] .vehicle + .vehicle{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
[data-style="bold"] .add-vehicle{margin-top:16px;border:1.5px solid var(--field);border-radius:999px}
[data-style="bold"] .add-vehicle:hover{border-color:var(--brand)}

/* 提交：主按钮用强调色，第二个按钮描边 */
[data-style="bold"] .btn{min-height:60px;border-color:var(--accent);background:var(--accent);color:var(--on-accent);font-weight:800;font-size:17.5px}
[data-style="bold"] .btn:hover{border-color:var(--accent);background:var(--accent);filter:brightness(.94)}
[data-style="bold"] .btn-outline{border-color:var(--brand);background:transparent;color:var(--brand)}
[data-style="bold"] .btn-outline:hover{border-color:var(--brand);background:var(--mist);color:var(--brand-deep);filter:none}
[data-style="bold"] .btn-sm{border-radius:999px}

/* ---- 说明 ---- */
[data-style="bold"] .how{margin-top:64px}
[data-style="bold"] .cols > div{border-top-width:3px}
[data-style="bold"] .cols > div::before{font-weight:800;font-size:34px}
[data-style="bold"] .cols h3{font-size:20px}
[data-style="bold"] .page{padding-bottom:0}

@media(max-width:560px){
  /* 手机上不放开插画：标题独占整行才放得下（H1 一行显示） */
  [data-style="bold"] .banner{padding:0 16px 40px;grid-template-columns:minmax(0,1fr)}
  [data-style="bold"] .banner-art{display:none}
  [data-style="bold"] .banner h1{font-size:clamp(13.5px,4.7vw,21px);letter-spacing:-.03em}
  [data-style="bold"] .banner .sub{display:none}
  [data-style="bold"] .banner-copy{padding:18px 0 16px}
  [data-style="bold"] .seg button{min-width:62px}
  [data-style="bold"] .seg4 button{min-width:0}
}

/* ---- 电脑：左边固定的深色面板，右边表单 ---- */
@media(min-width:1000px){
  /* 页头叠在最上面：logo 落在深色面板上，「Form privacy」落在右边浅色区域 */
  [data-style="bold"] .site-header{position:absolute;top:0;left:0;right:0;z-index:2;background:none}
  [data-style="bold"] .site-header .wrap{max-width:none;height:84px;padding:0 44px 0 56px}
  [data-style="bold"] .badge{color:var(--muted)}
  [data-style="bold"] .badge:hover{color:var(--ink)}

  [data-style="bold"] .col{display:grid;grid-template-columns:minmax(420px,42%) minmax(0,1fr);align-items:start}
  [data-style="bold"] .banner{
    position:sticky;top:0;height:100vh;min-height:520px;
    display:flex;flex-direction:column;justify-content:space-between;padding:0;
  }
  [data-style="bold"] body.is-done .banner{display:flex}   /* 提交后左边面板还在 */
  /* 上边距和标题字号跟着屏幕高度收缩：矮屏幕（常见的 1366×768 笔记本）上也要给插画留出位置 */
  [data-style="bold"] .banner-copy{flex:none;padding:clamp(100px,17vh,148px) 48px 0 56px}
  [data-style="bold"] .banner h1{font-size:clamp(38px,min(4.6vw,8vh),70px);line-height:.98;max-width:none}
  [data-style="bold"] .banner .sub{margin-top:clamp(14px,2.4vh,22px);max-width:25em;font-size:clamp(16px,2.4vh,19px);line-height:1.5}
  /* 插画占掉剩下的高度，在里面等比缩放、靠右下 —— 面板再矮也不会被裁掉 */
  [data-style="bold"] .banner-art{flex:1 1 0;min-height:0;margin-top:20px;align-items:stretch;justify-content:flex-end}
  [data-style="bold"] .banner-art svg{width:min(84%,440px);height:auto;max-width:none}

  [data-style="bold"] .card,
  [data-style="bold"] body.is-done .card{width:min(640px,calc(100% - 96px));margin:104px auto 80px}
  [data-style="bold"] .sec{padding:32px 40px 36px}
  [data-style="bold"] .sec + .sec{border-top:1px solid var(--line)}
  [data-style="bold"] .sec-title{font-size:25px}
  [data-style="bold"] .done{padding:44px 40px 40px}
  [data-style="bold"] .how{margin-top:0}
}
