:root {
  color-scheme: light;
  --ink: #071326;
  --muted: #536173;
  --blue: #0865f2;
  --blue-dark: #034fc2;
  --blue-soft: #e8f2ff;
  --line: #dfe7f3;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --navy: #051224;
  --shadow: 0 18px 45px rgba(21, 57, 98, 0.14);
  --radius: 8px;
  --content: min(1180px, calc(100vw - 48px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--content);
  margin: 0 auto;
  padding: 26px 0 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: max-content;
}

.brand-main {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.brand-main span {
  color: var(--blue);
}

.brand-sub {
  color: #6e7786;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 36px);
  color: #182235;
  font-size: 0.96rem;
  font-weight: 760;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: var(--radius);
  font-weight: 820;
  line-height: 1;
}

.nav-button {
  min-height: 44px;
  padding: 0 20px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(8, 101, 242, 0.22);
}

.nav-button:hover {
  color: #fff !important;
  background: var(--blue-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 1.02fr) minmax(420px, 0.98fr);
  align-items: stretch;
  width: var(--content);
  min-height: clamp(680px, 74vh, 900px);
  margin: 0 auto;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: auto 42% 0 -10%;
  z-index: -1;
  height: 42%;
  background: linear-gradient(90deg, rgba(232, 242, 255, 0.9), rgba(232, 242, 255, 0));
  content: "";
}

.hero-copy {
  align-self: center;
  max-width: 720px;
  padding: 42px 0 88px;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.4rem, 5.65vw, 5.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

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

.rule {
  width: 66px;
  height: 5px;
  margin: 28px 0 26px;
  border-radius: 999px;
  background: var(--blue);
}

.hero p {
  max-width: 520px;
  margin: 0;
  color: #1b2738;
  font-size: clamp(1.12rem, 2vw, 1.46rem);
  font-weight: 560;
  line-height: 1.48;
}

.signature {
  margin-top: 18px !important;
  color: var(--blue) !important;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.8rem, 3vw, 2.45rem) !important;
  font-weight: 500 !important;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.button {
  padding: 0 26px;
  border: 2px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 28px rgba(8, 101, 242, 0.24);
}

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

.button-secondary {
  color: var(--blue-dark);
  border-color: #9ebded;
  background: rgba(255, 255, 255, 0.78);
}

.button-secondary:hover {
  box-shadow: 0 12px 24px rgba(20, 57, 98, 0.12);
}

.hero-media {
  position: relative;
  min-height: clamp(620px, 70vh, 900px);
  overflow: hidden;
}

.hero-media::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 30%;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.84) 36%, rgba(255, 255, 255, 0) 100%);
  content: "";
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 16% 48%;
}

.principles {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--content);
  margin: -72px auto 44px;
  padding: 30px 34px;
  border: 1px solid rgba(201, 214, 232, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.principles article {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 164px;
  padding: 10px 26px 0;
  text-align: center;
}

.principles article + article {
  border-left: 1px solid var(--line);
}

.principles svg,
.app-icon svg,
.mail-icon svg,
.footer-icons svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.principles svg {
  width: 54px;
  height: 54px;
  color: var(--blue);
  margin-bottom: 16px;
}

.principles h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 860;
  line-height: 1.18;
}

.principles p {
  margin: 0;
  color: #273346;
  font-size: 0.95rem;
  font-weight: 560;
  line-height: 1.45;
}

.apps-section {
  width: var(--content);
  margin: 0 auto 34px;
  padding: 36px 46px 42px;
  border-radius: var(--radius);
  background: linear-gradient(118deg, #e8f7ff 0%, #f6fbff 42%, #fde7fb 100%);
}

.section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
}

.section-heading h2,
.approach h2,
.about-card h2,
.story-copy h2,
.newsletter h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 890;
  letter-spacing: 0;
  line-height: 1.08;
}

.section-heading .rule,
.approach .rule,
.about-card .rule {
  width: 48px;
  height: 4px;
  margin: 14px 0 0;
}

.section-heading a,
.about-card a {
  color: var(--blue-dark);
  font-weight: 820;
  white-space: nowrap;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 250px;
  padding: 24px 16px 18px;
  border: 1px solid rgba(208, 219, 235, 0.85);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  box-shadow: 0 12px 24px rgba(39, 71, 115, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(39, 71, 115, 0.14);
}

.featured-app {
  border-color: rgba(8, 101, 242, 0.24);
}

.app-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  border-radius: 22px;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26), 0 14px 24px rgba(21, 50, 92, 0.16);
}

.app-icon svg {
  width: 54px;
  height: 54px;
  stroke-width: 2;
}

