@font-face {
  font-family: Manrope;
  src: url("assets/manrope-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #142b37;
  --muted: #506672;
  --teal: #08666c;
  --line: #dbe6e9;
  --paper: #f9fbfc;
  --white: #fff;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4.25vw, 4rem);
  --radius: 1.35rem;
  font: 400 100% / 1.6 Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #00858c; outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 7vw, 7rem); }

.skip-link {
  position: fixed;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  border-radius: .5rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid #e2e9ed;
  background: #f9fbfcf5;
  backdrop-filter: blur(16px);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.75rem;
  gap: 1.25rem;
}
.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: .72rem;
  width: fit-content;
  color: #0f2b65;
  font-size: 1.21rem;
  line-height: 1;
  letter-spacing: .09em;
  font-weight: 800;
  text-decoration: none;
}
.brand img { border-radius: .42rem; flex: none; }
.site-nav, .header-actions { display: flex; align-items: center; gap: clamp(1.15rem, 2.5vw, 2.5rem); }
.site-nav > a, .desktop-account, .site-footer a:not(.brand) {
  font-weight: 750;
  font-size: .875rem;
  text-decoration: none;
}
.site-nav > a:hover, .desktop-account:hover, .site-footer a:not(.brand):hover { color: var(--teal); text-decoration: underline; text-underline-offset: .23em; }
.header-actions { justify-content: end; gap: 1.1rem; }
.menu-button, .site-nav .mobile-account { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .68rem;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.button-primary { color: #fff; background: #113e49; box-shadow: 0 4px 10px #17485220; }
.button-primary:hover { background: var(--teal); box-shadow: 0 4px 14px #17485230; }
.button-outline { border-color: #c8dce0; background: #ffffff7a; }
.button-outline:hover { border-color: #76a9ae; background: #fff; }
.button-small { min-height: 2.65rem; padding-inline: 1rem; }
.button:disabled { opacity: .55; cursor: default; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: clamp(28rem, 37vw, 32.5rem);
  margin-top: clamp(1.4rem, 2.8vw, 2.5rem);
  overflow: hidden;
  border: 1px solid #dbe9ee;
  border-radius: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(104deg, #f2fbfd 10%, #e9f7fa 56%, #dff3fb);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(40rem, calc(100% + 3.5rem));
  padding: 3.75rem 0 3.75rem clamp(2rem, 5.05vw, 5.1rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--teal);
  font-size: .8125rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.hero h1 {
  margin-top: 1.45rem;
  font-size: clamp(2.7rem, 4.75vw, 4.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.075em;
}
.hero h1 em { color: #176d76; font-style: normal; }
.hero-description {
  max-width: 27rem;
  margin-top: 1.6rem;
  color: #3f5966;
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.85rem; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 39%; }
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
}

.products { padding-top: clamp(3.75rem, 5.9vw, 5.25rem); }
.section-intro {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(1.5rem, 3.15vw, 2.6rem);
}
.section h2 {
  margin-top: .55rem;
  max-width: 20ch;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.057em;
}
.section-intro > p, .contact-copy > p:not(.eyebrow) {
  max-width: 30rem;
  color: var(--muted);
  line-height: 1.7;
}
.section-intro > p { justify-self: end; }
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.8rem, 1.8vw, 1.45rem); }
.product-card { grid-column: span 2; }
.product-card:nth-child(n+4) { grid-column: span 3; }
.product-card:nth-child(n+4) .product-visual { height: clamp(12.5rem, 21vw, 16rem); }
.product-card, .portfolio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.product-visual {
  position: relative;
  isolation: isolate;
  height: clamp(10.75rem, 17vw, 13.75rem);
  overflow: hidden;
}
.kasa-visual {
  background: radial-gradient(ellipse at 65% 25%, #f0fdfa, #d7f0eb);
}
.kasa-tablet, .kasa-phone { position: absolute; height: auto; border: 3px solid #1c3743; }
.kasa-tablet {
  top: 21%;
  left: 9%;
  width: 69%;
  border-radius: clamp(.48rem, 1vw, .85rem);
  transform: rotate(-8deg);
  box-shadow: 0 .8rem 1.6rem #194d5340;
}
.kasa-phone {
  top: 19%;
  right: 10%;
  width: 22%;
  border-radius: clamp(.5rem, 1.2vw, 1.05rem);
  transform: rotate(12deg);
  box-shadow: 0 .8rem 1.4rem #12252d48;
}
.sms-visual { background: radial-gradient(ellipse at 70% 10%, #f7f4fd, #e9e3f7); }
.sms-mock {
  position: absolute;
  top: 19%;
  left: 10%;
  width: 74%;
  padding: clamp(.65rem, 2vw, 1rem);
  border: 1px solid #fff;
  border-radius: 1rem;
  background: #ffffffed;
  box-shadow: 0 .8rem 2rem #58497a24;
  transform: rotate(-6deg);
}
.sms-header { display: flex; align-items: center; gap: .55rem; font-size: .875rem; line-height: 1.3; font-weight: 800; }
.sms-header small { display: block; margin-top: .18rem; color: #655c78; font-size: .75rem; font-weight: 600; }
.sms-avatar {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: none;
  place-items: center;
  border-radius: .65rem;
  color: #563783;
  background: #e9def8;
}
.sms-mock p { margin-top: .7rem; color: #413751; font-size: .875rem; line-height: 1.45; }
.sms-confirmation {
  position: absolute;
  right: 8%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .7rem;
  border: 1px solid #fff;
  border-radius: .6rem;
  color: #21494c;
  background: #f5fffd;
  box-shadow: 0 6px 14px #49365d24;
  font-size: .75rem;
  font-weight: 800;
}
.sms-confirmation span { color: #087469; }
.flip-visual { background: radial-gradient(ellipse at 25% 25%, #eff9ff, #dfebfa); }
.book {
  position: absolute;
  inset: 14% 17% 13%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: rotate(-9deg) skewX(-6deg);
  border-radius: .5rem;
  box-shadow: 0 1rem 1.6rem #25496735;
}
.book-cover, .book-page { min-width: 0; padding: 12%; }
.book-cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: .5rem 0 0 .5rem;
  color: #fff;
  background: radial-gradient(ellipse at 6% 90%, #2a9ba5, transparent 70%), linear-gradient(125deg, #153e64, #172b54);
}
.book-cover span { font-size: .75rem; font-weight: 800; }
.book-cover strong { font-size: clamp(1.15rem, 2.1vw, 1.85rem); line-height: .95; letter-spacing: -.075em; }
.book-page { border-radius: 0 .5rem .5rem 0; background: linear-gradient(90deg, #e0ebef, #fbfeff 18%); }
.book-page span { display: block; width: 100%; height: 58%; border-radius: .25rem; background: linear-gradient(150deg, #a2b5ef, #b1d9df 47%, #dfecf7); }
.book-page i { display: block; width: 90%; height: 3px; margin-top: .45rem; border-radius: 2px; background: #cad9e4; }
.book-page i:last-child { width: 60%; }
.product-body, .portfolio-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(1.15rem, 2.1vw, 1.65rem); }
.category { color: #08656a; font-size: .875rem; font-weight: 800; }
.category-violet { color: #654489; }
.category-blue { color: #365d89; }
.category-liga { color: #50437c; }
.product-body h3, .portfolio-copy h3 {
  margin-top: .42rem;
  font-size: clamp(1.45rem, 2.15vw, 1.85rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.product-body > p:not(.category), .portfolio-copy > p:not(.category) { margin-top: .75rem; margin-bottom: 1.15rem; color: var(--muted); }
.product-links { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 1rem; row-gap: .4rem; margin-top: auto; }
.text-link { color: var(--teal); font-size: .875rem; font-weight: 800; text-decoration-thickness: 1px; text-decoration-color: #85adb0; text-underline-offset: .26em; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link-secondary { color: var(--muted); }

.portfolio-band { border-block: 1px solid #e2ecef; background: #f0f6f8; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.45rem); }
.portfolio-visual { height: clamp(12rem, 23.5vw, 18.5rem); overflow: hidden; background: #e0ecf1; }
.portfolio-visual img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-preview {
  padding: clamp(.65rem, 1.6vw, 1.15rem) clamp(.65rem, 1.6vw, 1.15rem) 0;
}
.portfolio-preview img {
  border: 1px solid #263f4520;
  border-bottom: 0;
  border-radius: .65rem .65rem 0 0;
  object-position: center top;
  box-shadow: 0 .5rem 1.5rem #253d4621;
}
.preview-kasa { background: #e5ecf4; }
.preview-liga { background: #eeebdf; }
.preview-cz { background: #e7eee3; }
.preview-sk { background: #e4efe9; }
.preview-refan { background: #efe4d4; }
.preview-refan img { object-position: center; }
.tiande-app-visual { background: radial-gradient(ellipse at 50% 80%, #eff9e8, #d3e9d8); }
.tiande-screen-stack {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: min(94%, 29rem);
  height: 100%;
  margin-inline: auto;
  padding-top: 1rem;
}
.tiande-app-visual .tiande-screen {
  width: clamp(4.55rem, 29%, 8.4rem);
  height: auto;
  flex: none;
  border: 3px solid #203b33;
  border-radius: clamp(.55rem, 1.3vw, 1.05rem);
  background: #fffafc;
  box-shadow: 0 .75rem 1.65rem #234f3e44;
}
.tiande-screen-catalogue { margin-top: 1.45rem; transform: rotate(-11deg); }
.tiande-screen-home { z-index: 1; margin-inline: -.25rem; }
.tiande-screen-detail { margin-top: 1.55rem; transform: rotate(11deg); }
.portfolio-copy > .text-link { margin-top: auto; }

.approach { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); }
.approach-details > div { padding-block: 1.15rem; border-top: 1px solid var(--line); }
.approach-details > div:last-child { border-bottom: 1px solid var(--line); }
.approach-details h3 { font-size: 1.1rem; font-weight: 800; }
.approach-details p { margin-top: .3rem; color: var(--muted); }

.liga-visual { background: radial-gradient(ellipse at 28% 40%, #f9f5ff, #e8e1f6 74%); }
.liga-icon, .liga-phone { position: absolute; height: auto; }
.liga-icon {
  top: 36%;
  left: calc(50% - min(36%, 9rem));
  width: clamp(3rem, 26%, 6.35rem);
  border-radius: 23%;
  transform: rotate(-9deg);
  box-shadow: 0 .55rem 1.25rem #4b3b6538;
}
.liga-phone {
  top: 12%;
  right: calc(50% - min(43%, 10.6rem));
  width: min(45%, 10rem);
  border: 3px solid #2c2640;
  border-radius: clamp(.7rem, 1.25vw, 1.2rem);
  transform: rotate(9deg);
  box-shadow: 0 .8rem 1.55rem #4b3b6540;
}

.contact-band {
  border-block: 1px solid #dbecee;
  background: radial-gradient(ellipse at 16% 17%, #f3fcfd 2%, transparent 66%), linear-gradient(115deg, #e7f5f4, #e4f1f8);
}
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(1.75rem, 6vw, 6rem); }
.contact-copy > p:not(.eyebrow) { margin-top: 1rem; }
.contact-info { margin-top: 1.4rem; font-style: normal; }
.contact-info > div { display: grid; gap: .16rem; padding: .85rem 0; border-top: 1px solid #ccdfe2; overflow-wrap: anywhere; }
.contact-info span, .contact-info small { color: var(--muted); font-size: .875rem; }
.contact-info span { font-weight: 800; }
.contact-info a { width: fit-content; color: var(--teal); font-weight: 800; text-underline-offset: .22em; }
.contact-panel {
  padding: clamp(1.2rem, 3.5vw, 2.65rem);
  border: 1px solid #d8e9ed;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1rem 3rem #204b5a0e;
}
.contact-panel h3 { margin-bottom: 1.05rem; font-size: 1.55rem; line-height: 1.2; font-weight: 800; letter-spacing: -.045em; }
.contact-panel form { display: grid; gap: .95rem; }
.contact-panel label { min-width: 0; display: block; font-size: .875rem; font-weight: 800; }
.contact-panel label > span { color: var(--teal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.contact-panel :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-height: 2.85rem;
  margin-top: .33rem;
  padding: .58rem .75rem;
  border: 1px solid #cddde2;
  border-radius: .55rem;
  color: var(--ink);
  background: #f9fbfc;
  font-size: 1rem;
  font-weight: 500;
}
.contact-panel select {
  appearance: none;
  padding-right: 2.3rem;
  background-image: linear-gradient(45deg, transparent 50%, #506672 50%),
    linear-gradient(135deg, #506672 50%, transparent 50%);
  background-position: right 1.22rem center, right .92rem center;
  background-size: .3rem .3rem;
  background-repeat: no-repeat;
}
.contact-panel textarea { min-height: 7rem; resize: vertical; }
.contact-panel textarea::placeholder { color: #647784; }
.contact-panel :is(input, select, textarea):focus { border-color: #19787e; outline: 2px solid #19787e; outline-offset: 1px; }
.form-note, .privacy-link { color: var(--muted); font-size: .875rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; }
.privacy-link { text-underline-offset: .18em; }
.form-feedback:not(:empty) { padding: .75rem; border-radius: .55rem; color: #125754; background: #e5f6f2; font-size: .875rem; font-weight: 800; }

.site-footer { padding-block: 1.5rem; }
.footer-inner { display: flex; align-items: center; gap: .9rem 1.25rem; flex-wrap: wrap; }
.footer-inner .brand { gap: .6rem; font-size: 1rem; }
.footer-inner small { margin-right: auto; color: var(--muted); font-size: .8125rem; }

@media (max-width: 72rem) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card, .product-card:nth-child(n+4) { grid-column: auto; }
  .product-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 53rem) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: .65rem; }
  .site-nav { justify-content: center; gap: clamp(.75rem, 2vw, 1.15rem); }
  .hero-copy { padding-left: clamp(1.5rem, 4vw, 3rem); }
  .hero-art { left: 40%; }
  .product-body { padding: 1.05rem; }
  .product-visual { height: 10.5rem; }
  .product-links { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 42rem) {
  html { scroll-padding-top: 5rem; }
  .header-inner { display: flex; flex-wrap: wrap; position: relative; min-height: 4.35rem; padding-block: .65rem; }
  .header-inner > .brand { margin-right: auto; }
  .menu-button {
    display: block;
    min-height: 2.65rem;
    padding-inline: .65rem;
    border: 1px solid transparent;
    border-radius: .5rem;
    color: var(--ink);
    background: transparent;
    font-size: .875rem;
    font-weight: 800;
    cursor: pointer;
  }
  .menu-button:hover { background: #e9f4f4; }
  .site-nav {
    order: 4;
    flex-basis: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: .55rem 1rem;
  }
  .menu-button:not([hidden]) ~ .site-nav {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    right: 0;
    display: grid;
    gap: .1rem;
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: var(--white);
    box-shadow: 0 .7rem 1.5rem #21465319;
  }
  .menu-button[aria-expanded="false"]:not([hidden]) ~ .site-nav { display: none; }
  .menu-button:not([hidden]) ~ .site-nav a { padding: .65rem .7rem; }
  .desktop-account { display: none; }
  .site-nav .mobile-account { display: block; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { width: 100%; padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1.25rem, 5vw, 2rem) .75rem; }
  .hero h1 { margin-top: .9rem; font-size: clamp(2.25rem, 9.1vw, 4rem); }
  .hero-description { margin-top: 1rem; }
  .hero-actions { gap: .55rem; margin-top: 1.2rem; }
  .hero-art { position: relative; inset: auto; margin-top: -.4rem; }
  .hero-art img {
    width: 100%;
    height: clamp(13rem, 59vw, 23rem);
    object-fit: cover;
    mask-image: linear-gradient(180deg, transparent 0, #000 17%);
  }
  .section-intro, .approach, .contact-layout { grid-template-columns: 1fr; }
  .section-intro { gap: .7rem; }
  .section-intro > p { justify-self: start; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { height: clamp(12rem, 46vw, 16rem); }
  .product-body, .portfolio-copy { padding: 1.3rem; }
  .product-links { flex-direction: row; }
  .book { inset-inline: 22%; }
  .book-cover strong { font-size: clamp(1.35rem, 4.5vw, 2rem); }
  .sms-mock { top: 25%; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-visual { height: clamp(11rem, 42vw, 14rem); }
  .contact-panel { padding: 1.25rem; }
  .footer-inner small { margin-right: 0; }
}

@media (max-width: 24rem) {
  .hero h1 { font-size: clamp(2rem, 10vw, 2.45rem); }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body.admin-bar .site-header { top: 32px; }
body.admin-bar { scroll-padding-top: 8rem; }
.contact-honeypot { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-feedback[data-state="error"] { color: #852c2c; background: #fff0ee; }
.form-feedback[data-state="sending"] { color: var(--teal); background: #eef8f9; }

@media (min-width: 601px) and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
}
