/* Untash Apps: quiet, precise corporate. One typeface, generous space, ink and one coral accent. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --soft: #f6f5f2;
  --surface: #ffffff;
  --ink: #0e1015;
  --muted: #5d5f67;
  --line: rgba(14, 16, 21, .1);
  --accent: #c8401c;
  --glass: rgba(255, 255, 255, .82);
  --navy: #0e1015;
  --on-navy: #f6f5f2;
  --on-navy-muted: #adafb7;
  --navy-line: rgba(246, 245, 242, .16);
  --coral: #ff5a36;
  --coral-soft: #ff8467;
  --shadow: 0 1px 2px rgba(14, 16, 21, .04), 0 12px 32px rgba(14, 16, 21, .06);
  --r-l: 32px;
  --r-m: 20px;
  --edge: clamp(16px, 2.4vw, 32px);
  --inner: clamp(20px, 5vw, 80px);
  --font: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0b0f;
    --soft: #12141a;
    --surface: #15171e;
    --ink: #f6f5f2;
    --muted: #a6a8b0;
    --line: rgba(246, 245, 242, .12);
    --accent: #ff8467;
    --navy: #14161d;
    --glass: rgba(10, 11, 15, .78);
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 600; margin: 0; text-wrap: balance; letter-spacing: -.03em; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--edge); }
.tag { font-size: .94rem; font-weight: 500; letter-spacing: -.005em; color: var(--accent); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}
.top-in { max-width: 1440px; margin: 0 auto; padding: 14px calc(var(--edge) + 8px); display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.06rem; font-weight: 600; letter-spacing: -.02em; margin-right: auto; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand { white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav a { font-size: .95rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .15s ease; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.lang { display: flex; gap: 2px; padding-left: clamp(12px, 2vw, 24px); border-left: 1px solid var(--line); font-size: .88rem; font-weight: 500; }
.lang a, .lang span { padding: 3px 7px; border-radius: 6px; text-decoration: none; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang span { background: var(--line); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 12px; font-weight: 500; font-size: 1rem; line-height: 1.25; letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--coral); color: #1c0802; }
.btn.primary:hover { background: var(--coral-soft); }
.btn.ghost { border-color: var(--navy-line); color: var(--on-navy); }
.btn.ghost:hover { background: rgba(246, 245, 242, .08); border-color: rgba(246, 245, 242, .32); }

/* Ink showcase panel */
.panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-l); background: var(--navy); color: var(--on-navy); }
.panel .tag { color: var(--coral-soft); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--on-navy-muted); letter-spacing: -.012em; }

.hero { margin-top: var(--edge); text-align: center; padding-top: clamp(48px, 5.6vw, 84px); }
.hero-copy { max-width: 880px; margin: 0 auto; padding: 0 var(--inner); }
.hero h1 { font-size: clamp(2.9rem, 7.2vw, 6.1rem); line-height: 1.02; letter-spacing: -.048em; margin: 16px 0 22px; }
.hero .lead { max-width: 36em; margin: 0 auto; }
.hero .actions { justify-content: center; margin-top: 32px; }

/* Hero wall of app tiles, with the logo's U standing out */
.wall { display: block; width: 100%; max-width: none; height: clamp(260px, 27vw, 390px); margin-top: clamp(36px, 4vw, 56px); }
.wall .w0 { fill: rgba(246, 245, 242, .05); }
.wall .w1 { fill: rgba(246, 245, 242, .035); }
.wall .w2 { fill: rgba(246, 245, 242, .07); }
.wall .lit { fill: var(--on-navy); }
.wall .hot { fill: var(--coral); }

/* Phones rising out of the panel */
.phones { --pw: clamp(176px, 23vw, 318px); display: flex; justify-content: center; align-items: flex-start; gap: clamp(10px, 2vw, 28px); margin-top: clamp(44px, 6vw, 76px); height: calc(var(--pw) * 1.5); }
.phone { flex: none; width: var(--pw); max-width: none; height: auto; border-radius: 11% 11% 0 0 / 6.4% 6.4% 0 0; box-shadow: 0 -8px 60px rgba(0, 0, 0, .45); }
.phone.side { margin-top: calc(var(--pw) * .16); }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) var(--inner) 0; }
.section-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.08; letter-spacing: -.038em; margin-top: 8px; }
.section-head p:not(.tag) { color: var(--muted); margin-top: 14px; font-size: 1.14rem; }