.app-icon-kona {
  background: radial-gradient(circle at 65% 20%, #ff4fd8 0 8%, transparent 18%), linear-gradient(145deg, #16133b, #050513 58%, #8c54ff);
}

.app-icon-bat {
  background: linear-gradient(145deg, #ce101a, #f7b23b 52%, #0d2744);
}

.app-icon-forms {
  background: linear-gradient(145deg, #13d0a7, #18a5eb 48%, #8c44f2);
}

.app-icon-groomers {
  background: linear-gradient(145deg, #12b981, #0b86f1 48%, #1d3a8a);
}

.app-icon-more {
  background: linear-gradient(145deg, #ff9a12, #ff7c0a);
}

.app-card h3 {
  margin: 0 0 4px;
  min-height: 2.35em;
  font-size: 1.24rem;
  font-weight: 870;
  line-height: 1.12;
}

.app-card p {
  flex: 1;
  margin: 0;
  color: #273346;
  font-size: 0.94rem;
  font-weight: 590;
  line-height: 1.36;
}

.platforms {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  color: #55718e;
  font-size: 0.74rem;
  font-weight: 800;
}

.platforms span {
  padding: 2px 5px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 0.86fr 1.12fr;
  gap: 32px;
  width: var(--content);
  margin: 0 auto 34px;
  padding: 34px 0 0;
}

.approach,
.about-card {
  padding: 34px 28px;
  border-left: 1px solid var(--line);
}

.approach ul {
  display: grid;
  gap: 15px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #1d2b3e;
  font-weight: 720;
}

.approach li {
  position: relative;
  padding-left: 40px;
}

.approach li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}

.approach li::after {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(-45deg);
}

.sketch-panel {
  display: flex;
  align-items: center;
  min-height: 320px;
  color: #cbd7e7;
}

.sketch-panel svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.about-card {
  display: grid;
  grid-template-columns: 1fr minmax(120px, 190px);
  gap: 24px;
  align-items: center;
}

.about-card p,
.story-copy p,
.newsletter p {
  margin: 0 0 18px;
  color: #1d2b3e;
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.55;
}

.about-card img {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 16% 55%;
  box-shadow: 0 12px 28px rgba(20, 53, 94, 0.14);
}

.story-section {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 44px;
  align-items: center;
  width: var(--content);
  margin: 0 auto 34px;
  padding: 40px 0 20px;
}

.story-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.story-copy {
  max-width: 500px;
}

.story-copy h2 {
  margin-bottom: 18px;
}

.story-copy .button {
  margin-top: 10px;
}

.newsletter {
  display: grid;
  grid-template-columns: auto 1fr minmax(320px, 420px);
  gap: 26px;
  align-items: center;
  width: var(--content);
  margin: 0 auto 0;
  padding: 30px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 35px rgba(30, 58, 98, 0.08);
}

.mail-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
}

.mail-icon svg {
  width: 38px;
  height: 38px;
}

.newsletter h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.newsletter p {
  margin: 6px 0 0;
}

.subscribe-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.subscribe-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.subscribe-form input {
  min-width: 0;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  outline: none;
}

.subscribe-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 101, 242, 0.12);
}

.subscribe-form button {
  height: 52px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 24px;
  color: #fff;
  background: var(--blue);
  font-weight: 820;
  cursor: pointer;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 20px;
  color: var(--blue-dark) !important;
  font-size: 0.88rem !important;
  font-weight: 760 !important;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) 1fr auto auto;
  gap: 40px;
  align-items: center;
  margin-top: -34px;
  padding: 86px max(24px, calc((100vw - 1180px) / 2)) 30px;
  color: #dbe8f7;
  background: var(--navy);
}

.brand-footer .brand-main {
  color: #fff;
  font-size: 1.65rem;
}

.brand-footer .brand-sub {
  color: #95a8bd;
}

.site-footer p {
  max-width: 290px;
  margin: 0;
  color: #c7d3e2;
  font-weight: 600;
  line-height: 1.45;
}

.site-footer nav,
.footer-icons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer nav a {
  color: #dbe8f7;
  font-weight: 760;
}

.footer-icons a {
  color: #dbe8f7;
}

.footer-icons svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.site-footer small {
  grid-column: 1 / -1;
  justify-self: center;
  color: #8294ab;
  font-weight: 560;
}

@media (max-width: 1060px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(320px, calc(100vw - 48px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 40px;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-media::before {
    width: 100%;
    height: 28%;
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
  }

  .principles {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 28px;
  }

  .principles article:nth-child(3) {
    border-left: 0;
  }

  .principles article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

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

  .split-section,
  .story-section,
  .newsletter,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .sketch-panel {
    min-height: 220px;
  }

  .about-card {
    grid-template-columns: 1fr 180px;
  }

  .newsletter {
    align-items: start;
  }

  .site-footer {
    margin-top: -22px;
    gap: 26px;
  }

  .site-footer small {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  :root {
    --content: min(100vw - 28px, 1180px);
  }

  .site-header {
    padding-top: 18px;
  }

  .brand-main {
    font-size: 1.38rem;
  }

  .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.34em;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .hero-copy {
    padding-top: 34px;
  }

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

  .button {
    width: 100%;
  }

  .principles {
    grid-template-columns: 1fr;
    padding: 12px 22px;
  }

  .principles article {
    border-left: 0 !important;
    border-top: 1px solid var(--line);
    min-height: 0;
    padding: 24px 8px;
  }

  .principles article:first-child {
    border-top: 0;
  }

  .apps-section,
  .newsletter {
    padding: 26px 18px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .app-card {
    min-height: 0;
  }

  .split-section {
    gap: 18px;
  }

  .approach,
  .about-card {
    padding: 26px 18px;
  }

  .about-card {
    grid-template-columns: 1fr;
  }

  .about-card img {
    max-width: 260px;
  }

  .story-section {
    gap: 24px;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .site-footer nav,
  .footer-icons {
    flex-wrap: wrap;
  }
}
