@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #0B1F33;
  --paper: #F7F9FA;
  --white: #FFFFFF;
  --teal: #0E7C66;
  --teal-hover: #0A6351;
  --amber: #D97706;
  --body: #24313D;
  --muted: #5A6B7A;
  --border: #E2E8F0;
  --pale-teal: #E6F4F0;
  --band-teal: #EAF5F1;
  --shadow: 0 6px 24px rgba(11, 31, 51, 0.06);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--body);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-hover);
}

.wrap {
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

p,
li,
td,
th {
  line-height: 1.6;
}

.brandbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  background: var(--white);
}

.brandbar .brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brandbar .brand::before,
.footer-brand::before {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 4px;
  background: var(--teal);
  content: "";
}

.brandbar .brand span,
.footer-brand span {
  color: var(--teal);
}

.brandbar .alltools {
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.brandbar .tag {
  color: var(--muted);
  font-size: 14px;
}

.site-hero {
  position: relative;
  z-index: 0;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
  padding: 76px max(24px, calc((100vw - 1080px) / 2)) 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 92% 4%, rgba(14, 124, 102, 0.32), transparent 36%),
    var(--ink);
  color: var(--white);
  text-align: center;
}

.site-hero h1 {
  max-width: 920px;
  margin: 0 auto 18px;
  color: var(--white);
  font-size: 44px;
}

.site-hero .sub {
  max-width: 760px;
  margin: 0 auto;
  color: #C7D2DC;
  font-size: 18px;
  line-height: 1.65;
}

.site-hero .price {
  margin: 22px 0 4px;
  color: #C7D2DC;
  font-size: 20px;
}

.site-hero .price b {
  color: var(--amber);
  font-size: 34px;
}

.site-hero .fineprint {
  color: #C7D2DC;
}

.site-hero .buy,
.site-hero .go {
  margin-top: 22px;
}

.site-hero .hero-summary {
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.site-hero .hero-actions .go {
  margin-top: 0;
}

.site-hero .hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: transparent;
  box-shadow: none;
  color: var(--white);
}

.site-hero .hero-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  color: var(--white);
}

.section {
  padding: 64px 0;
}

.section.paper {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-right: max(24px, calc((100vw - 1080px) / 2));
  padding-left: max(24px, calc((100vw - 1080px) / 2));
  background: var(--paper);
}

.section > :last-child {
  margin-bottom: 0;
}

.section > h2 {
  margin-bottom: 24px;
}

.home-page .section:first-of-type {
  padding-bottom: 44px;
}

.home-page .section:first-of-type .cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.card,
.tool {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card {
  padding: 24px;
}

.tool {
  position: relative;
  min-width: 0;
  padding: 24px;
}

.card:hover,
.tool:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 31, 51, 0.12);
}

.tool::before {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background-color: var(--pale-teal);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  content: "";
}

.tools-grid .tool:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2.5' width='16' height='19' rx='2.5'/%3E%3Cpath d='M8 6.5h8M8 11h2m4 0h2M8 15h2m4 0h2M8 18.5h2m4 0h2'/%3E%3C/svg%3E");
}

.tools-grid .tool:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5M8 10.5l1.7 1.7 3.4-3.4'/%3E%3C/svg%3E");
}

.tool h3,
.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.tool p,
.card p {
  margin: 8px 0;
}

.tool .price,
.price {
  color: var(--body);
  font-size: 17px;
  font-weight: 600;
}

.tool .price b,
.price b {
  color: var(--amber);
  font-size: 27px;
  font-weight: 800;
}

.tool .card-go {
  margin-top: 10px;
}

.buy,
.go,
.dl,
button.primary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: var(--teal);
  box-shadow: 0 5px 14px rgba(14, 124, 102, 0.2);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  padding: 14px 30px;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.buy:hover,
.go:hover,
.dl:hover,
button.primary:hover {
  transform: translateY(-1px);
  background: var(--teal-hover);
  box-shadow: 0 8px 18px rgba(14, 124, 102, 0.27);
  color: var(--white);
}

