* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --background: #fff;
  --foreground: #09090b;
  --card: #fff;
  --muted: #f4f4f5;
  --muted-foreground: #52525b;
  --border: #e4e4e7;
  --input: #d4d4d8;
  --primary: #18181b;
  --primary-foreground: #fafafa;
  --ring: #71717a;
  --radius: 12px;
  --wrap: 1120px;
}
body { margin: 0; background: var(--background); color: var(--foreground); font: 400 1rem/1.55 "Segoe UI", system-ui, sans-serif; }
.wrap { max-width: var(--wrap); width: calc(100% - 80px); margin-inline: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }
a, summary { transition: background-color .16s, color .16s; }
.header { border-bottom: 1px solid var(--border); }
.header-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.04rem; font-weight: 740; letter-spacing: -.035em; text-decoration: none; }
.mark { width: 29px; height: 29px; background: var(--primary); color: white; display: grid; place-content: center; justify-items: center; gap: 3px; border-radius: 8px; }
.mark i { width: 10px; height: 1px; background: currentColor; transform: skewY(-24deg); }
.mark i:nth-child(2) { width: 14px; }
.header nav { display: flex; align-items: center; gap: 3px; }
.header nav a { font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--muted-foreground); padding: 8px 12px; border-radius: 7px; white-space: nowrap; }
.header nav a:hover, .header nav a[aria-current] { background: var(--muted); color: var(--foreground); }
.header nav a:last-child { color: var(--foreground); border: 1px solid var(--border); margin-left: 7px; }
.mobile-nav { display: none; }
.skip { position: absolute; left: 12px; top: 10px; z-index: 10; background: white; padding: 8px 12px; transform: translateY(-170%); }
.skip:focus { transform: none; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(2.65rem, 6vw, 4.65rem); line-height: 1.02; letter-spacing: -.063em; font-weight: 730; overflow-wrap: break-word; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.45rem); line-height: 1.14; letter-spacing: -.044em; font-weight: 690; }
h3 { font-size: 1.08rem; line-height: 1.26; letter-spacing: -.025em; font-weight: 650; }
p, address, dd { color: var(--muted-foreground); }
.hero { padding-block: 68px 48px; max-width: 830px; }
.hero.home { padding: 0; }
.home-layout { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(30px, 5vw, 65px); padding-block: 64px; }
.kicker { display: inline-flex; align-items: center; gap: 7px; padding: 3px 9px; margin-bottom: 16px; border: 1px solid var(--border); border-radius: 999px; width: fit-content; font-size: .75rem; font-weight: 600; color: var(--foreground); background: var(--background); }
.kicker span { width: 6px; height: 6px; border-radius: 50%; background: #71717a; }
.lede { max-width: 605px; margin-top: 17px; font-size: clamp(1rem, 1.9vw, 1.16rem); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 8px 14px; border: 1px solid var(--primary); border-radius: 8px; font-size: .875rem; font-weight: 620; color: var(--primary-foreground); background: var(--primary); text-decoration: none; }
.button:hover { background: #3f3f46; }
.button.secondary { background: white; color: var(--foreground); border-color: var(--input); }
.button.secondary:hover { background: var(--muted); }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 26px; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--card); box-shadow: 0 1px 2px #0000000b; overflow: hidden; }
.feature p:not(.kicker) { margin: 9px 0 17px; max-width: 42ch; }
.home-layout .feature { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 0; padding: 0; }
.home-layout .feature > div { padding: 16px 20px 20px; }
.home-layout .feature h2 { font-size: 1.5rem; }
.home-layout .feature .kicker, .home-layout .feature .button { display: none; }
.editor { width: min(100%, 320px); margin: 0 auto; }
.editor img { width: 100%; height: auto; display: block; border-radius: 8px; background: #18181b; }
.editor figcaption { color: var(--muted-foreground); font-size: .75rem; margin-top: 8px; }
.home-layout .editor { width: 100%; border-bottom: 1px solid var(--border); padding: 15px 15px 9px; background: var(--muted); }
.home-layout .editor img { aspect-ratio: 1.48; object-fit: cover; object-position: center 42%; }
.home-layout .feature p:not(.kicker) { margin: 7px 0 0; font-size: .9rem; }
.section { padding-block: 40px; border-top: 1px solid var(--border); }
.section .lede { margin-top: 8px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.grid article { border: 1px solid var(--border); border-radius: var(--radius); padding: 21px; background: var(--card); box-shadow: 0 1px 2px #00000008; }
.grid p { margin-top: 8px; font-size: .95rem; }
.grid h2 { font-size: 1.18rem; }
.contact-grid { margin: 0 0 24px; }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: start; }
.split p, .prose p, .prose address { margin-top: 10px; }
.prose { max-width: 760px; }
.prose section + section { margin-top: 27px; }
.prose h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
.prose .button { margin-top: 15px; }
.legal { border-top: 1px solid var(--border); padding-top: 28px; }
address { font-style: normal; }
.identity { margin: 15px 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.identity div { display: grid; grid-template-columns: minmax(105px, 1fr) 2fr; gap: 12px; padding: 11px 14px; }
.identity div + div { border-top: 1px solid var(--border); }
.identity div:nth-child(odd) { background: #fafafa; }
.identity dt { font-weight: 650; }
.identity dd { margin: 0; overflow-wrap: anywhere; }
details:not(.mobile-nav) { border-bottom: 1px solid var(--border); padding: 9px 0; }
summary { font-weight: 620; cursor: pointer; padding: 7px 0; }
main { padding-bottom: 54px; }
footer { border-top: 1px solid var(--border); background: #fafafa; padding: 38px 0 20px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 22px; }
footer p { margin: 10px 0; max-width: 30ch; }
footer nav { display: grid; align-content: start; gap: 3px; }
footer nav a { font-size: .88rem; color: var(--muted-foreground); padding: 4px 0; text-decoration: none; }
footer nav a:hover { text-decoration: underline; }
footer h2 { font-size: .88rem; letter-spacing: 0; margin-bottom: 4px; }
.footer-line { grid-column: 1/-1; border-top: 1px solid var(--border); padding-top: 14px; font-size: .78rem; color: var(--muted-foreground); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 44px); }
  .header nav a { padding-inline: 8px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 670px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { height: 60px; position: relative; }
  .header-inner > nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; align-items: center; gap: 8px; padding: 6px 11px; border: 1px solid var(--border); border-radius: 7px; min-height: 40px; font-size: .875rem; }
  .mobile-nav summary::after { content: "+"; }
  .mobile-nav[open] summary::after { content: "−"; }
  .mobile-nav nav { position: absolute; right: 0; top: calc(100% - 3px); z-index: 2; display: grid; min-width: 190px; gap: 3px; padding: 5px; border: 1px solid var(--border); border-radius: 9px; background: white; box-shadow: 0 5px 14px #0002; }
  .mobile-nav nav a:last-child { margin: 0; border: 0; }
  .hero { padding-block: 43px 30px; }
  .home-layout { grid-template-columns: 1fr; padding-block: 43px 26px; gap: 24px; }
  .feature, .split, .grid { grid-template-columns: 1fr; }
  .section { padding-block: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
.footer-contact { display: grid; gap: 4px; justify-items: start; font-size: .875rem; }
.editor { width: min(100%, 460px); }
.showcase {
  display: grid;
  place-items: center;
  aspect-ratio: 1.45;
  padding: 4% 10%;
  overflow: hidden;
  background: #151123 url("/assets/tidy-cut-backdrop.webp") center / cover;
  border-radius: 9px;
}
.device {
  width: min(55%, 220px);
  padding: 5px;
  background: #111116;
  border: 1px solid #7d7590;
  border-radius: 15px;
  box-shadow: 0 12px 30px #0009, 0 0 0 2px #ffffff20;
}
.editor .device img { width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; border-radius: 10px; }
.home-layout .editor { padding: 11px 11px 8px; }

.showcase .device { width: min(48%, 180px); }
