:root {
  --navy: #071b55;
  --navy-2: #0b2a78;
  --blue: #0d72b8;
  --blue-soft: #eef6fd;
  --gold: #f5a400;
  --ink: #111827;
  --muted: #526071;
  --line: #cdd8e6;
  --paper: #ffffff;
  --green: #06c755;
  --shadow: 0 16px 42px rgba(7, 27, 85, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
  background: linear-gradient(180deg, #eef5fb 0%, #fff 44%, #f4f7fb 100%);
}

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

a {
  color: inherit;
}

main [id] {
  scroll-margin-top: 104px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 64px;
}

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

.nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 32px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.page-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto 72px;
}

.hero-doc {
  display: grid;
  grid-template-columns: 34% 66%;
  min-height: 560px;
  background: linear-gradient(120deg, rgba(255,255,255,.98), rgba(236,245,252,.96) 52%, rgba(217,235,247,.9));
}

.hero-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 58px 44px 44px;
  background: rgba(255, 255, 255, .64);
}

.hero-brand-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
}

.hero-brand-card img {
  width: 104px;
}

.company-name {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
}

.hero-brand-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.hero-scope-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-scope-list li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid #d4d4d4;
  color: var(--navy);
  font-weight: 900;
}

.hero-scope-list li:last-child {
  border-bottom: 0;
}

.hero-scope-list li::before {
  position: absolute;
  top: 23px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero-message {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.hero-city {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.95), rgba(235,245,252,.86) 42%, rgba(235,245,252,.24)),
    url("https://rayjohncompany.github.io/-/assets/reference-crops/city-hero.png") right top / cover no-repeat;
  opacity: .86;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 86px 48px 54px;
}

.hero-copy p {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 10px 0 22px;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.08;
}

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

.hero-ribbon {
  display: inline-block;
  margin: 4px 0 24px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  font-weight: 900;
  line-height: 1.45;
}

.hero-lead {
  max-width: 560px;
  color: #151923 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

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

.hero-actions a,
.line-contact a,
.primary-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: 230px;
  padding: 14px 26px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.line-button,
.line-contact a {
  background: var(--green);
}

.outline-button {
  border: 1px solid var(--navy);
  color: var(--navy) !important;
  background: #fff;
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.support-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 142px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.support-item:last-child {
  border-right: 0;
}

.support-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
}

.support-item h2 {
  margin: 0 0 2px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.35;
  white-space: nowrap;
}

.support-item p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: 36% 64%;
  padding-top: 96px;
}

.document-box {
  position: relative;
}

.watermark-title {
  margin: 0;
  color: #111;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 1.35;
  opacity: .08;
  white-space: nowrap;
}

.company-list {
  margin: 0;
  padding: 24px 42px 0 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}

.company-list dt,
.company-list dd {
  margin: 0;
  padding: 15px 12px;
}

.company-list dt {
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-weight: 900;
}

.company-list dd {
  font-weight: 800;
}

.company-list small {
  color: var(--muted);
}

.strength-list {
  display: grid;
  gap: 12px;
  padding: 24px 0 0 42px;
}

.strength-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
}

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

.strength-list h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
}