.dl {
  display: flex;
  margin: 14px 0 8px;
}

.dl.alt {
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: none;
  color: var(--ink);
}

.dl.alt:hover {
  background: var(--pale-teal);
  color: var(--ink);
}

.fineprint,
.hint {
  color: var(--muted);
  font-size: 13px;
}

.limits {
  border-color: #ECD9AE !important;
  background: #FDF6EC !important;
}

.cta-band,
.note {
  border: 1px solid rgba(14, 124, 102, 0.22);
  border-radius: 16px;
  background: var(--band-teal);
}

.cta-band {
  margin-top: 40px;
  padding: 32px 24px;
  text-align: center;
}

.cta-band h2 {
  margin-top: 0;
}

.sample {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: 12px;
  background: var(--white);
  color: var(--teal);
  font-weight: 700;
  padding: 12px 24px;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.sample:hover {
  transform: translateY(-1px);
  background: var(--pale-teal);
  color: var(--teal-hover);
}

.devnote {
  margin: 0 0 48px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  background: var(--paper);
  padding: 20px 24px;
}

.devnote p {
  margin: 0;
}

ul {
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}

th {
  background: var(--paper);
  color: var(--ink);
}

iframe.demo {
  display: block;
  width: 100%;
  height: 880px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--paper);
}

.demo-page .wrap {
  padding-top: 0;
  padding-bottom: 64px;
}

.demo-page .demo-hero {
  margin-top: 0;
  margin-bottom: 40px;
}

.demo-page .demo-hero p {
  max-width: 800px;
  margin: 0 auto;
  color: #C7D2DC;
}

.demo-page .demo-purchase {
  margin-top: 28px;
}

.success-page {
  min-height: 100vh;
  background: var(--paper);
}

.success-page .wrap {
  max-width: 900px;
}

.success-main {
  max-width: 760px;
  margin: 28px auto 64px;
}

.success-heading {
  padding: 24px 0 8px;
  text-align: center;
}

.success-card {
  max-width: 760px;
  margin: 20px auto 0;
  padding: 36px;
  background: var(--white);
}

.success-card h1 {
  font-size: 36px;
}

.success-card > h2 {
  margin-top: 26px;
  font-size: 19px;
}

.success-section-title {
  margin-top: 26px;
  font-size: 19px;
}

.success-main .card + .card {
  margin-top: 18px;
}

.sample-wrap {
  text-align: center;
}

.report-card {
  margin-top: 22px;
}

.compact-paragraph {
  margin: 6px 0;
}

.builder-page {
  min-height: 100vh;
  background: var(--paper);
}

.builder-page .wrap {
  max-width: 1128px;
  padding-top: 0;
  padding-bottom: 48px;
}

.builder-page .builder-heading {
  margin: 36px 0 4px;
  font-size: 34px;
}

.builder-page h2 {
  margin: 30px 0 12px;
  font-size: 23px;
}

.builder-page .sub {
  max-width: 900px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
}

.builder-page .card {
  margin-top: 14px;
}

.builder-page .grid,
.builder-page .grid3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.builder-page .grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 14px;
}

