/* AgileWorks Solutions static site */
:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #5f6d6a;
  --subtle: #eef3f1;
  --paper: #f7faf8;
  --white: #ffffff;
  --line: #dbe5e1;
  --green: #0c675d;
  --green-dark: #074840;
  --blue: #256c8f;
  --amber: #b56a2a;
  --danger: #b3392d;
  --shadow: 0 18px 50px rgba(23, 32, 31, 0.12);
  --radius: 8px;
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 229, 225, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

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

.button,
.button-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}

.button {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 22px rgba(12, 103, 93, 0.2);
}

.button:hover {
  background: var(--green-dark);
}

.button-secondary {
  color: var(--green-dark);
  border-color: rgba(12, 103, 93, 0.35);
  background: rgba(255, 255, 255, 0.9);
}

.button-secondary:hover {
  border-color: var(--green);
}

.hero {
  position: relative;
  min-height: clamp(540px, 82svh, 720px);
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 24, 22, 0.88) 0%, rgba(7, 24, 22, 0.66) 40%, rgba(7, 24, 22, 0.22) 72%, rgba(7, 24, 22, 0.04) 100%),
    var(--hero-image) center / cover no-repeat;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  width: min(720px, 100%);
  padding: 72px 0 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #bfe5dc;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero .eyebrow,
.form-copy .eyebrow,
.simple-page .eyebrow {
  color: var(--green);
}

.hero h1,
.page-title {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-lead {
  width: min(660px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(760px, 100%);
  margin-top: 42px;
}

.proof-item {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.proof-item strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.proof-item span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

section {
  padding: 76px 0;
}

.section-muted {
  background: var(--paper);
}

.section-accent {
  color: var(--white);
  background: var(--green-dark);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.5fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2,
.simple-page h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
}

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

.section-accent .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.grid-3,
.grid-2,
.steps,
.price-grid {
  display: grid;
  gap: 18px;
}

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

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

.card,
.step,
.price-card,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card,
.step {
  padding: 24px;
}

.card h3,
.step h3,
.price-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.card p,
.step p,
.price-card p,
.check-list {
  margin: 0;
  color: var(--muted);
}

.number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  font-size: 14px;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.45fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(12, 103, 93, 0.18);
  border-radius: var(--radius);
  background: #f2f8f6;
}

.quote-band blockquote {
  margin: 0;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

.quote-band p {
  margin: 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

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

.price-card {
  padding: 28px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 10px;
  color: var(--green-dark);
}

.price-main strong {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
}

.price-main span {
  color: var(--muted);
  font-weight: 800;
}

.price-card.featured {
  border-color: rgba(12, 103, 93, 0.45);
  box-shadow: var(--shadow);
}

.form-section {
  background: linear-gradient(180deg, var(--paper), #ffffff);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.54fr);
  gap: 36px;
  align-items: start;
}

.form-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.form-copy p {
  margin: 0 0 22px;
  color: var(--muted);
}

.form-panel {
  padding: 24px;
  box-shadow: 0 14px 42px rgba(23, 32, 31, 0.08);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #33413f;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid #ccd8d4;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(37, 108, 143, 0.18);
  border-color: var(--blue);
}

.fineprint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.7);
  background: #101715;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.simple-page {
  min-height: calc(100svh - 66px);
  display: grid;
  align-items: center;
  padding: 90px 0;
  background:
    linear-gradient(180deg, rgba(247, 250, 248, 0.92), #ffffff),
    radial-gradient(circle at 20% 20%, rgba(12, 103, 93, 0.12), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(181, 106, 42, 0.12), transparent 32%);
}

.simple-box {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
}

.simple-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-hero {
  min-height: calc(100svh - 66px);
  display: grid;
  align-items: center;
  padding: 80px 0;
  background: var(--paper);
}

.home-layout {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.5fr);
  gap: 52px;
  align-items: center;
}

.home-layout h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: 0;
}

.home-layout p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.home-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.home-panel dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.home-panel dt {
  font-size: 12px;
  font-weight: 900;
  color: var(--blue);
}

.home-panel dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 24, 22, 0.9), rgba(7, 24, 22, 0.6)),
      var(--hero-image) center / cover no-repeat;
  }

  .hero-proof,
  .grid-3,
  .grid-2,
  .steps,
  .price-grid,
  .section-heading,
  .quote-band,
  .form-layout,
  .home-layout {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 12px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 24px, 1120px);
  }

  .brand {
    font-size: 14px;
  }

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

  .hero-inner,
  .section-inner,
  .footer-inner,
  .home-layout {
    width: min(100% - 24px, 1120px);
  }

  .hero-copy {
    padding: 42px 0 46px;
  }

  .hero-proof {
    display: none;
  }

  .hero-actions,
  .simple-actions {
    display: grid;
  }

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

  section {
    padding: 58px 0;
  }

  .card,
  .step,
  .price-card,
  .form-panel,
  .quote-band,
  .home-panel {
    padding: 20px;
  }
}