/* App feature */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: var(--soft); border-radius: var(--r-l); overflow: hidden; text-decoration: none; transition: background-color .2s ease; }
.feature-copy { padding: clamp(28px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.feature-copy > img { width: 76px; height: auto; border-radius: 24%; }
.feature h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.06; letter-spacing: -.035em; margin: 22px 0 10px; }
.feature p { color: var(--muted); max-width: 30em; font-size: 1.1rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; padding: 0; list-style: none; }
.pills li { font-size: .88rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.more { color: var(--accent); font-weight: 500; }
.more i { font-style: normal; display: inline-block; transition: transform .16s ease; }
.feature:hover .more i { transform: translateX(4px); }
.feature-art { position: relative; height: clamp(320px, 34vw, 480px); background: var(--navy); overflow: hidden; display: flex; justify-content: center; padding-top: clamp(32px, 4vw, 56px); }
.feature-art img { width: clamp(220px, 21vw, 300px); height: auto; border-radius: 11% 11% 0 0 / 6.4% 6.4% 0 0; }

.next { margin-top: 16px; padding: 20px clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; border: 1px dashed var(--line); border-radius: var(--r-m); }
.next strong { font-weight: 600; letter-spacing: -.015em; }
.next span { color: var(--muted); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(24px, 2.4vw, 32px); box-shadow: var(--shadow); }
.ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--accent); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.grid h3 { font-size: 1.24rem; line-height: 1.25; letter-spacing: -.022em; margin: 20px 0 8px; }
.grid p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* Plain columns, for variety after cards */
.plain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); border-top: 1px solid var(--line); padding-top: clamp(28px, 3vw, 40px); }
.plain .ico { background: none; width: auto; height: auto; justify-items: start; }
.plain h3 { font-size: 1.24rem; line-height: 1.25; letter-spacing: -.022em; margin: 16px 0 8px; }
.plain p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* Call to action */
.cta { margin-top: clamp(72px, 9vw, 128px); padding: clamp(56px, 8vw, 104px) var(--inner); text-align: center; }
.cta h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.042em; margin: 10px 0 12px; }
.cta p:not(.tag) { color: var(--on-navy-muted); font-size: 1.14rem; }
.cta .btn { margin-top: 28px; }

/* App page */
.app-head { margin-top: var(--edge); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.app-copy { align-self: center; padding: clamp(48px, 7vw, 104px) var(--inner); }
.app-id { display: flex; align-items: center; gap: 18px; margin: 14px 0 20px; }
.app-id img { width: clamp(60px, 6vw, 84px); height: auto; border-radius: 24%; }
.app-id h1 { font-size: clamp(2.7rem, 5.6vw, 4.9rem); line-height: 1; letter-spacing: -.045em; }
.app-copy .lead { max-width: 28em; }
.app-copy .actions { margin-top: 30px; }
.app-head .phones { --pw: clamp(130px, 14vw, 202px); gap: 16px; margin-top: clamp(28px, 4vw, 56px); }

.know { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.know li { background: var(--soft); border-radius: var(--r-m); padding: clamp(22px, 2.6vw, 32px); color: var(--muted); }
.know strong { display: block; color: var(--ink); font-size: 1.16rem; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 8px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 40px); margin: 0; border-top: 1px solid var(--line); padding-top: clamp(28px, 3vw, 40px); }
.facts dt { font-size: .88rem; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-weight: 500; letter-spacing: -.012em; }

/* Legal pages */
.doc { padding: clamp(48px, 7vw, 96px) var(--inner) 0; }
.prose { max-width: 44em; margin: 0 auto; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.06; letter-spacing: -.04em; margin: 8px 0 20px; }
.prose h2 { font-size: 1.36rem; line-height: 1.25; letter-spacing: -.022em; margin: 40px 0 10px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose .box { background: var(--soft); border-radius: var(--r-m); padding: 22px 26px; margin: 26px 0; }
.prose .box ul { margin-bottom: 0; }

/* Footer */
.foot { margin-top: clamp(72px, 9vw, 120px); padding: clamp(40px, 5vw, 64px) var(--inner) 32px; border-top: 1px solid var(--line); font-size: .96rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { color: var(--muted); margin-top: 12px; max-width: 24em; }
.foot h3 { font-size: .9rem; font-weight: 500; letter-spacing: -.005em; color: var(--muted); margin-bottom: 12px; }
.foot-col a { display: block; padding: 3px 0; text-decoration: none; width: fit-content; }
.foot-col a:hover { color: var(--accent); }
.foot-end { margin-top: clamp(32px, 4vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* Entrance: content only shifts into place, it is never hidden */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .1s; } .d3 { animation-delay: .15s; } .d4 { animation-delay: .22s; }
  @keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
  /* The coral tile drops into its place in the U */
  .wall .hot { transform-box: fill-box; animation: drop .9s .25s cubic-bezier(.2, .9, .3, 1.15) both; }
  @keyframes drop { from { transform: translateY(-120px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .more i, .nav a { transition: none; } }

@media (max-width: 1040px) {
  .app-head { grid-template-columns: minmax(0, 1fr); }
  .app-head .phones { --pw: clamp(170px, 27vw, 260px); }
  .app-copy { padding-bottom: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three, .plain { grid-template-columns: 1fr; }
  .plain { gap: 28px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature-art { height: 340px; }
}
@media (max-width: 640px) {
  :root { --edge: 12px; --inner: 20px; --r-l: 24px; }
  body { font-size: 1rem; }
  .top-in { gap: 10px; padding: 12px 14px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand svg { width: 22px; height: 22px; }
  .nav { gap: 12px; }
  .nav a { font-size: .9rem; }
  .lang { padding-left: 8px; }
  .lang a, .lang span { padding: 3px 5px; }
  .nav a:nth-child(2) { display: none; }
  .grid, .know { grid-template-columns: 1fr; }
  .btn { flex: 1 1 auto; }
  .cta .btn { width: 100%; }
  .phones, .app-head .phones { --pw: 46vw; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