.builder-page label {
  display: block;
  margin: 12px 0 5px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.builder-page input[type="text"],
.builder-page input[type="number"],
.builder-page input[type="email"],
.builder-page input[type="url"],
.builder-page select,
.builder-page textarea {
  width: 100%;
  border: 1px solid #CBD5E1;
  border-radius: 9px;
  background: var(--white);
  color: var(--body);
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
}

.builder-page input:focus,
.builder-page select:focus,
.builder-page textarea:focus {
  outline: 3px solid rgba(14, 124, 102, 0.18);
  border-color: var(--teal);
}

.builder-page textarea {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
}

.builder-page button {
  min-height: 40px;
  border: 1px solid #CBD5E1;
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 13px;
  transition: transform 160ms ease, background-color 160ms ease;
}

.builder-page button:hover {
  transform: translateY(-1px);
  background: var(--pale-teal);
}

.builder-page button.primary {
  min-height: 48px;
  border-color: var(--teal);
  color: var(--white);
  font-size: 15px;
  padding: 12px 20px;
}

.builder-page button.danger {
  border-color: #E3B3B3;
  background: var(--white);
  color: #8F1D1D;
}

.builder-page button.small {
  min-height: 32px;
  font-size: 13px;
  padding: 5px 9px;
}

.builder-page .svc {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #FBFCFD;
  padding: 16px;
}

.builder-page .svc-head,
.builder-page .rowline {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.builder-page .svc-head > div,
.builder-page .rowline > div {
  flex: 1;
  min-width: 120px;
}

.builder-page .rowline > .narrow {
  flex: 0 0 auto;
  min-width: 0;
}

.builder-page .frow {
  margin-top: 12px;
  border-top: 1px dashed #CBD5E1;
  padding-top: 10px;
}

.builder-page .hint {
  margin-top: 4px;
  font-size: 12px;
}

.builder-page .warn {
  display: none;
  margin-top: 12px;
  border: 1px solid #E8D48A;
  border-radius: 9px;
  background: #FFF7E0;
  color: #6B5510;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 12px;
}

.builder-page .note {
  margin-top: 14px;
  font-size: 13.5px;
  padding: 14px 16px;
}

.builder-page .limits {
  border-color: #ECD9AE !important;
  background: #FDF6EC !important;
}

.builder-page #preview {
  margin-top: 6px;
}

.builder-page .btnrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.builder-page code {
  border-radius: 4px;
  background: #EEF3F5;
  font-size: 12.5px;
  padding: 1px 5px;
}

.builder-page #load-json {
  display: none;
}

.calculator-standalone {
  min-height: 100vh;
  background: var(--paper);
  padding: 32px 16px;
}

.calculator-standalone header {
  max-width: 700px;
  margin: 0 auto 22px;
  text-align: center;
}

.calculator-standalone header h1 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 30px;
}

.calculator-standalone header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  width: 100vw;
  max-width: 100vw;
  margin: 56px 0 0 calc(50% - 50vw);
  background: var(--ink);
  color: #C7D2DC;
  padding: 48px max(24px, calc((100vw - 1080px) / 2)) 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-brand {
  color: var(--white);
}

.footer-brand span {
  color: #66C7AE;
}

.footer-grid h2 {
  margin: 2px 0 12px;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0;
}

.footer-grid p,
.footer-grid a:not(.footer-brand) {
  color: #C7D2DC;
  font-size: 14px;
}

.footer-grid p {
  max-width: 380px;
  margin: 12px 0 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-legal {
  max-width: 1080px;
  margin: 32px auto 0;
  border-top: 1px solid rgba(199, 210, 220, 0.2);
  color: #C7D2DC;
  font-size: 13px;
  padding-top: 18px;
}

.footer-legal p {
  margin: 0;
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding-right: 18px;
    padding-left: 18px;
  }

  .brandbar {
    min-height: 64px;
  }

  .brandbar .brand,
  .footer-brand {
    font-size: 17px;
  }

  .brandbar .tag {
    font-size: 12px;
    text-align: right;
  }

  .site-hero {
    padding: 60px 22px 64px;
  }

  .site-hero h1,
  h1 {
    font-size: 32px;
  }

  .site-hero .sub {
    font-size: 16px;
  }

  .hero-actions {
    max-width: 420px;
    flex-direction: column;
    align-items: stretch;
    margin-right: auto;
    margin-left: auto;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section.paper {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-page .section:first-of-type .cols,
  .home-page .tools-grid,
  .cols {
    grid-template-columns: 1fr;
  }

  .card,
  .tool {
    padding: 21px;
  }

  .buy,
  .go {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  iframe.demo {
    height: 940px;
  }

  .success-card {
    margin: 28px auto 48px;
    padding: 24px 20px;
  }

  .builder-page .grid,
  .builder-page .grid3 {
    grid-template-columns: 1fr;
  }

  .builder-page .builder-heading {
    font-size: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer {
    padding: 38px 20px 22px;
  }

  .footer-legal {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