.strength-list p {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.service-section {
  margin: 88px 0 56px;
}

.section-lead {
  margin: 0 0 28px;
  color: var(--navy);
  font-weight: 800;
}

.service-table {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.service-cell {
  display: grid;
  grid-template-rows: 62px auto auto;
  align-items: center;
  justify-items: center;
  min-height: 188px;
  padding: 22px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.service-cell:nth-child(5n) {
  border-right: 0;
}

.service-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(180deg, #fff, #f4f8fc);
  font-size: 15px;
  font-weight: 900;
  box-shadow: inset 0 0 0 4px #fff, 0 8px 16px rgba(7, 27, 85, .08);
}

.service-mark::after {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.mark-neutral { color: #334155; }
.mark-red { color: #e11d48; }
.mark-green { color: #059669; }
.mark-blue { color: #2563eb; }

.service-cell h3 {
  margin: 8px 0 3px;
  font-size: 13px;
  line-height: 1.35;
}

.service-cell p {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
}

.service-note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.partner-section {
  margin: 0 0 54px;
  padding: 60px 56px 48px;
  border: 1px solid #d5e4f2;
  background: linear-gradient(180deg, #f3f9fe 0%, #fff 48%);
}

.partner-intro {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}

.partner-intro h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.35;
}

.partner-intro > p:not(.section-eyebrow) {
  margin: 0 auto 28px;
  font-weight: 700;
}

.partner-intro .partner-target {
  display: inline-block;
  margin: 0 auto 22px;
  padding: 8px 20px;
  border: 1px solid #bfd6ee;
  color: var(--navy);
  background: #fff;
  font-size: 16px;
  font-weight: 900;
}

.primary-line {
  border-radius: 4px;
  background: var(--green);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 50px;
}

.single-plan {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 30px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.free-plan {
  border-top: 5px solid var(--green);
}

.support-plan {
  border-top: 5px solid var(--navy);
}

.plan-label {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
}

.plan-card h3 {
  min-height: 60px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.4;
}

.plan-badge {
  position: absolute;
  top: -18px;
  right: 18px;
  margin: 0;
  padding: 5px 13px;
  border-radius: 30px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 59px;
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.price strong {
  color: var(--navy);
  font-size: 30px;
  line-height: 1.25;
}

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

.monthly strong {
  font-size: 29px;
}

.support-guidance {
  margin: 0 0 20px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  background: var(--blue-soft);
  font-size: 14px;
  font-weight: 800;
}

.check-list {
  flex: 1;
  margin: 0 0 27px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 25px;
  border-bottom: 1px solid #e8edf4;
  font-size: 15px;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 13px 18px;
  font-weight: 900;
  text-decoration: none;
}

.main-action {
  color: #fff;
  background: var(--green);
}

.sub-action {
  color: #fff;
  background: var(--green);
}

.start-flow {
  max-width: 1000px;
  margin: 0 auto 28px;
}

.start-flow h3 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 28px;
  text-align: center;
}

.start-flow ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.start-flow li {
  position: relative;
  min-height: 119px;
  padding: 18px 12px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.start-flow li:not(:last-child)::after {
  position: absolute;
  top: 51px;
  right: -17px;
  z-index: 2;
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
  content: "›";
}

.start-flow span {
  display: block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.start-flow strong {
  display: block;
  margin-top: 7px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.55;
}

.disclaimer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 17px 22px;
  border-left: 3px solid var(--blue);
  color: var(--muted);
  background: #f4f7fb;
  font-size: 13px;
  font-weight: 700;
}

.customer-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  padding: 32px 38px;
  border: 1px solid var(--line);
  background: #fff;
}

.customer-section h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 25px;
}

.customer-section p {
  margin: 0;
  font-weight: 700;
}

.mini-icons {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 8px;
}

.mini-icons span {
  padding: 9px 8px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #f8fbff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.line-contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 34px 42px;
  color: #fff;
  background: #101725;
}

.line-contact p {
  margin: 0;
  font-size: 25px;
  font-weight: 900;
}

.line-contact strong {
  display: block;
  font-size: 15px;
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 88px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 10px 0;
  }

  .nav-cta {
    width: auto !important;
    padding: 8px 14px !important;
  }

  .hero-doc,
  .two-column {
    grid-template-columns: 1fr;
  }

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

  .hero-info-panel {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: center;
    padding: 22px 32px;
  }

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

  .support-item:nth-child(even) {
    border-right: 0;
  }

  .about-section {
    gap: 34px;
  }

  .strength-list {
    padding-left: 0;
  }

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

  .service-cell:nth-child(5n) {
    border-right: 1px solid var(--line);
  }

  .service-cell:nth-child(3n) {
    border-right: 0;
  }

  .partner-section {
    padding: 52px 32px 40px;
  }

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

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

  .customer-section,
  .line-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  main [id] {
    scroll-margin-top: 80px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 54px;
  }

  .brand span {
    font-size: 14px;
  }

  .nav {
    top: 68px;
  }

  .page-shell {
    width: 100%;
    margin-bottom: 32px;
  }

  .hero-doc {
    display: flex;
    flex-direction: column;
  }

  .hero-message {
    order: -1;
    min-height: auto;
  }

  .hero-city {
    background:
      linear-gradient(90deg, rgba(255,255,255,.96), rgba(232,243,251,.9) 62%, rgba(224,239,249,.7)),
      url("https://rayjohncompany.github.io/-/assets/reference-crops/city-hero.png") right top / cover no-repeat;
  }

  .hero-copy {
    padding: 28px 20px 24px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-copy h1 {
    margin: 6px 0 16px;
    font-size: clamp(34px, 10.3vw, 40px);
  }

  .hero-ribbon {
    margin: 2px 0 18px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .hero-lead {
    font-size: 14px !important;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a,
  .line-contact a,
  .primary-line {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }

  .hero-info-panel {
    display: block;
    padding: 10px 20px 16px;
    background: #fff;
  }

  .hero-brand-card {
    display: none;
  }

  .hero-scope-list li {
    padding: 10px 0 10px 20px;
    font-size: 14px;
  }

  .hero-scope-list li::before {
    top: 20px;
    width: 7px;
    height: 7px;
  }

  .support-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 12px;
  }

  .support-item {
    display: block;
    min-height: 136px;
    padding: 18px 12px;
  }

  .support-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    font-size: 20px;
  }

  .support-item h2 {
    font-size: 16px;
    white-space: normal;
  }

  .two-column,
  .service-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .two-column {
    gap: 16px;
    padding-top: 36px;
  }

  .company-box,
  .strength-box {
    padding: 18px;
    border: 1px solid var(--line);
    background: #fff;
  }

  .watermark-title {
    padding-bottom: 12px;
    color: var(--navy);
    font-size: 26px;
    opacity: 1;
    white-space: normal;
  }

  .company-list {
    padding: 0;
  }

  .company-list div {
    grid-template-columns: 1fr;
  }

  .company-list dt {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
  }

  .company-list dd {
    padding-top: 8px;
  }

  .strength-list {
    padding: 2px 0 0;
  }

  .strength-list div {
    grid-template-columns: 42px 1fr;
    column-gap: 12px;
  }

  .strength-list span {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .strength-list h3 {
    font-size: 17px;
  }

  .strength-list p {
    font-size: 13px;
  }

  .service-section {
    margin: 36px 0 28px;
  }

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

  .service-cell {
    min-height: 164px;
    padding: 16px 8px;
  }

  .service-cell:nth-child(3n),
  .service-cell:nth-child(5n) {
    border-right: 1px solid var(--line);
  }

  .service-cell:nth-child(even) {
    border-right: 0;
  }

  .partner-section {
    margin: 0;
    padding: 36px 16px 30px;
    border-right: 0;
    border-left: 0;
  }

  .partner-intro {
    margin-bottom: 29px;
    text-align: left;
  }

  .partner-intro h2 {
    font-size: 28px;
  }

  .partner-intro .partner-target {
    margin-bottom: 17px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 38px;
  }

  .plan-card {
    padding: 29px 20px 22px;
  }

  .plan-card h3 {
    min-height: 0;
    font-size: 21px;
  }

  .price strong,
  .monthly strong {
    font-size: 27px;
  }

  .start-flow h3 {
    text-align: left;
    font-size: 24px;
  }

  .start-flow ol {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .start-flow li {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 12px 16px;
    text-align: left;
  }

  .start-flow strong {
    margin: 0;
  }

  .disclaimer {
    padding: 14px 15px;
  }

  .customer-section {
    margin: 28px 12px;
    padding: 22px 18px;
  }

  .customer-section h2 {
    font-size: 22px;
  }

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

  .line-contact {
    padding: 22px 18px;
  }

  .line-contact p {
    font-size: 21px;
  }
}
