:root {
  color-scheme: light;
  --ink: #0d2433;
  --muted: #55707d;
  --soft: #f4f8f8;
  --line: rgba(13, 36, 51, 0.12);
  --deep: #062336;
  --teal: #006c78;
  --aqua: #39a3b5;
  --amber: #f7a928;
  --green: #3b8b61;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(10, 33, 45, 0.14);
  font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(6, 35, 54, 0.92);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.88;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 1;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.header-cta svg,
.primary-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: clamp(530px, 74svh, 680px);
  max-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(34px, 6vw, 76px) clamp(20px, 6vw, 72px);
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/hero-setouchi-aerial.png");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 22, 35, 0.8) 0%, rgba(4, 28, 44, 0.58) 36%, rgba(6, 35, 54, 0.12) 78%),
    linear-gradient(0deg, rgba(3, 29, 45, 0.4), rgba(3, 29, 45, 0.08));
}

.hero-content {
  width: min(720px, 100%);
}

.status-line,
.section-heading p,
.preview-copy > p,
.iphone-panel > div > p {
  margin: 0 0 10px;
  color: var(--aqua);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .status-line {
  color: #a9e9f3;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 span {
  display: inline;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: clamp(17px, 2.4vw, 24px);
  font-weight: 700;
  text-wrap: balance;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(3, 31, 48, 0.34);
  font-size: 14px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button {
  padding: 0 24px;
  background: var(--amber);
  color: #1f250b;
  box-shadow: 0 18px 42px rgba(247, 169, 40, 0.26);
}

.secondary-button {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(3, 31, 48, 0.2);
}

.fish-section,
.iphone-section,
.final-cta {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 72px);
}

.feature-strip {
  padding: clamp(34px, 6vw, 72px) clamp(20px, 6vw, 72px) clamp(56px, 8vw, 96px);
}

.section-heading {
  width: min(1100px, 100%);
  margin: 0 auto 26px;
}

.section-heading h2,
.preview-copy h2,
.iphone-panel h2,
.final-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.feature-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.fish-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 38px rgba(11, 42, 54, 0.08);
}

.feature-grid article {
  padding: 26px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-icon {
  background: var(--teal);
}

.ai-icon {
  background: #7451a6;
}

.phone-icon {
  background: var(--green);
}

.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.feature-grid p,
.preview-copy p,
.iphone-panel p,
.final-cta p,
.fish-item small {
  color: var(--muted);
}

.app-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(56px, 8vw, 100px) clamp(20px, 6vw, 72px);
  background: var(--soft);
}

.preview-copy {
  max-width: 520px;
  justify-self: end;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--teal);
  font-weight: 900;
  border-bottom: 2px solid rgba(0, 108, 120, 0.28);
}

.preview-frame {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dfe9ec;
}

.preview-frame img {
  width: 100%;
  height: auto;
}

.fish-section {
  background: var(--white);
}

.fish-list {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fish-item {
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.fish-item:hover,
.fish-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(11, 42, 54, 0.12);
}

.fish-item span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.fish-item strong {
  font-size: 30px;
  line-height: 1.15;
}

.iphone-section {
  background: var(--deep);
  color: var(--white);
}

.iphone-panel {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.iphone-panel p {
  color: #c7dfe8;
}

.iphone-panel ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: steps;
}

.iphone-panel li {
  counter-increment: steps;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.iphone-panel li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--amber);
  color: #20230d;
  font-size: 14px;
}

.final-cta {
  text-align: center;
  background: #eef6f4;
}

.final-cta p {
  width: min(660px, 100%);
  margin: 0 auto 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 6vw, 72px);
  background: #041927;
  color: #d3e5eb;
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
  }

  .main-nav {
    display: none;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 82svh;
    padding-top: 42px;
    align-items: flex-end;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(2, 22, 35, 0.86) 0%, rgba(5, 31, 47, 0.58) 54%, rgba(6, 35, 54, 0.08) 100%),
      linear-gradient(90deg, rgba(2, 22, 35, 0.34), rgba(2, 22, 35, 0.08));
  }

  .feature-grid,
  .fish-list,
  .app-preview,
  .iphone-panel {
    grid-template-columns: 1fr;
  }

  .preview-copy {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .header-cta {
    padding: 0 12px;
    min-height: 42px;
  }

  .header-cta svg {
    width: 18px;
    height: 18px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  h1 span {
    display: block;
  }

  .hero-lead {
    font-size: 16px;
  }

  .signal-row {
    gap: 8px;
  }

  .signal-row span {
    min-height: 31px;
    padding: 0 10px;
    font-size: 12px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .feature-grid article,
  .fish-item {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
