/* Layout för startsidan. Färger, typsnitt och knappform kommer från styles.css. */

body.home .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.home .site-header,
body.home .container,
body.home .footer-inner {
  max-width: 1160px;
}

body.home .hero {
  display: grid;
  grid-template-columns: minmax(0, 36rem) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

body.home .hero-flow {
  justify-self: end;
  width: 100%;
  max-width: 400px;
  padding: 28px;
  border: 1px solid var(--line, #d8ddd5);
  border-radius: 20px;
  background: #fff;
}

body.home .flow-stop p {
  margin-top: 6px;
  color: var(--muted, #5d6b62);
  font-size: 13px;
  line-height: 1.5;
}

body.home .flow-fortnox {
  display: inline-block;
}

body.home .flow-fortnox img {
  display: block;
  height: 64px;
  width: auto;
  margin: -8px 0 -8px -12px;
}

body.home .flow-bot strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

body.home .flow-ai {
  display: flex;
  gap: 20px;
}

body.home .flow-ai .client-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f6356;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

body.home .flow-ai .client-logo svg {
  width: 18px;
  height: 18px;
}

body.home .flow-arrow {
  width: 1px;
  height: 28px;
  margin: 14px 0 14px 8px;
  background: var(--line, #d8ddd5);
  position: relative;
}

body.home .flow-arrow::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--line, #d8ddd5);
  border-bottom: 1px solid var(--line, #d8ddd5);
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  body.home .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  body.home .hero-flow {
    justify-self: stretch;
    max-width: none;
  }
}

body.home .section-heading {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

body.home .section-heading p {
  max-width: 36rem;
}

body.home .client-names {
  align-items: center;
  gap: 28px;
}

body.home .client-names > .client-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f6356;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

body.home .client-logo svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}

body.home button.example {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.home .example-text {
  min-width: 0;
}

body.home .example-action {
  flex: none;
  color: var(--green);
  font-weight: 650;
}

body.home .example-done,
body.home button.example[data-copied="true"] .example-idle {
  display: none;
}

body.home button.example[data-copied="true"] .example-done {
  display: inline;
}

body.home .section.info-section {
  padding-top: 80px;
}

body.home #efter.info-section {
  padding-bottom: 72px;
}

/* Kopplingen med Fortnox: pilar åt båda hållen och listor i korten. */
body.home .node-icon.bot-icon {
  background: var(--green);
  color: var(--lime);
  border-color: var(--green);
}

body.home .flow-path {
  justify-content: flex-start;
  margin: 0 0 28px;
}

body.home .flow-path .connector-line:before {
  content: "";
  height: 5px;
  width: 5px;
  border-bottom: 1px solid #a7b8a6;
  border-left: 1px solid #a7b8a6;
  transform: rotate(45deg);
  position: absolute;
  left: 0;
  top: -2px;
}

body.home #koppling.info-section {
  padding-bottom: 80px;
}

body.home .info-card .check-list {
  margin-top: 4px;
}

body.home .info-card .check-list li {
  font-size: 15px;
}

body.home .copy-address-url {
  overflow-wrap: normal;
  word-break: keep-all;
}

body.home button.copy-address {
  flex-wrap: nowrap;
  align-items: center;
}

@media (max-width: 700px) {
  body.home .site-header {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 4px;
  }

  body.home .site-header nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 16px;
  }

  body.home .site-header nav > a:not(.nav-app) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  body.home .section.info-section {
    padding-top: 47px;
  }

  body.home #efter.info-section {
    padding-bottom: 48px;
  }

  body.home #koppling.info-section {
    padding-bottom: 47px;
  }

  body.home .client-strip {
    align-items: flex-start;
  }

  body.home button.example {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

body.home .step-card code {
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

body.home .step-copy {
  margin-top: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line, #d8ddd5);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

@media (max-width: 700px) {
  body.home .step-copy {
    grid-column: 2;
    justify-self: start;
    width: auto;
  }
}

body.home .step-copy .example-done,
body.home .step-copy[data-copied="true"] .example-idle {
  display: none;
}

body.home .step-copy[data-copied="true"] .example-done {
  display: inline;
}
.fortnox-partner{display:grid;grid-template-columns:200px 1fr;gap:48px;align-items:start;border-top:1px solid var(--line);padding:56px 0 80px}.fortnox-partner-logo{display:inline-block;padding:12px 0}.fortnox-partner-logo img{display:block;height:56px;width:auto}.fortnox-partner-text h2{font-size:24px;letter-spacing:-.025em}.fortnox-partner-text p{margin-top:12px;color:var(--muted);font-size:14px;max-width:620px}.fortnox-partner-text a{text-decoration:underline;text-underline-offset:3px}@media(max-width:700px){.fortnox-partner{grid-template-columns:1fr;gap:12px;padding:40px 0 47px}}
