:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f0f3f7;
  --text: #111827;
  --muted: #667085;
  --line: #dde3ea;
  --orange: #ff6a00;
  --orange-2: #ff8a22;
  --navy: #101828;
  --ink: #142033;
  --blue: #1f67d2;
  --blue2: #0d9bd7;
  --yellow: #ffd84d;
  --green: #2ba67a;
  --radius: 20px;
  --shadow: 0 18px 48px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 45%, #fff 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 227, 234, 0.78);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #111827;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.18);
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  padding: 28px 0 28px;
  overflow: hidden;
  background: #fff;
}

.hero-banner {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #fff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-copy {
  position: absolute;
  left: 56px;
  top: 30px;
  bottom: 0;
  z-index: 2;
  width: min(540px, calc(100% - 112px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  color: var(--navy);
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.72);
}

.hero-copy .eyebrow {
  margin-bottom: 0;
  color: var(--orange);
  text-shadow: none;
}

.hero-copy .eyebrow:before {
  background: var(--orange);
}

.hero-copy h1 {
  margin-top: 10px;
  color: var(--navy);
  font-size: 5.6rem;
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 880;
}

.hero-copy h2 {
  margin-top: 10px;
  color: var(--navy);
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 880;
}


.hero-copy .accent {
  color: var(--orange-2);
}

.hero-copy .lead {
  max-width: 36rem;
  margin: 10px 0 0;
  color: #344054;
  font-size: 1.05rem;
}

.hero-copy .button {
  border-radius: 0;
}

.hero-copy .button.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: none;
}

.hero-copy .button.ghost {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 24, 40, 0.2);
  backdrop-filter: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
  border-radius: 999px;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-weight: 880;
}

h1 .accent {
  color: var(--orange);
}

.lead {
  max-width: 43rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding-top: 0;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 0.95rem;
  font-weight: 780;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.16);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 38, 66, .14);
}

.btn--primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
}

.section {
  padding: 34px 0;
}

.contact{
  display:grid;
  gap:6px;
  justify-items:center;
  text-align:center;
}

.contact__logo{
  width:25%;
  margin-left: -60px;
}
.contact__name{
  font-size:28px;
  font-weight:900;
}
.contact__link{
  color:rgba(255,255,255,.86);
}
.contact__row{
  color:rgba(255,255,255,.82);
  font-size:14px;
}

.section--contact{
  color:#fff;
  background:var(--navy);
  padding:32px 0;
}

#lineup {
  padding-top: 36px;
  scroll-margin-top: 40px;
}

#lineup .section-heading {
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

#lineup .section-heading p {
  margin-top: 12px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-contact{
  color:#fff;
  background:var(--navy);
  padding:32px 0;
}

.concept-panel {
  border: 1px solid #d8edf4;
  background: linear-gradient(135deg, #ffffff 0%, #f1fbff 52%, #fff8f1 100%);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  box-shadow: 0 20px 58px rgba(16, 111, 148, 0.12);
  overflow: hidden;
}

.concept-visual {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 520px;
  padding: 42px;
  color: var(--navy);
  background:
    linear-gradient(rgba(34, 197, 94, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.1) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #e8f8ff 48%, #fff0df 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

.concept-visual::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 34%;
  background: linear-gradient(135deg, transparent 0%, rgba(34, 197, 94, 0.18) 100%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.concept-visual h3,
.concept-visual p,
.tech-flow {
  position: relative;
  z-index: 1;
}

.concept-visual h3 {
  max-width: 11em;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.concept-visual p {
  max-width: 32rem;
  margin: 0;
  color: #475467;
}

.concept-visual .concept-label {
  color: #0b6f8f;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.22);
}

.tech-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.flow-node {
  position: relative;
  min-height: 118px;
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(16, 111, 148, 0.1);
}

.flow-node:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-top: 2px solid rgba(255, 106, 0, 0.72);
  border-right: 2px solid rgba(255, 106, 0, 0.72);
  transform: translateY(-50%) rotate(45deg);
}

.flow-node span,
.flow-node small {
  display: block;
  color: #667085;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
}

.flow-node strong {
  display: block;
  margin: 16px 0 6px;
  color: #0b6f8f;
  font-size: 1rem;
  line-height: 1.35;
}

.concept-stack {
  display: grid;
  background: #d8edf4;
}

.concept-block {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.94);
}

.concept-block-accent {
  background: #f0fff7;
}

.concept-label {
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  color: var(--orange);
  background: rgba(255, 106, 0, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.4;
}

.concept-block h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  color: var(--navy);
  letter-spacing: 0;
  line-height: 1.28;
}

.concept-block p {
  margin: 0;
  color: var(--muted);
}

.concept-list {
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.concept-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.concept-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--orange);
}

.data-layers {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  align-items: stretch;
  gap: 12px;
  margin-top: 2px;
}

.data-layer {
  position: relative;
  min-height: 116px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 4px;
  border-radius: 16px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  background: #eef9ff;
}

.data-layer:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  z-index: 2;
  width: 16px;
  height: 16px;
  background: inherit;
  border-top: inherit;
  border-right: inherit;
  transform: translateY(-50%) rotate(45deg);
}

.data-layer small {
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.data-layer strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.35;
}

.data-layer span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.data-layer-context {
  background: #f1fff6;
  border-color: rgba(34, 197, 94, 0.2);
}

.data-layer-result {
  background: #fff7ed;
  border-color: rgba(255, 106, 0, 0.18);
}

.apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.app-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(360px, 1fr);
  grid-template-areas:
    "head head"
    "copy shots"
    "detail shots"
    "meta shots";
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  align-items: start;
  column-gap: 24px;
  row-gap: 12px;
  min-height: 0;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 38px rgba(16, 24, 40, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, 0.42);
  box-shadow: 0 20px 48px rgba(16, 24, 40, 0.1);
}

