/* Ink Agent Portal — design system (v1.2.0)
   Light editorial Ink language, elevated: deep-navy hero, floating paper,
   bronze-ring stats, toolkit cards. Playfair Display + Montserrat. */
.ink-ap { max-width: 760px; margin: 0 auto; padding: 24px 16px 56px; font-family: Montserrat, Arial, Helvetica, sans-serif; color: #232323; line-height: 1.65; }
.ink-ap h1, .ink-ap h2, .ink-ap h3, .ink-ap-hero-title { font-family: 'Playfair Display', Georgia, serif; }
.ink-ap-kicker { font-family: Montserrat, Arial, sans-serif; font-size: 11px; letter-spacing: 3px; color: #846C42; margin: 0 0 8px; font-weight: 600; }
.ink-ap-kicker-light { color: #D8BE8C; }
.ink-ap-h1 { font-size: 32px; color: #0F2B5B; margin: 0 0 12px; font-weight: 600; }
.ink-ap-h2 { font-size: 23px; color: #0F2B5B; border-bottom: 2px solid #A98A54; padding-bottom: 6px; margin: 38px 0 12px; font-weight: 600; }
.ink-ap-lede { font-size: 16px; color: #3d3d3d; }
.ink-ap a { color: #1E4E9E; }

/* — Hero — */
.ink-ap-hero { position: relative; overflow: hidden; background: radial-gradient(1100px 480px at 85% -10%, rgba(169,138,84,.38), rgba(169,138,84,0) 60%), linear-gradient(140deg, #0F2B5B 0%, #173E7E 55%, #1E4E9E 100%); border-radius: 14px; padding: 52px 42px 46px; color: #FAF7F1; box-shadow: 0 24px 48px rgba(15,43,91,.28); animation: ink-ap-rise .8s ease both; }
.ink-ap-hero-title { font-size: 52px; line-height: 1.05; margin: 6px 0 16px; font-weight: 600; color: #FAF7F1; }
.ink-ap-hero-title em { font-style: italic; color: #E9D9B4; }
.ink-ap-hero-sub { font-size: 16.5px; max-width: 560px; color: #EDEBE4; }
.ink-ap-hero-value { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 17px; color: #E9D9B4; border-left: 3px solid #A98A54; padding-left: 14px; margin: 22px 0 26px; max-width: 540px; }
.ink-ap-hero-cta { margin: 0; }

/* — Stat chips — */
.ink-ap-stats { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 6px; }
.ink-ap-stat { flex: 1 1 200px; background: #FAF7F1; border: 1px solid #E6DDCF; border-radius: 12px; padding: 20px 18px; text-align: center; box-shadow: 0 6px 18px rgba(15,43,91,.06); animation: ink-ap-rise .8s ease both; }
.ink-ap-stat-num { display: inline-flex; align-items: center; justify-content: center; min-width: 86px; height: 86px; padding: 0 12px; border: 2px solid #A98A54; border-radius: 50%; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; color: #0F2B5B; margin-bottom: 10px; box-sizing: border-box; }
.ink-ap-stat-num small { font-size: 13px; color: #846C42; margin: 0 3px; }
.ink-ap-stat-label { display: block; font-size: 12.5px; color: #555; line-height: 1.5; }

/* — The brief as paper — */
.ink-ap-paper { background: linear-gradient(180deg, #FFFDF8, #FAF7F1); border: 1px solid #E6DDCF; border-top: 4px solid #A98A54; border-radius: 8px; padding: 30px 34px; margin: 18px 0 8px; box-shadow: 0 30px 50px rgba(15,43,91,.16); animation: ink-ap-rise .9s ease both; }
.ink-ap-brief-title { color: #0F2B5B; margin: 0 0 12px; font-size: 21px; font-weight: 600; }
.ink-ap-paper p { font-size: 14.5px; }
.ink-ap-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 10px 0 14px; }
.ink-ap-table th { text-align: left; color: #0F2B5B; padding: 6px; border-bottom: 2px solid #A98A54; font-weight: 600; }
.ink-ap-table td { padding: 6px; border-bottom: 1px solid #E6DDCF; }

/* — Toolkit cards — */
.ink-ap-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.ink-ap-card { background: #fff; border: 1px solid #E6DDCF; border-radius: 12px; padding: 22px 22px 16px; transition: transform .25s ease, box-shadow .25s ease; }
.ink-ap-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(15,43,91,.12); }
.ink-ap-card h3 { color: #0F2B5B; font-size: 18px; margin: 0 0 8px; font-weight: 600; }
.ink-ap-card p { font-size: 14px; color: #444; margin: 0 0 8px; }
@media (max-width: 620px) { .ink-ap-cards { grid-template-columns: 1fr; } .ink-ap-hero { padding: 38px 24px 34px; } .ink-ap-hero-title { font-size: 38px; } .ink-ap-paper { padding: 24px 20px; } }

/* — Join band — */
.ink-ap-join { margin-top: 40px; background: #0F2B5B; color: #FAF7F1; border-radius: 14px; padding: 34px 36px; box-shadow: 0 20px 40px rgba(15,43,91,.25); }
.ink-ap-join-title { color: #FAF7F1; border: 0; margin: 0 0 8px; font-size: 24px; }
.ink-ap-join a { color: #E9D9B4; font-weight: 600; }

/* — Buttons — */
.ink-ap-btn { display: inline-block; background: #0F2B5B; color: #FAF7F1 !important; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-family: Montserrat, Arial, sans-serif; font-size: 14px; font-weight: 600; border: 0; cursor: pointer; margin: 4px 8px 4px 0; transition: transform .2s ease, box-shadow .2s ease; }
.ink-ap-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(15,43,91,.22); }
.ink-ap-btn-bronze { background: #A98A54; color: #fff !important; }
.ink-ap-btn-ghost { background: transparent; color: #FAF7F1 !important; border: 1px solid rgba(250,247,241,.7); }
.ink-ap-btn-quiet { background: transparent; color: #0F2B5B !important; border: 1px solid #0F2B5B; }

/* — Forms / library / sign-in (carried from v1.1.x) — */
.ink-ap-form label { display: block; font-size: 13px; margin: 12px 0 4px; color: #333; font-weight: 600; }
.ink-ap-form input, .ink-ap-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #C9BFA9; border-radius: 8px; font-size: 15px; background: #fff; box-sizing: border-box; font-family: Montserrat, Arial, sans-serif; }
.ink-ap-success { background: #EFF6EC; border: 1px solid #9DBE94; padding: 12px 16px; border-radius: 8px; }
.ink-ap-error { background: #FBEFEA; border: 1px solid #D89A86; padding: 12px 16px; border-radius: 8px; }
.ink-ap-brief-list { list-style: none; padding: 0; }
.ink-ap-brief-list li { padding: 12px 0; border-bottom: 1px solid #E6DDCF; font-size: 16px; }
.ink-ap-appt, .ink-ap-appt-line { color: #666; font-size: 14px; }
.ink-ap-back { margin-top: 28px; font-size: 13px; }
.ink-ap-signin { max-width: 460px; }
.ink-ap-remember { display: flex !important; align-items: center; gap: 8px; font-size: 13.5px !important; font-weight: 400 !important; }
.ink-ap-remember input { width: auto !important; }
.ink-ap-signin-alt { font-size: 14px; margin-top: 16px; }

@keyframes ink-ap-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.ink-ap-paper { animation-name: ink-ap-rise; }
@media (prefers-reduced-motion: reduce) { .ink-ap-hero, .ink-ap-stat, .ink-ap-paper { animation: none; } }

/* — The full brief, styled as the document itself (v1.3.0) — */
.ink-ap-brief-note { font-size: 14px; color: #333; padding-bottom: 12px; border-bottom: 1px solid #E6DDCF; margin: 0 0 16px; }
.ink-ap-brief-head { font-size: 14.5px; margin: 0 0 6px; }
.ink-ap-brief-h { font-family: 'Playfair Display', Georgia, serif; font-size: 18.5px; color: #0F2B5B; border-bottom: 2px solid #A98A54; padding-bottom: 4px; margin: 24px 0 10px; font-weight: 600; }
.ink-ap-brief-foot { border-top: 1px solid #E6DDCF; padding-top: 12px; font-size: 13.5px; color: #444; margin-top: 22px; }

.ink-ap-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 620px) { .ink-ap-table { font-size: 12px; } .ink-ap-table th, .ink-ap-table td { padding: 5px 4px; } }

/* — Brief table: the document's ruled style, theme-proof (v1.3.2) — */
.ink-ap-paper .ink-ap-table { border: 0; }
.ink-ap-paper .ink-ap-table th, .ink-ap-paper .ink-ap-table td { border-left: 0; border-right: 0; border-top: 0; }
