/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url(../tia/webfonts/Poppins-200-italic-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url(../tia/webfonts/Poppins-200-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url(../tia/webfonts/Poppins-200-italic-latin.woff2) format('woff2');
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(../tia/webfonts/Poppins-200-normal-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(../tia/webfonts/Poppins-200-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(../tia/webfonts/Poppins-200-normal-latin.woff2) format('woff2');
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: bold;
  font-weight: 400;
  font-display: swap;
  src: url(../tia/webfonts/Poppins-400-normal-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: bold;
  font-weight: 400;
  font-display: swap;
  src: url(../tia/webfonts/Poppins-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: bold;
  font-weight: 400;
  font-display: swap;
  src: url(../tia/webfonts/Poppins-400-normal-latin.woff2) format('woff2');
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--ink: #000;
	--muted: #647887;
	--accent: #9BC5E7;
	--line: #dde7eb;
	--pale: #f1f8f8
}

* {
	box-sizing: border-box
}

body {
	margin: 0;
	color: var(--ink);
	font: 16px/1.6 Poppins,Arial;
	background: #fbfdfd;
	padding-bottom: 65px;
}

button, input, textarea {
	font: inherit
}

button, a {
	touch-action: manipulation
}

button {
	cursor: pointer
}

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

a:hover {
	text-decoration: underline
}

button:focus-visible, a:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 4px
}

.header {
	margin: auto;
	padding: 15px 35px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #edf1f3;
	position: sticky;
  	top: 0;
  	background-color: #fff;
  	z-index: 5;
}

.brand {
	font-size: 30px;
	font-weight: 780;
	letter-spacing: -1.4px
}

.brand span {
	color: var(--accent)
}

.brand img {
	vertical-align: middle;
	height: 50px;
}

nav {
	display: flex;
	gap: 30px;
	font-size: 16px;
	font-weight: 400
}

main {
	max-width: 1080px;
	margin: auto;
	padding: 61px 24px 0
}

.hero {
	text-align: center
}

.eyebrow {
	font-size: 14px;
	letter-spacing: 2.5px;
	font-weight: 700;
	color: var(--accent);
	margin: 0 0 17px
}

h1 {
	font-size: clamp(32px, 4.2vw, 51px);
	line-height: 1.15;
	letter-spacing: -1.9px;
	margin: 0 auto 20px;
	max-width: 820px;
	font-weight: 400
}

.intro {
	color: var(--muted);
	font-size: 17px;
	margin: 0 auto 31px;
	max-width: 630px
}

.chat {
	max-width: 810px;
	margin: auto;
	background: white;
	border: 1px solid var(--line);
	border-radius: 19px;
	padding: 29px 32px 23px;
	box-shadow: 0 14px 45px #173c4f09;
	text-align: left
}

.chat-heading {
	display: flex;
	align-items: center;
	gap: 13px
}

.spark {
	width: 39px;
	height: 39px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--pale);
	color: var(--accent);
	font-size: 24px;
	flex-shrink: 0
}

h2 {
	font-size: 21px;
	letter-spacing: -.5px;
	margin: 0;
	line-height: 1.4
}

.hint {
	color: var(--muted);
	font-size: 14px;
	margin: 10px 0 18px
}

.composer {
	border: 1px solid #cedee2;
	background: #fcfefe;
	border-radius: 12px;
	padding: 14px;
	transition: border-color .2s;
	padding-bottom: 8px;
	margin-top: 20px;
}

.composer:focus-within {
	border-color: var(--accent)
}

textarea {
	width: 100%;
	min-height: 72px;
	resize: vertical;
	border: 0;
	outline: 3px solid var(--accent);
	outline-offset: 4px;
	background: transparent;
	color: var(--ink);
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 10px;
  	border-radius: 5px;
}

textarea::placeholder {
	color: #87959f
}

.sendrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	position: relative;
}

.privacy {
	font-size: 13px;
	color: var(--muted);
	max-width: 450px;
	margin: 0
}

.primary {
	border: 0;
	background: var(--accent);
	color: white;
	border-radius: 8px;
	padding: 11px 18px;
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap
}

.primary:hover {
	background: #096872
}

.chips {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
	margin-top: 17px
}

.chip {
	border: 1px solid var(--line);
	background: white;
	color: #466170;
	border-radius: 24px;
	padding: 7px 13px;
	font-size: 12px
}

.chip:hover {
	background: var(--pale);
	border-color: #91bec4
}

.trust {
	text-align: center;
	color: #70838e;
	font-size: 12px;
	margin: 23px 0 43px
}

.trust span {
	margin: 0 12px;
	color: #b8c7cf
}

.categories {
	text-align: center;
	scroll-margin-top: 25px
}

.categories h2 {
	font-size: 20px
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 13px;
	margin-top: 21px
}

.category {
	border: 1px solid var(--line);
	border-radius: 12px;
	background: white;
	padding: 20px 10px 17px;
	color: var(--ink);
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 8px;
	transition: transform .2s, border-color .2s
}

.category:hover {
	transform: translateY(-3px);
	border-color: #83b8be
}

.category svg {
	width: 26px;
	height: 26px;
	stroke: var(--accent);
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round
}

.category strong {
	font-size: 14px
}

.category small {
	color: var(--muted);
	font-size: 13px
}

.how {
	padding: 60px 0 45px;
	scroll-margin-top: 25px
}

.how>h2 {
	text-align: center;
	margin-bottom: 25px
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px
}

.step b {
	font-size: 14px
}

.step p {
	font-size: 16px;
	color: var(--muted);
	margin: 6px 0
}

.num {
	font-size: 14px;
	color: var(--accent);
	font-weight: 700;
	display: block;
	margin-bottom: 7px
}

footer {
	margin: auto;
	padding: 23px 35px;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	gap: 20px;
	color: var(--muted);
	font-size: 16px
}

.messages {
	display: none;
	max-height: 310px;
	overflow: auto;
	margin: 17px 0
}

.messages.active {
	display: block
}

.trv_hp_tia_user_question, .trv_hp_tia_answer {
	padding: 10px 15px;
	border-radius: 12px;
	margin: 9px 0;
	font-size: 16px;
	white-space: pre-wrap
}

.trv_hp_tia_user_question {
	background: var(--pale);
	margin-left: 35px;
	color: #888;
}

.trv_hp_tia_answer {
	background: #f5f7f9;
	margin-right: 25px;
}

.trv_hp_tia_answer p {
	margin: 0;	
}

.demo {
	font-size: 13px;
	color: var(--muted);
	margin: 14px 0 0;
	display: none
}

.demo.active {
	display: block
}

.reset {
	background: none;
	border: 0;
	text-decoration: underline;
	color: var(--accent);
	font-size: 12px;
	padding: 6px 0;
	margin-top: 8px;
	display: none
}

.reset.active {
	display: block
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0)
}

@media ( max-width :860px) {
	.trv_hp_disable_nav {
		display: none;
	}
}

@media ( max-width :720px) {
	.header {
		padding: 18px 22px
	}
	nav {
		gap: 17px;
		font-size: 12px
	}
	nav a:last-child {
		display: none
	}
	main {
		padding-top: 38px
	}
	h1 {
		letter-spacing: -1px
	}
	.intro {
		font-size: 15px
	}
	.chat {
		padding: 22px 18px
		
	}
	.chat h2 {
		font-size: 18px
	}
	.category-grid {
		grid-template-columns: repeat(2, 1fr)
	}
	.category:last-child {
		grid-column: 1/-1
	}
	.steps {
		grid-template-columns: 1fr;
		gap: 20px
	}
	.sendrow {
		align-items: flex-end
	}
	.privacy {
		max-width: 380px;
		font-size: 10px
	}
	.primary {
		padding: 10px 12px;
		font-size: 12px
	}
	.trust span {
		margin: 0 5px
	}
	footer {
		flex-direction: column;
		gap: 6px
	}
	
	.brand img {
		height: 30px;
	}
}

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

.trv_hp_content {
	color: var(--muted);
	font: 16px/1.6 Poppins,Arial; 
}

.trv_hp_startpage_round_box {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 20px;
	margin: 20px 0;
}

.trv_hp_startpage_testimonial {
	padding: 60px 30px 40px;
	border: 1px solid var(--line);
	border-radius: 20px;
	margin: 40px 0 20px 0;
	font-size: 16px;
	text-align: center;
	position: relative;
}

.trv_hp_startpage_quote {
	position: absolute;
	top: -15px;
	left: 30px;
	font-size: 45px;
	background: #fff;
  	padding: 0 5px;
}

.trv_hp_startpage_testimonial_contact {
	font-size: 16px;
	margin-top: 40px;
}

.trv_hp_startpage_testimonial_contact img {
	width: 100px;
	border-radius: 50%;
	object-fit: cover;	
}

.trv_hp_startpage_testimonial_contact_data {
	display: inline-table;
	text-align: left;
	margin-left: 20px;
	vertical-align: middle;
}

.trv_hp_content a
{
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	padding: 20px 30px;;
	color: var(--ink);
	align-items: center;
	margin-bottom: 20px;
	width: auto;
	display: inline-block;
}

.trv_hp_content h2 {
	margin-top: 50px;
	margin-bottom: 20px;
	color: #000;
}

.trv_hp_nav_menu {
	font-size: 2rem;
}

.header nav a {
	align-content: center;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 5px 0;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 310s slide infinite linear;
  
}

.logos-slide img {
  height: 40px;
  margin: 0 40px;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}

.trv_hp_starpage_slider {
	width: 100%;
	position: fixed;
	bottom: 0px;
	left: 0;
	background: white;
	border-top: 1px solid var(--line);
	padding-top: 10px;
}

.trv_hp_overlay {
	position: fixed !important;
} 

.trv_hp_tia_waiting_container {
	background-color: #f5f7f9;
	padding: 10px;
	border-radius: 10px;
	align-items: center;
    justify-content: center;
    gap: 4px;
    width: 50px;
    display: none;
    margin-bottom:10px;
}

.trv_hp_tia_waiting_dot {
    border-radius: 50%;
    height: 8px;
    width: 8px;
    background: #999;
    animation: wave 1s infinite;
}

.trv_hp_tia_waiting_dot:nth-child(1) {
    animation-delay: 0.3333s;
}
.trv_hp_tia_waiting_dot:nth-child(2) {
    animation-delay: 0.6666s;
}
.trv_hp_tia_waiting_dot:nth-child(3) {
    animation-delay: 0.9999s;
}

@keyframes wave {
    0% {
        transform: translateY(0px);
        background: rgba(153 153 153 / 0);
    }
    50% {
        transform: translateY(-5px);
        background: rgba(153 153 153 / 0.8);
    }
    100% {
        transform: translateY(0px);
        background: rgba(153 153 153 / 0);
    }
}

.trv_hp_tia_input_send, .trv_hp_tia_microphon {
	font-size: 40px;
	cursor: pointer;
	color: var(--accent); 
	margin-left: 20px;
	align-content: center;
	vertical-align: middle;
}

.trv_hp_tia_microphon {
	color: #000;	
	font-size: 26px;
	display: none;
}

.trv_hp_tia_input_send:hover, .trv_hp_tia_microphon:hover {
	color: #66a4d6;
}

.trv_hp_mic_visualiser {
	position: absolute;
	bottom:0;
	left:0;
	right: 0;	
	background: #fff;
	border-radius: 0;
	border: 0;
	width: 100%;
}

.trv_hp_transcription_wait {
	position: absolute;
	background: #3d4750;
	border-radius: 20px;
	top:0;
	left:0;
	right: 10px;
	bottom:0;
	z-index: 2;
	display: none;
	align-content: center;
	text-align: center;
	color: #aaa;
}

.trv_hp_tia_answer ul, .trv_hp_tia_answer ol {
	white-space: normal;
	margin: 10px 0;
}

.trv_hp_button_bar {
	text-align: right;
	margin-top: 5px;
	white-space: nowrap;
}

.trv_hp_tia_audio_transcribe, .trv_hp_tia_audio_cancel {
	position: absolute;
	bottom: 0px;
	right: 0px;
	font-size: 40px;
	cursor: pointer;
	color: #aad59f;
}

.trv_hp_tia_audio_cancel {
	color: #ff868e;
}

.trv_hp_transcription_wait {
	position: absolute;
	background: #fff;
	top:0;
	left:0;
	right: 0;
	bottom:0;
	z-index: 2;
	display: none;
	align-content: center;
	text-align: center;
	color: #aaa;
	border-radius: 0;
}
