:root {
  --navy: #082767;
  --blue: #174b91;
  --gold: #b87911;
  --gold-2: #d79922;
  --red: #d53333;
  --green: #286a43;
  --ink: #12213f;
  --muted: #66738a;
  --line: #dbe3ee;
  --soft: #f4f7fb;
  --paper: #fff;
  --shadow: 0 18px 45px rgba(8, 39, 103, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand img {
  width: clamp(158px, 20vw, 230px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-cta {
  padding: 8px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: block;
  min-height: 720px;
  overflow: hidden;
  align-items: center;
  padding: clamp(58px, 8vw, 98px) clamp(18px, 6vw, 72px) clamp(42px, 6vw, 70px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 32%, rgba(255, 255, 255, 0.42) 56%, rgba(255, 255, 255, 0.08) 100%),
    url("./assets/optimized/generated/03-hero-background.jpg") center right / cover;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.hero h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(2.7rem, 6.3vw, 5.25rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1::first-line {
  color: var(--gold);
}

.lead {
  margin-bottom: 0;
  color: #25324d;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-button {
  color: #fff;
  background: linear-gradient(180deg, var(--gold-2), #ac6c0b);
  box-shadow: 0 14px 30px rgba(183, 121, 17, 0.26);
}

.ghost-button {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  padding: 12px 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(8, 39, 103, 0.06);
}

.trust-row strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}

.hero-art {
  display: none;
}

.photo-panel {
  position: absolute;
  inset: 0 78px 46px 0;
  padding: 32px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 39, 103, 0.78), rgba(8, 39, 103, 0.08) 58%),
    url("./assets/original-tone/hero.png") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-panel::after {
  position: absolute;
  right: -64px;
  top: -58px;
  width: 210px;
  height: 210px;
  content: "";
  background: rgba(216, 153, 34, 0.48);
  border-radius: 50%;
}

.photo-panel span,
.photo-panel strong {
  position: relative;
  z-index: 1;
}

.photo-panel span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
}

.photo-panel strong {
  display: block;
  max-width: 330px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.35;
}

.phone-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(265px, 43%);
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 30px;
  box-shadow: 0 26px 44px rgba(8, 39, 103, 0.24);
  backdrop-filter: blur(12px);
}

.phone-shell {
  padding: 14px 12px 16px;
  background: #101522;
  border-radius: 25px;
}

.phone-top,
.phone-hero,
.app-grid,
.language-pill {
  background: #fff;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 12px 10px;
  color: var(--navy);
  font-weight: 900;
  border-radius: 18px 18px 0 0;
}

.phone-top img {
  width: 27px;
  height: 27px;
}

.phone-hero {
  height: 82px;
  background:
    radial-gradient(circle at 68% 22%, #fff 0 8px, transparent 9px),
    linear-gradient(145deg, #6fb0df 0 45%, #225b9d 45% 48%, #edf5ff 48% 56%, #2c7b63 56% 100%);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 12px;
}

.app-grid span {
  display: grid;
  place-items: center;
  min-height: 40px;
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 900;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.app-grid .danger {
  grid-column: span 2;
  color: var(--red);
}

.language-pill {
  padding: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 0 0 18px 18px;
}

.qr-note {
  position: absolute;
  left: 28px;
  bottom: 20px;
  display: grid;
  grid-template-columns: auto 48px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 900;
}

.qr-note b {
  width: 48px;
  height: 48px;
  background:
    linear-gradient(90deg, #082767 7px, transparent 7px 13px, #082767 13px 20px, transparent 20px 29px, #082767 29px 36px, transparent 36px),
    linear-gradient(#082767 7px, transparent 7px 13px, #082767 13px 20px, transparent 20px 29px, #082767 29px 36px, transparent 36px),
    #fff;
  border: 5px solid #fff;
  box-shadow: inset 0 0 0 2px var(--navy);
}

.section {
  padding: clamp(42px, 6vw, 74px) clamp(18px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 840px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2,
.strength-copy h2,
.final-cta h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  line-height: 1.32;
}

.section-heading p {
  color: var(--muted);
  font-weight: 800;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.problem-card {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 230px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(8, 39, 103, 0.07);
}

.problem-card.accent-red {
  grid-template-columns: 1fr 156px;
}

.problem-image {
  width: 156px;
  height: 156px;
  background: center / cover;
  border-radius: 8px;
}

.problem-image.staff {
  background-image: url("./assets/optimized/original-tone/problem-staff.jpg");
}

.problem-image.guest {
  background-image: url("./assets/optimized/original-tone/problem-guest.jpg");
}

.problem-card h3 {
  color: var(--navy);
  font-size: 1.16rem;
}

.problem-card.accent-red h3 {
  color: var(--red);
}

.problem-card ul,
.price-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}

.problem-card li,
.price-card li {
  position: relative;
  padding-left: 24px;
}

.problem-card li::before,
.price-card li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.problem-card.accent-red li::before {
  color: var(--red);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-card,
.language-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(8, 39, 103, 0.07);
}

.feature-card h3,
.language-card h3 {
  margin: 16px 16px 8px;
  color: var(--navy);
  font-size: 1rem;
}

.feature-card p,
.language-card p {
  margin: 0 16px 18px;
  color: #273650;
  font-size: 0.9rem;
  font-weight: 750;
}

.feature-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  background: var(--soft) center / cover;
  border-bottom: 1px solid var(--line);
}

.feature-image.basics {
  background-image: url("./assets/optimized/generated/replacements/06-basics.jpg");
}

.feature-image.room {
  background-image: url("./assets/optimized/generated/replacements/07-room.jpg");
}

.feature-image.requests {
  background-image: url("./assets/optimized/generated/replacements/08-requests.jpg");
}

.feature-image.facilities {
  background-image: url("./assets/optimized/generated/replacements/09-facilities.jpg");
}

.feature-image.upgrades {
  background-image: url("./assets/optimized/generated/replacements/10-upgrades.jpg");
}

.feature-image.nearby {
  background-image: url("./assets/optimized/generated/replacements/11-nearby.jpg");
}

.feature-image.emergency {
  background-image: url("./assets/optimized/generated/replacements/12-emergency.jpg");
}

.language-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  background: url("./assets/optimized/generated/replacements/18-languages.jpg") center / cover;
  border-bottom: 1px solid var(--line);
}

.language-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.language-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 16px 18px;
}

.language-list span {
  padding: 8px 6px;
  color: var(--navy);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 900;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.strength-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(46px, 6vw, 78px) clamp(18px, 5vw, 64px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.strength-copy {
  max-width: 620px;
  justify-self: end;
}

.strength-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.strength-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
}

.strength-list span,
.flow-grid span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  font-weight: 900;
  background: var(--navy);
  border-radius: 50%;
}

.strength-list h3 {
  margin-bottom: 4px;
  color: var(--navy);
}

.strength-list p {
  margin-bottom: 0;
  color: #273650;
  font-weight: 750;
}

.strength-visual {
  min-height: 380px;
  padding: 28px;
  display: grid;
  align-content: end;
  gap: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 42%, rgba(255, 255, 255, 0.4) 72%),
    url("./assets/optimized/generated/replacements/13-strength-phone.jpg") right center / cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dashboard-card {
  max-width: 330px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(8, 39, 103, 0.12);
}

.dashboard-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.dashboard-card strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 1.28rem;
}

.dashboard-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.dashboard-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-row span {
  padding: 8px 11px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 940px;
  margin: 0 auto;
}

.price-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(8, 39, 103, 0.07);
}

.price-card.featured {
  border-color: rgba(8, 39, 103, 0.34);
  box-shadow: var(--shadow);
}

.price-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.2rem;
}

.price-card.premium h3 {
  color: var(--gold);
}

.price {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.15;
}

.price span {
  font-size: 0.9rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.flow-grid article {
  min-width: 0;
}

.flow-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
  background: var(--soft) center / cover;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(8, 39, 103, 0.07);
}

.flow-image.hearing {
  background-image: url("./assets/optimized/generated/replacements/14-flow-hearing.jpg");
}

.flow-image.design {
  background-image: url("./assets/optimized/generated/replacements/15-flow-design.jpg");
}

.flow-image.qr {
  background-image: url("./assets/optimized/generated/replacements/16-flow-qr.jpg");
}

.flow-image.update {
  background-image: url("./assets/optimized/generated/replacements/17-flow-chat.jpg");
}

.flow-grid span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-right: 6px;
  background: var(--gold);
}

.flow-grid h3 {
  display: inline;
  color: var(--navy);
  font-size: 1rem;
}

.flow-grid p {
  margin-top: 8px;
  color: #273650;
  font-size: 0.88rem;
  font-weight: 750;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 460px);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(42px, 6vw, 72px) clamp(18px, 6vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(216, 153, 34, 0.42), transparent 26%),
    linear-gradient(135deg, var(--navy), #0b4b8e);
}

.final-cta-copy {
  max-width: 620px;
}

.final-cta .section-kicker,
.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.contact-large-button {
  justify-self: end;
  min-width: min(360px, 100%);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px clamp(18px, 5vw, 64px);
  color: #fff;
  background: #061c4f;
}

.footer-brand {
  display: inline-grid;
  gap: 5px;
  justify-items: start;
}

.footer-brand img {
  width: min(230px, 58vw);
  padding: 7px 10px;
  background: #fff;
  border-radius: 8px;
}

.footer-brand span,
.footer p,
.footer a {
  margin: 0;
  font-weight: 800;
}

.footer div {
  text-align: right;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 28px;
  padding: 40px 18px;
  background: var(--soft);
}

.thanks-card {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.25;
}

.thanks-card p {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero,
  .strength-section {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 520px;
  }

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

  .problem-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .strength-copy {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    padding: 12px 16px;
  }

  .brand img {
    width: 162px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 34px 16px 24px;
    min-height: 660px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 44%, rgba(255, 255, 255, 0.48) 72%, rgba(255, 255, 255, 0.12) 100%),
      url("./assets/optimized/generated/03-hero-background.jpg") center bottom / cover;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .trust-row,
  .feature-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: auto;
  }

  .photo-panel {
    position: relative;
    inset: auto;
    min-height: 330px;
  }

  .phone-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(260px, 84vw);
    margin: -54px auto 0;
  }

  .qr-note {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .section,
  .strength-section,
  .final-cta {
    padding: 38px 16px;
  }

  .problem-card,
  .problem-card.accent-red {
    grid-template-columns: 1fr;
  }

  .problem-card.accent-red .problem-image {
    order: -1;
  }

  .problem-image {
    width: 100%;
    height: 180px;
  }

  .strength-visual {
    min-height: 320px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0 48%, rgba(255, 255, 255, 0.38) 82%),
      url("./assets/optimized/generated/replacements/13-strength-phone.jpg") center bottom / cover;
  }

  .final-cta,
  .footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-large-button {
    justify-self: stretch;
  }

  .footer div {
    text-align: left;
  }
}
