:root{
      --bg: #f6f7fb;
      --card: #ffffff;
      --text: #111827;
      --muted: #6b7280;
      --border: #e5e7eb;
      --primary: #2563eb;
      --primary-hover: #1d4ed8;
      --shadow: 0 10px 25px rgba(0,0,0,.06);
      --radius: 14px;
    }
    *{box-sizing:border-box}
    body{
      margin:0;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans TC", sans-serif;
      color:var(--text);
      background:var(--bg);
    }
    a{color:inherit}
    .topbar{
        max-width: 1100px;
        margin: 0 auto;
        height:64px;
        display:flex;
        align-items:center;
        justify-content:space-between;
        padding:0 20px;
    }
    .brand{
      display:flex;
      align-items:center;
      gap:10px;
      font-weight:700;
    }
    .brand-badge{
      width:34px;height:34px;border-radius:10px;
      background: linear-gradient(135deg, #60a5fa, #2563eb);
      display:inline-block;
    }
    .topbar a{
      font-size:14px;
      color:var(--muted);
      text-decoration:none;
    }
    .topbar a:hover{ text-decoration:underline; }

    .wrap{
      max-width: 1100px;
      margin: 0 auto;
      padding: 18px 20px 40px;
    }

    .grid{
      display:grid;
      grid-template-columns: 420px 1fr;
      gap: 22px;
      align-items: stretch;
    }

    .card{
      background:var(--card);
      border:1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    .card-header{
      padding:18px 18px 12px;
      border-bottom:1px solid var(--border);
    }
    .card-header h1{
      margin:0;
      font-size:18px;
      letter-spacing:.2px;
    }
    .card-body{
      padding:16px 18px 18px;
    }
    .hint{
      margin: 10px 0 16px;
      color:var(--muted);
      font-size:14px;
      line-height:1.5;
    }

    fieldset{
      border:0;
      padding:0;
      margin:0 0 14px;
    }
    legend{
      font-size:14px;
      color:var(--muted);
      margin-bottom:8px;
    }

    .choice{
      border:1px solid var(--border);
      border-radius:12px;
      padding:12px 12px;
      display:flex;
      gap:10px;
      align-items:flex-start;
      cursor:pointer;
      margin-bottom:10px;
    }
    .choice input{ margin-top:3px; }
    .choice strong{ display:block; font-size:14px; }
    .choice span{ display:block; font-size:12px; color:var(--muted); margin-top:2px; }

    .input-row{
      margin-top:10px;
    }
    label{
      display:block;
      font-size:13px;
      color:var(--muted);
      margin-bottom:6px;
    }
    input[type="email"], input[type="text"]{
      width:100%;
      border:1px solid var(--border);
      border-radius:12px;
      padding:12px 12px;
      font-size:14px;
      outline:none;
      background:#fff;
    }
    input:focus{
      border-color: rgba(37,99,235,.6);
      box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    }

    .btn{
      width:100%;
      border:0;
      border-radius:12px;
      padding:12px 14px;
      font-size:14px;
      font-weight:700;
      cursor:pointer;
    }
    .btn-primary{
      background: var(--primary);
      color:#fff;
      margin-top:12px;
    }
    .btn-primary:hover{ background: var(--primary-hover); }

    .divider{
      display:flex;
      align-items:center;
      gap:10px;
      margin: 14px 0;
      color:var(--muted);
      font-size:12px;
    }
    .divider:before, .divider:after{
      content:"";
      height:1px;
      background: var(--border);
      flex:1;
    }

    .btn-ghost{
      background: #fff;
      border:1px solid var(--border);
      color: var(--text);
    }
    .btn-ghost:hover{ background:#f9fafb; }

    .fineprint{
      margin-top:14px;
      font-size:12px;
      color:var(--muted);
      line-height:1.5;
    }

    /* Right hero */
    .hero{
      background:var(--card);
      border:1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
      display:flex;
      min-height: 420px;
    }
    .hero-inner{
      display:grid;
      grid-template-columns: 1.1fr .9fr;
      width:100%;
    }
    .hero-copy{
      padding:26px 26px 22px;
      display:flex;
      flex-direction:column;
      justify-content:center;
    }
    .hero-copy h2{
      margin:0 0 10px;
      font-size:32px;
      line-height:1.15;
      letter-spacing:.2px;
    }
    .hero-copy p{
      margin:0 0 14px;
      color:var(--muted);
      font-size:15px;
      line-height:1.7;
    }
    .hero-cta{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-top:6px;
      color: var(--primary);
      text-decoration:none;
      font-weight:700;
      font-size:14px;
    }
    .hero-cta:hover{ text-decoration:underline; }

    .hero-media{
      position:relative;
      /* background: linear-gradient(135deg, rgba(96,165,250,.25), rgba(37,99,235,.20)); */
      display:flex;
      align-items:center;
      justify-content:center;
      padding:18px;
      background-image: url('../images/hero-schedule.jpg');

    }
    .hero-media img{
      width:100%;
      max-width: 380px;
      height:auto;
      border-radius:14px;
      border:1px solid rgba(0,0,0,.08);
      background:#fff;
    }

    .portal-link{
      display:flex;
      align-items:flex-start;
      gap:12px;
      padding:14px 14px;
      margin-bottom:10px;
      border:1px solid var(--border);
      border-radius:12px;
      background:#fff;
      text-decoration:none;
      position:relative;
      transition: transform .06s ease, box-shadow .12s ease, border-color .12s ease;
    }
    .portal-link:hover{
      border-color: rgba(37,99,235,.35);
      box-shadow: 0 10px 25px rgba(0,0,0,.06);
      transform: translateY(-1px);
    }
    .portal-link:focus{
      outline:none;
      border-color: rgba(37,99,235,.6);
      box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    }
    .portal-link__title{
      font-weight:800;
      font-size:14px;
      margin-bottom:4px;
    }
    .portal-link__desc{
      font-size:12px;
      color:var(--muted);
      line-height:1.5;
    }
    .portal-link__go{
      margin-left:auto;
      font-weight:900;
      color: var(--primary);
      padding-left:10px;
    }

    @media (max-width: 980px){
      .grid{ grid-template-columns: 1fr; }
      .hero-inner{ grid-template-columns: 1fr; }
      .hero-copy h2{ font-size:26px; }
      .hero-media{ padding:14px; }
    }