.app-head {
  grid-area: head;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 104px;
  margin-bottom: 0;
}

.app-icon-link {
  flex: 0 0 auto;
  display: block;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
  flex: 0 0 auto;
}

.app-kind {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.025em;
}

.app-free-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4em;
  padding: 2px 7px;
  border: 1px solid rgba(255, 106, 0, 0.28);
  border-radius: 999px;
  background: #fff7ed;
  color: #d95b00;
  font-size: 0.62rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.02em;
  vertical-align: super;
  white-space: nowrap;
}

.app-title-link {
  color: inherit;
  min-width: 0;
}

.app-detail-link {
  grid-area: detail;
  justify-self: start;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
}

.app-detail-link span {
  color: var(--orange);
}

.app-card p {
  grid-area: copy;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.app-screenshots {
  grid-area: shots;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
  align-self: start;
}

.app-screenshots figure {
  margin: 0;
  border: 1px solid #e8edf3;
  background: #f7f9fc;
}

.app-screenshots img {
  width: 100%;
  height: auto;
  display: block;
}

.app-meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.tag {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.045);
}

.step {
  background: rgba(255, 255, 255, 0.88);
  padding: 26px;
}

.step small {
  color: var(--orange);
  font-weight: 850;
  letter-spacing: 0.08em;
}

.step strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 1.05rem;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta {
  margin: 10px 0 88px;
  border-radius: 30px;
  padding: 40px;
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: start;
  gap: 24px;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta .button {
  background: #fff;
  color: var(--navy);
}

.contact {
  text-align: center;
  margin: 32px 0 0 50px;
}

.contact__logo {
  width: min(240px, 70%);
  margin: 80px 0 6px -40px;
  display: block;
}

.contact__name {
  font-size: 28px;
  font-weight: 900;
}

.contact__link {
  color: rgba(255, 255, 255, .86);
}

.contact__row {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, .86fr);
  gap: 44px;
  align-items: start;
}

.contact-copy {
  display: grid;
  align-content: start;
}

.contact-copy .eyebrow {
  color: var(--yellow);
}

.contact-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: 0;
}

.contact-copy p {
  margin: 16px 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, .78);
}

.contact-copy .contact-accordion {
  margin-top: 28px;
}

.contact-layout>.contact {
  margin-top: 0;
}

.contact-accordion {
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.contact-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 22px 64px 22px 24px;
  cursor: pointer;
  list-style: none;
  background: #fff;
}

.contact-accordion summary::-webkit-details-marker {
  display: none;
}

.contact-accordion summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.contact-accordion[open] summary::after {
  content: "-";
}

.contact-accordion summary strong,
.contact-accordion summary small {
  display: block;
}

.contact-accordion summary strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
}

.contact-accordion summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  background: #f7faff;
  border-top: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #f9fbfe;
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 155, 215, .16);
}

.contact-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form__submit {
  justify-self: start;
  min-width: 150px;
  border: 0;
}

.cta .button.ghost-on-dark {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .section-heading,
  .concept-panel,
  .cta {
    grid-template-columns: 1fr;
  }

  #lineup .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  #lineup .section-heading p {
    margin-top: 0;
  }
  
  .concept-block-accent {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .concept-visual {
    min-height: 440px;
  }

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

  .app-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "shots"
      "copy"
      "detail"
      "meta";
    grid-template-rows: auto;
  }

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

  .hero-copy {
    left: 40px;
    width: min(500px, calc(100% - 80px));
  }

  .hero-copy h1 {
    font-size: 4.8rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 12px 0 24px;
  }

  #lineup {
    padding-top: 32px;
  }

  .hero-banner {
    min-height: 560px;
  }

  .hero-copy {
    left: 22px;
    right: 22px;
    top: 34px;
    bottom: auto;
    width: auto;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-copy .lead {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-copy .button {
    min-height: 42px;
    padding: 0 16px;
  }

  .apps,
  .workflow {
    grid-template-columns: 1fr;
  }

  .app-screenshots {
    grid-template-columns: 1fr;
  }

  .concept-block,
  .concept-visual,
  .cta {
    padding: 26px;
  }

  .concept-visual {
    min-height: 470px;
  }

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

  .flow-node:not(:last-child)::after {
    display: none;
  }

  .data-layers {
    grid-template-columns: 1fr;
  }

  .data-layer:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%) rotate(135deg);
  }

  .contact-details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
