:root {
  --blue: #0f5cff;
  --blue-deep: #073fc9;
  --ink: #061536;
  --muted: #5f687c;
  --line: #dfe6f3;
  --panel: rgba(255, 255, 255, 0.92);
  --soft: #eef5ff;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow: 0 18px 48px rgba(15, 58, 125, 0.16);
  --soft-shadow: 0 12px 34px rgba(15, 58, 125, 0.12);
  --button-shadow: 0 16px 30px rgba(15, 92, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  --font-en: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ja: "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: #dfe9f7;
  color: var(--ink);
  font-family: var(--font-en);
}

html:lang(ja) body {
  font-family: var(--font-ja);
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.phone-shell {
  position: relative;
  width: min(100%, 440px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 89% 17%, rgba(15, 92, 255, 0.16) 0 18%, transparent 19%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 58%, #ffffff 100%);
  box-shadow: 0 0 0 1px rgba(13, 31, 69, 0.06), 0 32px 80px rgba(6, 21, 54, 0.25);
}

.screen {
  display: none;
  min-height: calc(100dvh - 78px);
  padding: max(26px, env(safe-area-inset-top)) 26px 110px;
}

.screen.active {
  display: block;
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.location-pill,
.lang-toggle,
.bell,
.service-chip,
.nav-item,
.sheet-close,
.home-profile button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.location-pill {
  display: grid;
  grid-template-columns: 34px 1fr 13px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
  text-align: left;
}

.location-pill strong {
  display: block;
  color: #101c37;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
}

.location-pill small {
  display: block;
  margin-top: 4px;
  color: #071638;
  font-size: 18px;
  font-weight: 850;
  white-space: nowrap;
}

.bell {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(207, 218, 237, 0.9);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.lang-toggle {
  min-width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(207, 218, 237, 0.9);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(18px);
}

.lang-code {
  display: block;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
}

.badge {
  position: absolute;
  top: -1px;
  right: -2px;
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 999px;
  background: #fa3b49;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 378px;
  margin-top: 22px;
}

/* .hero::after {
  content: "";
  position: absolute;
  right: -174px;
  top: 20px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 40%, rgba(255, 255, 255, 0.6), transparent 34%),
    rgba(15, 92, 255, 0.1);
} */

.hero-copy {
  position: relative;
  z-index: 2;
  width: 66%;
}

 .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    margin: 0;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;

    color: #fff;
    background: linear-gradient(180deg,#3f8cff,#1f6dff);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(37,99,235,.28);
    letter-spacing: -.3px;
}

.brand span{
    font-weight: 900;
}
.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 13px 0 14px;
  font-size: clamp(52px, 14.4vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--blue);
}

.subhead {
  max-width: 250px;
  margin-bottom: 16px;
  color: #46516a;
  font-size: 17px;
  line-height: 1.35;
}

.hero-kicker {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-top: 10px;
  padding: 0;
  border-radius: 0;
  color: var(--blue);
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  font-weight: 900;
}

.primary-cta,
.mini-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1469ff, #084be7);
  box-shadow: var(--button-shadow);
  font-weight: 850;
  cursor: pointer;
}

.primary-cta {
  min-width: 188px;
  padding: 0 25px;
  font-size: 18px;
}

.primary-cta.wide {
  width: 100%;
}

.primary-cta,
.mini-cta,
.urgent-btn,
.lang-toggle,
.bell,
.service-chip,
.nav-item {
  will-change: transform;
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.mini-cta {
  min-width: 136px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 15px;
  font-size: 16px;
}

.ui-icon,
.cta-arrow,
.service-icon,
.trust-icon,
.nav-icon,
.urgent-icon,
.today-icon {
  display: block;
  object-fit: contain;
  object-position: center;
}

.location-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 4px 8px rgba(15, 92, 255, 0.18));
}

.bell-img {
  width: 39px;
  height: 39px;
  margin: 7px auto;
  filter: drop-shadow(0 5px 10px rgba(6, 21, 54, 0.12));
}

.search-img {
  width: 27px;
  height: 27px;
}

.chevron-img {
  width: 13px;
  height: 13px;
  opacity: 0.55;
  transform: rotate(90deg);
}

.cta-arrow {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
}

.hero-tech {
  position: absolute;
  z-index: 1;
  right: -8px;
  bottom: -1px;
  width: 319px;
  height: 405px;
  object-fit: cover;
  object-position: 53% 25%;
  /* filter: drop-shadow(0 24px 44px rgba(22, 58, 116, 0.18));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%); */
}

.rating-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  width: min(100%, 296px);
  max-width: 100%;
  margin-top: 9px;
  padding: 7px 10px;
  border: 1px solid rgba(222, 230, 244, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.hero-metrics span {
  min-height: 28px;
  padding: 6px 13px;
  border-radius: 999px;
  color: #18345f;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 16px rgba(15, 58, 125, 0.09);
  font-size: 12px;
  font-weight: 900;
}

.avatars {
  display: flex;
}

.avatars span,
.avatar {
  display: block;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #134278, #59b9ff);
  box-shadow: 0 8px 18px rgba(6, 21, 54, 0.16);
}

.avatars span + span {
  margin-left: -12px;
}

.avatars span:nth-child(2) {
  background: linear-gradient(135deg, #0d1c38, #d59d71);
}

.avatars span:nth-child(3) {
  background: linear-gradient(135deg, #f2b24b, #fff0d3);
}

.stars {
  display: block;
  width: 76px;
  height: 19px;
  object-fit: contain;
  object-position: left center;
}

.rating-row strong {
  font-size: 15px;
}

.rating-row small {
  color: #4d5870;
}

.service-card,
.estimate-card,
.today-card,
.booking-card,
.message-card,
.profile-card,
.home-profile,
.sheet-card {
  border: 1px solid rgba(208, 219, 237, 0.86);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.service-card {
  position: relative;
  z-index: 4;
  margin-top: 10px;
  padding: 20px 16px 17px;
}

.urgent-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 86px;
  margin-top: 0;
  padding: 14px 16px;
  border: 1px solid rgba(208, 219, 237, 0.86);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 240, 255, 0.95));
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.urgent-icon,
.today-icon {
  display: block;
  width: 58px;
  height: 58px;
  padding: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e7f1ff, #ffffff);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(15, 58, 125, 0.11);
  object-fit: contain;
}

.urgent-strip strong,
.urgent-strip span {
  display: block;
}

.urgent-strip strong {
  margin-bottom: 3px;
  font-size: 18px;
  line-height: 1.08;
}

.urgent-strip span {
  color: var(--muted);
  font-size: 14px;
}

.urgent-btn {
  min-width: 72px;
  min-height: 48px;
  border: 1px solid rgba(15, 92, 255, 0.84);
  border-radius: 15px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 #fff;
  font-weight: 900;
  cursor: pointer;
}

.service-card h2,
.why h2,
.today-card h2,
.estimate-card h2,
.panel-head h1 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: 0;
}

.search-box {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.service-chip {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-height: 92px;
  padding: 0 2px;
  color: var(--ink);
  font-weight: 730;
  line-height: 1.08;
  border-radius: 8px;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.service-chip:active {
  transform: translateY(1px) scale(0.98);
}

.service-chip span:last-child {
  min-height: 28px;
  font-size: 14px;
}

.service-icon {
  width: 58px;
  height: 58px;
  padding: 9px;
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 235, 249, 0.95));
  box-shadow: inset 0 1px 0 #fff, 0 10px 22px rgba(15, 58, 125, 0.11);
}

.selected .service-icon {
  background: linear-gradient(145deg, #eaf3ff, #ffffff);
  outline: 2px solid rgba(15, 92, 255, 0.18);
  box-shadow: inset 0 1px 0 #fff, 0 12px 24px rgba(15, 92, 255, 0.22);
}

.service-chip.selected {
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.8), rgba(255, 255, 255, 0));
}

.service-badge {
  position: absolute;
  top: -7px;
  left: 50%;
  min-width: 48px;
  min-height: 19px;
  padding: 3px 6px 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ffb02e, #ff7b35);
  box-shadow: 0 6px 12px rgba(255, 123, 53, 0.22);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
}

.estimate-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 18px;
}

.estimate-card h2 {
  margin-bottom: 5px;
  font-size: 20px;
}

.estimate-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.price-lock {
  display: grid;
  place-items: center;
  min-width: 94px;
  min-height: 78px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #134df1, #0879ff);
}

.price-lock strong {
  font-size: 18px;
}

.price-lock small {
  font-size: 11px;
  opacity: 0.86;
}

.why {
  margin-top: 10px;
  padding: 17px 14px 18px;
  border: 1px solid rgba(208, 219, 237, 0.86);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-grid article {
  min-height: 84px;
  padding: 4px 7px 0;
  border: 0;
  border-left: 1px solid rgba(208, 219, 237, 0.9);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.trust-grid article:first-child {
  border-left: 0;
}

.trust-grid h3 {
  margin: 6px 0 2px;
  font-size: 13px;
  line-height: 1.05;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
}

.today-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(132px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 106px;
  margin-top: 10px;
  padding: 14px 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(236, 245, 255, 0.98), rgba(255, 255, 255, 0.94));
}

.today-card h2 {
  margin-bottom: 5px;
  max-width: 132px;
  font-size: 18px;
  line-height: 1.08;
}

.today-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  max-width: 160px;
}

.today-icon {
  width: 54px;
  height: 54px;
}

.today-card .cta-arrow {
  width: 19px;
  height: 19px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 440px);
  height: 84px;
  transform: translateX(-50%);
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(216, 225, 241, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(22px);
}

.flow-active .bottom-nav {
  display: none;
}

.flow-active .screen {
  padding-bottom: 104px;
}

.nav-item {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: #606b7f;
  font-size: 12px;
  font-weight: 680;
  border-radius: 16px;
  margin: 8px 7px 12px;
}

.nav-item.active {
  color: var(--blue);
  background: transparent;
  box-shadow: none;
}

.nav-icon {
  width: 29px;
  height: 29px;
  opacity: 0.5;
  filter: saturate(0.45);
}

.nav-item.active .nav-icon {
  opacity: 1;
  filter: saturate(1.12);
}

@media (hover: hover) {
  .primary-cta:hover,
  .mini-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(15, 92, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  }

  .primary-cta.sticky-action:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .urgent-btn:hover {
    transform: translateY(-1px);
    background: rgba(239, 246, 255, 0.9);
    border-color: var(--blue);
  }

  .service-chip:hover,
  .lang-toggle:hover,
  .bell:hover,
  .nav-item:hover {
    transform: translateY(-1px);
  }
}

.panel-head {
  margin-bottom: 28px;
}

.panel-head h1 {
  margin-top: 6px;
  font-size: 42px;
}

.request-head {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.request-head h1 {
  margin: 4px 0 0;
  font-size: 34px;
  line-height: 1.02;
}

.back-btn {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(15, 58, 125, 0.12);
  cursor: pointer;
}

.back-btn img {
  width: 24px;
  height: 24px;
  transform: rotate(180deg);
}

.request-panel,
.request-summary {
  margin-top: 12px;
  border: 1px solid rgba(208, 219, 237, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(15, 58, 125, 0.11);
  backdrop-filter: blur(18px);
}

.request-panel {
  padding: 14px;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.step-label span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.step-label strong {
  font-size: 16px;
}

.issue-grid,
.urgency-grid {
  display: grid;
  gap: 8px;
}

.issue-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.issue-chip,
.urgency-chip {
  min-height: 46px;
  border: 1px solid #dbe6f5;
  border-radius: 8px;
  background: #f7fbff;
  color: var(--ink);
  font-weight: 820;
  cursor: pointer;
}

.issue-chip.selected,
.urgency-chip.selected {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #1469ff, #084be7);
  box-shadow: 0 10px 20px rgba(15, 92, 255, 0.2);
}

.photo-upload,
.address-box {
  display: grid;
  align-items: center;
  border: 1px solid #dbe6f5;
  border-radius: 8px;
  background: #f7fbff;
}

.photo-upload {
  grid-template-columns: 54px 1fr;
  gap: 12px;
  min-height: 70px;
  padding: 10px 12px;
  cursor: pointer;
}

.photo-upload input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-plus {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: #e8f1ff;
  font-size: 34px;
  font-weight: 760;
  line-height: 1;
}

.photo-upload strong,
.photo-upload small {
  display: block;
}

.photo-upload small {
  margin-top: 4px;
  color: var(--muted);
}

.urgency-grid {
  grid-template-columns: repeat(3, 1fr);
}

.address-box {
  grid-template-columns: 32px 1fr;
  gap: 8px;
  height: 52px;
  padding: 0 12px;
}

.address-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 760;
}

.request-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
}

.request-summary h2 {
  margin: 4px 0 5px;
  font-size: 19px;
  line-height: 1.05;
}

.request-summary p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.request-summary strong {
  display: grid;
  min-width: 88px;
  min-height: 58px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #134df1, #0879ff);
}

.sticky-action {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 5;
  margin-top: 14px;
  transform: translateX(-50%);
}

.primary-cta.sticky-action {
  width: min(calc(100vw - 44px), 396px);
  max-width: 396px;
}

.primary-cta.sticky-action:hover,
.primary-cta.sticky-action:focus-visible {
  transform: translateX(-50%) translateY(-2px);
}

html:lang(ja) .location-pill strong {
  font-size: 11px;
  font-weight: 700;
}

html:lang(ja) .location-pill small {
  font-size: 17px;
  font-weight: 760;
}

html:lang(ja) .brand {
  font-family: var(--font-ja);
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
}

html:lang(ja) .hero-copy {
  width: 64%;
}

html:lang(ja) .hero-kicker {
  max-width: 230px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

html:lang(ja) .hero h1 {
  margin: 12px 0 13px;
  font-size: clamp(36px, 10.6vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

html:lang(ja) .subhead {
  max-width: 222px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

html:lang(ja) .primary-cta,
html:lang(ja) .mini-cta {
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0;
}

html:lang(ja) .primary-cta {
  min-width: 156px;
  padding: 0 20px;
}

html:lang(ja) .hero-metrics span,
html:lang(ja) .rating-row strong,
html:lang(ja) .urgent-btn,
html:lang(ja) .price-lock strong {
  font-weight: 720;
}

html:lang(ja) .hero-metrics span {
  font-size: 11px;
  padding-inline: 11px;
}

html:lang(ja) .service-card h2,
html:lang(ja) .why h2,
html:lang(ja) .today-card h2,
html:lang(ja) .estimate-card h2,
html:lang(ja) .panel-head h1 {
  font-weight: 760;
  line-height: 1.24;
}

html:lang(ja) .urgent-strip strong {
  font-size: 15px;
  font-weight: 760;
  line-height: 1.25;
}

html:lang(ja) .urgent-strip span,
html:lang(ja) .estimate-card p:not(.eyebrow),
html:lang(ja) .booking-card p,
html:lang(ja) .message-card p,
html:lang(ja) .profile-card p {
  font-size: 13px;
  line-height: 1.45;
}

html:lang(ja) .service-chip {
  font-weight: 700;
  line-height: 1.2;
}

html:lang(ja) .service-chip span:last-child {
  min-height: 32px;
  font-size: 12px;
  line-height: 1.25;
}

html:lang(ja) .service-badge {
  min-width: 46px;
  padding-top: 4px;
  font-size: 9px;
  font-weight: 760;
}

html:lang(ja) .trust-grid h3 {
  font-size: 12px;
  font-weight: 720;
  line-height: 1.18;
}

html:lang(ja) .trust-grid p {
  font-size: 10px;
  line-height: 1.25;
}

html:lang(ja) .today-card {
  grid-template-columns: 54px minmax(126px, 1fr) auto;
}

html:lang(ja) .today-card h2 {
  max-width: 140px;
  font-size: 16px;
  line-height: 1.22;
}

html:lang(ja) .today-card p {
  max-width: 155px;
  font-size: 11px;
  line-height: 1.38;
}

html:lang(ja) .nav-item {
  font-size: 11px;
  font-weight: 640;
}

html:lang(ja) .request-head h1 {
  font-size: 30px;
  font-weight: 760;
  line-height: 1.12;
}

html:lang(ja) .step-label strong,
html:lang(ja) .address-box input {
  font-weight: 700;
}

html:lang(ja) .issue-chip,
html:lang(ja) .urgency-chip {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

html:lang(ja) .request-summary h2 {
  font-size: 17px;
  font-weight: 760;
  line-height: 1.25;
}

html:lang(ja) .request-summary p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.45;
}

.booking-card,
.message-card,
.profile-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 16px;
}

.booking-card h2,
.message-card h2,
.profile-card h2,
.home-profile h2 {
  margin-bottom: 5px;
  font-size: 19px;
}

.booking-card p,
.message-card p,
.profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.status-dot {
  width: 18px;
  height: 18px;
  border: 4px solid #cfe0ff;
  border-radius: 50%;
  background: var(--blue);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.timeline span {
  min-height: 42px;
  padding-top: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-align: center;
}

.timeline .done {
  background: #dceaff;
  color: var(--blue);
}

.message-card + .message-card,
.home-profile,
.profile-card + .home-profile {
  margin-top: 14px;
}

.avatar.tech {
  background: url("assets/hero-technician-premium.webp") center 16% / 180% auto;
}

.avatar.support {
  background: linear-gradient(135deg, #0f5cff, #8bb8ff);
}

.avatar.user {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #132a59, #ffcc7a);
}

.home-profile {
  padding: 16px;
}

.home-profile button {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--ink);
  font-weight: 780;
  text-align: left;
  padding: 0 15px;
}

.booking-sheet {
  position: fixed;
  left: 50%;
  top: 0;
  bottom: 0;
  z-index: 20;
  display: none;
  align-items: end;
  width: min(100vw, 440px);
  padding: 20px;
  transform: translateX(-50%);
  background: rgba(6, 21, 54, 0.28);
  backdrop-filter: blur(8px);
}

.booking-sheet.open {
  display: flex;
}

.sheet-card {
  position: relative;
  width: 100%;
  padding: 22px;
}

.sheet-card h2 {
  margin: 6px 34px 8px 0;
  font-size: 25px;
  line-height: 1.05;
}

.sheet-card p {
  color: var(--muted);
  line-height: 1.35;
}

.sheet-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
}

.sheet-close img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.match-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
  padding: 13px;
  border-radius: 8px;
  background: #f2f7ff;
}

.match-card h3 {
  margin: 0 0 3px;
}

.match-card p {
  margin: 0;
  font-size: 13px;
}

.trust-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto;
}

@media (max-width: 380px) {
  .screen {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy {
    width: 66%;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-tech {
    right: -28px;
    width: 274px;
    height: 370px;
  }

  .service-grid {
    gap: 5px;
  }

  .service-icon {
    width: 52px;
    height: 52px;
  }

  .urgent-strip {
    grid-template-columns: 52px 1fr auto;
    padding: 12px;
  }

  .urgent-icon,
  .today-icon {
    width: 52px;
    height: 52px;
  }

  .today-card {
    grid-template-columns: 50px minmax(118px, 1fr) auto;
    gap: 8px;
    padding: 12px;
  }

  .today-card h2 {
    font-size: 16px;
  }

  .today-card p {
    font-size: 12px;
  }

  .mini-cta {
    min-width: 118px;
    padding: 0 12px;
  }

  html:lang(ja) .hero-copy {
    width: 63%;
  }

  html:lang(ja) .hero h1 {
    font-size: 39px;
    line-height: 1.1;
  }

  html:lang(ja) .hero-kicker {
    font-size: 12px;
  }

  html:lang(ja) .subhead {
    font-size: 13px;
    line-height: 1.52;
  }

  html:lang(ja) .primary-cta {
    min-width: 160px;
    font-size: 14px;
  }

  html:lang(ja) .today-card h2 {
    font-size: 15px;
  }
}
