@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { font-family: 'DM Sans', sans-serif; color: #183453; background: #f7f9fc; font-synthesis: none; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #ab681f; outline-offset: 4px; }
#app { max-width: 1180px; margin: auto; padding: 0 48px; }
header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #dfe5d9; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; letter-spacing: -.5px; }
.brand-mark { background: #0c4da0; color: #fff; font-size: 30px; width: 42px; height: 42px; display: grid; place-content: center; border-radius: 13px; line-height: 1; padding-bottom: 5px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; font-size: 14px; }
nav a { padding: 10px 0; color: #69766b; }
nav a:hover, nav a[aria-current] { color: #0c4da0; }
nav a[aria-current] { font-weight: 700; }
.count { display: inline-grid; place-content: center; background: #e4eadf; border-radius: 20px; min-width: 23px; height: 23px; font-size: 11px; margin-left: 4px; }
.hero { padding: 54px 0 42px; position: relative; }
.discovery-hero { display: grid; grid-template-columns: 1.7fr 1fr; align-items: center; gap: 26px; padding: 44px; margin: 30px 0 22px; background: linear-gradient(120deg, #fff, #e8f0fa); border: 1px solid #d9e5f5; border-radius: 24px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2.2px; color: #0c4da0; margin: 0 0 20px; }
h1 { font-family: 'Manrope', sans-serif; font-size: clamp(35px, 4.5vw, 56px); line-height: 1.2; letter-spacing: -2.5px; font-weight: 600; margin: 0; }
h1 em { color: #0c4da0; font-style: normal; }
.intro { font-size: 15px; color: #60758d; margin: 25px 0 0; line-height: 1.8; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #dfe5d9; padding: 30px 0 24px; }
h2 { font-family: 'Manrope', sans-serif; margin: 0; font-size: 19px; letter-spacing: -.5px; }
.list-toolbar p { color: #7d897a; font-size: 12px; margin: 4px 0 0; }
.search-box label { display: block; font-size: 11px; color: #405e7f; margin-bottom: 5px; }
input { background: #fff; border: 1px solid #cfdced; border-radius: 9px; padding: 11px 15px; width: 290px; color: #243d32; font-size: 13px; }
input::placeholder { color: #8b9486; }
.job-list { display: grid; gap: 14px; }
.job-card { background: #fff; border: 1px solid #e1e7da; border-radius: 13px; padding: 27px; display: flex; align-items: flex-start; gap: 20px; transition: border-color .2s; }
.job-card:hover { border-color: #80a9dc; }
.company-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; display: grid; place-content: center; font: 600 25px Georgia, serif; background: #e8f0fa; color: #0c4da0; }
.icon-2 { background: #f5eae2; color: #ad7955; }
.icon-3 { background: #e6edf4; color: #587694; }
.job-content { flex: 1; min-width: 0; }
.company { font-size: 12px; margin: 0 0 5px; font-weight: 600; }
.company span { font-weight: 400; color: #889180; }
h3 { font-family: 'Manrope', sans-serif; font-size: 20px; line-height: 1.4; margin: 0 0 8px; letter-spacing: -.5px; }
.description { color: #7d8775; font-size: 13px; margin: 0 0 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 10px; }
.tags span { background: #f2f5ed; color: #708261; padding: 3px 9px; border-radius: 4px; }
.tags .salary { background: none; color: #63715b; margin-left: 4px; font-size: 11px; }
.save-button { cursor: pointer; background: transparent; border: 1px solid #dce4d5; color: #6c7a60; padding: 7px 13px; border-radius: 7px; font-size: 12px; white-space: nowrap; }
.save-button:disabled { cursor: wait; opacity: .6; }
.save-button:hover, .save-button[aria-pressed='true'] { background: #e8f0fa; color: #0c4da0; border-color: #80a9dc; }
.empty { padding: 48px 24px; background: #fff; border: 1px dashed #cad7bf; border-radius: 13px; text-align: center; }
.empty p, .about-grid p { color: #74806f; font-size: 14px; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid #dfe5d9; padding-top: 36px; }
.about-grid h2 { margin-top: 14px; }
footer { margin-top: 55px; border-top: 1px solid #dfe5d9; padding: 24px 0 32px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: #87917e; }
.status-dot { display: inline-block; height: 6px; width: 6px; border-radius: 50%; background: #a5a99f; margin-right: 4px; }
#live-status[data-connected='true'] .status-dot { background: #7e9e65; }
.loading { padding: 40px 0; }
.account-panel { max-width: 640px; background: white; border: 1px solid #dfe5d9; border-radius: 14px; padding: 28px; }
.account-panel form { display: grid; gap: 10px; margin: 24px 0; }
.account-panel label { font-size: 13px; font-weight: 600; }
.account-panel input, .account-panel textarea { width: 100%; min-width: 0; }
.account-panel textarea { border: 1px solid #dce3d5; border-radius: 9px; padding: 12px; color: #243d32; resize: vertical; }
.account-panel button { justify-self: start; padding: 10px 16px; border: 1px solid #9bb18d; border-radius: 8px; color: #264d3a; background: #edf3e6; cursor: pointer; }
.account-panel button:disabled { opacity: .6; cursor: wait; }
.account-panel p { overflow-wrap: anywhere; }
.privacy-note { font-size: 12px; color: #74806f; }
.verified { font-size: 11px; color: #2d634b; }
.account-notice { padding: 12px; border: 1px solid #dce3d5; border-radius: 8px; }
.account-notice[role='alert'] { border-color: #b46f48; color: #804326; }
.japanese-heading { color: #0c4da0; font-size: 15px; font-weight: 700; margin: 0 0 12px; letter-spacing: 2px; }
.sample-label { display: inline-block; margin-top: 20px; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; color: #4d6687; border: 1px solid #cfdced; padding: 5px 10px; border-radius: 5px; }
.discovery-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.discovery-links a { background: white; border: 1px solid #d9e5f5; border-radius: 12px; padding: 18px; font-size: 13px; font-weight: 700; }
.discovery-links a:hover { border-color: #0c4da0; }
.discovery-links span { display: block; color: #0c4da0; font-size: 9px; letter-spacing: 1.5px; margin-bottom: 6px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; padding: 0 0 24px; }
.filter-row label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.filter-row select { width: 220px; max-width: 100%; background: white; color: #183453; border: 1px solid #cfdced; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 12px; }
.filter-row button { border: 0; color: #0c4da0; background: #e8f0fa; border-radius: 8px; padding: 11px 16px; cursor: pointer; font-size: 12px; }
.filter-row p { flex-basis: 100%; margin: 0; font-size: 11px; color: #60758d; }
.local-art { height: 260px; position: relative; overflow: hidden; border-radius: 100px 100px 24px 24px; background: #dce9f9; }
.art-sun { position: absolute; right: 25px; top: 25px; height: 62px; width: 62px; border-radius: 50%; background: #f3bc62; }
.art-building { position: absolute; bottom: 65px; background: repeating-linear-gradient(90deg, transparent 0 15px, #ffffff6b 16px 20px, transparent 21px 32px), #0c4da0; border-radius: 9px 9px 0 0; }
.art-building-one { left: 22%; height: 105px; width: 25%; }
.art-building-two { left: 51%; height: 150px; width: 29%; background-color: #5387c6; }
.art-river { position: absolute; bottom: 48px; height: 30px; width: 100%; background: repeating-linear-gradient(0deg, #afcfee 0 5px, #d6e7fa 6px 9px); }
.art-caption { position: absolute; bottom: 12px; left: 20px; font-size: 9px; font-weight: 700; line-height: 1.6; letter-spacing: 2px; color: #0c4da0; }
.skip-link { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip-path: none; padding: 12px; background: white; z-index: 20; }
footer a { text-decoration: underline; text-underline-offset: 3px; }
@supports (view-transition-name: match-element) {
   :root { view-transition-name: none; }
   #app :where(main, section, article, aside, [data-morph-fade]) { view-transition-name: match-element; }
   ::view-transition { pointer-events: none; }
   ::view-transition-group(*),
   ::view-transition-old(*),
   ::view-transition-new(*) { animation: none; mix-blend-mode: normal; }
   ::view-transition-old(*) { display: none; }
   ::view-transition-old(*):only-child { display: block; animation: morph-retire 140ms ease-out both; }
   ::view-transition-new(*):only-child { animation: morph-arrive 160ms ease-out both; }
}
@keyframes morph-retire { to { opacity: 0; } }
@keyframes morph-arrive { from { opacity: 0; } }

@media (max-width: 700px) {
   #app { padding: 0 22px; }
   header { padding: 22px 0; flex-wrap: wrap; gap: 18px; }
   nav { gap: 10px 18px; }
   .brand { font-size: 16px; }
   .hero { padding: 48px 0 40px; }
   .discovery-hero { grid-template-columns: 1fr; padding: 26px; margin-top: 22px; }
   .local-art { display: none; }
   .discovery-links { grid-template-columns: 1fr; gap: 10px; }
   .filter-row { align-items: stretch; }
   .filter-row > div { width: 100%; }
   .filter-row select { width: 100%; }
   h1 { letter-spacing: -1.5px; }
   .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
   .list-toolbar { align-items: stretch; flex-direction: column; gap: 16px; }
   input { width: 100%; }
   .job-card { padding: 20px; gap: 14px; flex-wrap: wrap; }
   .company-icon { width: 38px; height: 38px; font-size: 21px; }
   .job-content { flex-basis: calc(100% - 52px); }
   .save-button { margin-left: 52px; }
   h3 { font-size: 18px; }
   .company span { display: block; }
   .tags .salary { margin-left: 0; padding-left: 0; }
   .about-grid { grid-template-columns: 1fr; }
   footer { flex-direction: column; gap: 8px; }
}
